const compress/flate.hashBits
6 uses
compress/flate (current package)
deflate.go#L52: hashBits = 17 // After 17 performance degrades
deflate.go#L53: hashSize = 1 << hashBits
deflate.go#L54: hashMask = (1 << hashBits) - 1
deflate.go#L299: return ((uint32(b[3]) | uint32(b[2])<<8 | uint32(b[1])<<16 | uint32(b[0])<<24) * hashmul) >> (32 - hashBits)
deflate.go#L309: dst[0] = (hb * hashmul) >> (32 - hashBits)
deflate.go#L313: dst[i] = (hb * hashmul) >> (32 - hashBits)
![]() |
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. |