var runtime.hashkey
13 uses
runtime (current package)
alg.go#L326: var hashkey [4]uintptr
alg.go#L341: getRandomData((*[len(hashkey) * sys.PtrSize]byte)(unsafe.Pointer(&hashkey))[:])
alg.go#L342: hashkey[0] |= 1 // make sure these numbers are odd
alg.go#L343: hashkey[1] |= 1
alg.go#L344: hashkey[2] |= 1
alg.go#L345: hashkey[3] |= 1
hash64.go#L24: h := uint64(seed + s*hashkey[0])
hash64.go#L53: v2 := uint64(seed * hashkey[1])
hash64.go#L54: v3 := uint64(seed * hashkey[2])
hash64.go#L55: v4 := uint64(seed * hashkey[3])
hash64.go#L82: h := uint64(seed + 4*hashkey[0])
hash64.go#L94: h := uint64(seed + 8*hashkey[0])
![]() |
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. |