MCPcopy 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
31func InitHash(t uint64) uint64 {
32 return fnv1a.AddUint64(fnv1a.Init64, t)
33}
34
35func NewHash(t uint64, in ...interface{}) uint64 {
36 return AddToHash(InitHash(t), in...)

Callers 8

HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
NewHashFunction · 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…