Source File
sum64uint.go
Belonging Package
github.com/parquet-go/parquet-go/bloom/xxhash
package xxhashfunc ( uint8) uint64 {:= prime5 + 1^= uint64() * prime5return avalanche(rol11() * prime1)}func ( uint16) uint64 {:= prime5 + 2^= uint64(&0xFF) * prime5= rol11() * prime1^= uint64(>>8) * prime5= rol11() * prime1return avalanche()}func ( uint32) uint64 {:= prime5 + 4^= uint64() * prime1return avalanche(rol23()*prime2 + prime3)}func ( uint64) uint64 {:= prime5 + 8^= round(0, )return avalanche(rol27()*prime1 + prime4)}func ( [16]byte) uint64 {:= prime5 + 16^= round(0, u64([:8]))= rol27()*prime1 + prime4^= round(0, u64([8:]))= rol27()*prime1 + prime4return avalanche()}
![]() |
The pages are generated with Golds v0.8.2. (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. |