func runtime.fastrand
26 uses
runtime (current package)
alg.go#L68: return c1 * (c0 ^ h ^ uintptr(fastrand())) // any kind of NaN
alg.go#L80: return c1 * (c0 ^ h ^ uintptr(fastrand())) // any kind of NaN
malloc.go#L1262: q := fastrand()%(1<malloc.go#L1280: return uintptr(fastrand() % uint32(2*rate))
map.go#L240: if fastrand()&mask == 0 {
map.go#L294: h.hash0 = fastrand()
map.go#L313: h.hash0 = fastrand()
map.go#L786: h.hash0 = fastrand()
map.go#L832: r := uintptr(fastrand())
map.go#L834: r += uintptr(fastrand()) << 31
map.go#L1003: h.hash0 = fastrand()
map_fast32.go#L350: h.hash0 = fastrand()
map_fast64.go#L352: h.hash0 = fastrand()
map_faststr.go#L375: h.hash0 = fastrand()
mbitmap.go#L969: if arenaIndex(x+size-1) != arenaIdx(h.arena) || (doubleCheck && fastrand()%2 == 0) {
mprof.go#L408: if rate <= 0 || (rate > cycles && int64(fastrand())%rate > cycles) {
mprof.go#L456: if rate > 0 && int64(fastrand())%rate == 0 {
proc.go#L2633: for enum := stealOrder.start(fastrand()); !enum.done(); enum.next() {
proc.go#L5740: if randomizeScheduler && next && fastrand()%2 == 0 {
sema.go#L300: s.ticket = fastrand() | 1
stubs.go#L117: func fastrand() uint32 {
stubs.go#L135: return uint32(uint64(fastrand()) * uint64(n) >> 32)
stubs.go#L139: func sync_fastrand() uint32 { return fastrand() }
stubs.go#L142: func net_fastrand() uint32 { return fastrand() }
stubs.go#L145: func os_fastrand() uint32 { return fastrand() }
symtab.go#L795: ci := fastrand() % uint32(len(cache.entries[x]))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |