Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MichaelTJones/pcg
/ functions
Functions
29 in github.com/MichaelTJones/pcg
⨍
Functions
29
◇
Types & classes
2
↓ 21 callers
Method
Random
()
pcg32.go:40
↓ 20 callers
Method
Seed
(state, sequence uint64)
pcg32.go:34
↓ 10 callers
Function
NewPCG32
()
pcg32.go:30
↓ 8 callers
Method
Bounded
(bound uint32)
pcg32.go:51
↓ 8 callers
Function
NewPCG64
()
pcg64.go:24
↓ 4 callers
Method
Retreat
(delta uint64)
pcg32.go:69
↓ 3 callers
Method
Advance
(delta uint64)
pcg32.go:64
↓ 1 callers
Method
Advance
(delta uint64)
pcg64.go:55
↓ 1 callers
Method
Random
()
pcg64.go:38
↓ 1 callers
Method
advanceLCG64
(state, delta, curMult, curPlus uint64)
pcg32.go:73
Function
BenchmarkBounded32
Measure the time it takes to generate bounded random values
pcg32_test.go:121
Function
BenchmarkBounded64
Measure the time it takes to generate bounded random values
pcg64_test.go:121
Function
BenchmarkNew32
BENCHMARKS Measure the time it takes to generate a 32-bit generator
pcg32_test.go:103
Function
BenchmarkNew64
BENCHMARKS Measure the time it takes to generate a 64-bit generator
pcg64_test.go:103
Function
BenchmarkRandom32
Measure the time it takes to generate random values
pcg32_test.go:110
Function
BenchmarkRandom64
Measure the time it takes to generate random values
pcg64_test.go:110
Method
Bounded
(bound uint64)
pcg64.go:42
Function
ExampleReport32
EXAMPLES
pcg32_test.go:138
Function
ExampleReport64
EXAMPLES
pcg64_test.go:138
Method
Retreat
(delta uint64)
pcg64.go:61
Method
Seed
(state1, state2, sequence1, sequence2 uint64)
pcg64.go:28
Function
TestAdvance32
Does advancing work?
pcg32_test.go:62
Function
TestAdvance64
Does advancing work?
pcg64_test.go:62
Function
TestRetreat32
Does retreating work?
pcg32_test.go:81
Function
TestRetreat64
Does retreating work?
pcg64_test.go:81
Function
TestSanity32
TESTS Basic sanity test: is first known value determined properly?
pcg32_test.go:25
Function
TestSanity64
TESTS Basic sanity test: is first known value determined properly?
pcg64_test.go:25
Function
TestSum32
Are the sums of the first few values consistent with expectation?
pcg32_test.go:46
Function
TestSum64
Are the sums of the first few values consistent with expectation?
pcg64_test.go:46