- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for bucketMask (0.15 sec)
-
src/runtime/map.go
func bucketShift(b uint8) uintptr { // Masking the shift amount allows overflow checks to be elided. return uintptr(1) << (b & (goarch.PtrSize*8 - 1)) } // bucketMask returns 1<<b - 1, optimized for code generation. func bucketMask(b uint8) uintptr { return bucketShift(b) - 1 } // tophash calculates the tophash value for hash. func tophash(hash uintptr) uint8 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 57.6K bytes - Viewed (0)