MCPcopy Create free account
hub / github.com/upper/db / NewHash

Function NewHash

internal/cache/hash.go:35–37  ·  view source on GitHub ↗
(t uint64, in ...interface{})

Source from the content-addressed store, hash-verified

33}
34
35func NewHash(t uint64, in ...interface{}) uint64 {
36 return AddToHash(InitHash(t), in...)
37}
38
39func AddToHash(h uint64, in ...interface{}) uint64 {
40 for i := range in {

Callers 15

HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92
HashMethod · 0.92

Calls 2

AddToHashFunction · 0.85
InitHashFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…