Home
last modified time | relevance | path

Searched defs:pcgRand (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/internal/fuzz/
Dpcg.go39 type pcgRand struct { struct
40 noCopy noCopy // help avoid mistakes: ask vet to ensure that we don't make a copy
41 state uint64
42 inc uint64
75 func (r *pcgRand) step() {
80 func (r *pcgRand) save(randState, randInc *uint64) {
85 func (r *pcgRand) restore(randState, randInc uint64) {
91 func (r *pcgRand) uint32() uint32 {
99 func (r *pcgRand) intn(n int) int {
111 func (r *pcgRand) uint32n(n uint32) uint32 {
[all …]