Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/upper/db
/ InitHash
Function
InitHash
internal/cache/hash.go:31–33 ·
view source on GitHub ↗
(t uint64)
Source
from the content-addressed store, hash-verified
29
}
30
31
func
InitHash(t uint64) uint64 {
32
return
fnv1a.AddUint64(fnv1a.Init64, t)
33
}
34
35
func
NewHash(t uint64, in ...
interface
{}) uint64 {
36
return
AddToHash(InitHash(t), in...)
Callers
8
Hash
Method · 0.92
Hash
Method · 0.92
Hash
Method · 0.92
Hash
Method · 0.92
Hash
Method · 0.92
Hash
Method · 0.92
Hash
Method · 0.92
NewHash
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…