package
Version:
v0.3.24
Opens a new window with list of versions in this module.
Published: Jun 28, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package fastrand implements fast pesudorandom number generator
that should scale well on multi-CPU systems.
Use crypto/rand instead of this package for generating
cryptographically secure random numbers.
Uint32 returns pseudorandom uint32.
It is safe calling this function from concurrent goroutines.
Uint32n returns pseudorandom uint32 in the range [0..maxN).
It is safe calling this function from concurrent goroutines.
RNG is a pseudorandom number generator.
It is unsafe to call RNG methods from concurrent goroutines.
Uint32 returns pseudorandom uint32.
It is unsafe to call this method from concurrent goroutines.
Uint32n returns pseudorandom uint32 in the range [0..maxN).
It is unsafe to call this method from concurrent goroutines.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.