Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTestRandSeed = 0xCAFE
Variables ¶
This section is empty.
Functions ¶
func TestRandSource ¶
TestRandSource creates a new rand.Source for use in tests and benchmarks. It uses a hash of the environment variable TEST_RAND_SEED as the seed if present, or DefaultTestRandSeed otherwise. If t is non-nil, its Name is hashed and mixed into the seed value, so that different tests will get different random values.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package accumulator implements helper types for iterative computations.
|
Package accumulator implements helper types for iterative computations. |
Package broadcast implements concurrency utilities that broadcast to many receivers at once, unlike normal channels where only a single receiver gets each value.
|
Package broadcast implements concurrency utilities that broadcast to many receivers at once, unlike normal channels where only a single receiver gets each value. |
Click to show internal directories.
Click to hide internal directories.