package
Version:
v0.0.0-...-a152fe2
Opens a new window with list of versions in this module.
Published: Jul 28, 2024
License: GPL-3.0
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.
Seed sets the r state to n.
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.