Documentation ¶
Index ¶
- func FastRand(n int) int
- func ParallelKeys[K comparable, V any](maxp int, p map[K]V, fn func(k K))
- func ParallelVals[K comparable, V any](maxp int, p map[K]V, fn func(k V))
- func RandomBytes() []byte
- func Shuffle(n int, swap func(i, j int))
- func ToFloat32(s string) (float32, error)
- func ToFloat64(s string) (float64, error)
- type Container
- type Pool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParallelKeys ¶
func ParallelKeys[K comparable, V any](maxp int, p map[K]V, fn func(k K))
func ParallelVals ¶
func ParallelVals[K comparable, V any](maxp int, p map[K]V, fn func(k V))
func RandomBytes ¶ added in v1.0.40
func RandomBytes() []byte
Types ¶
Click to show internal directories.
Click to hide internal directories.