math/rand/v2.Source.Uint64 (method)
7 uses
math/rand/v2 (current package)
rand.go#L30: Uint64() uint64
rand.go#L45: func (r *Rand) Int64() int64 { return int64(r.src.Uint64() &^ (1 << 63)) }
rand.go#L48: func (r *Rand) Uint32() uint32 { return uint32(r.src.Uint64() >> 32) }
rand.go#L51: func (r *Rand) Uint64() uint64 { return r.src.Uint64() }
rand.go#L54: func (r *Rand) Int32() int32 { return int32(r.src.Uint64() >> 33) }
rand.go#L57: func (r *Rand) Int() int { return int(uint(r.src.Uint64()) << 1 >> 1) }
rand.go#L60: func (r *Rand) Uint() uint { return uint(r.src.Uint64()) }
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |