internal

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeNofBatches

func ComputeNofBatches(low, high, n int) (batches int)

ComputeNofBatches divides the size of the range (high - low) by n. If n is 0, a default is used that takes runtime.GOMAXPROCS(0) into account.

func WrapPanic

func WrapPanic(p interface{}) interface{}

WrapPanic adds stack trace information to a recovered panic.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL