Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imroc/req
/ fnv
Function
fnv
internal/bisect/bisect.go:714–718 ·
view source on GitHub ↗
(h uint64, x byte)
Source
from the content-addressed store, hash-verified
712
)
713
714
func
fnv(h uint64, x byte) uint64 {
715
h ^= uint64(x)
716
h *= prime64
717
return
h
718
}
719
720
func
fnvString(h uint64, x string) uint64 {
721
for
i := 0; i < len(x); i++ {
Callers
1
Hash
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected