MCPcopy Create free account
hub / github.com/cortexproject/cortex / hashNew

Function hashNew

pkg/ingester/client/fnv.go:27–29  ·  view source on GitHub ↗

hashNew initializes a new fnv64a hash value.

()

Source from the content-addressed store, hash-verified

25
26// hashNew initializes a new fnv64a hash value.
27func hashNew() uint64 {
28 return offset64
29}
30
31// hashAdd adds a string to a fnv64a hash value, returning the updated hash.
32// Note this is the same algorithm as Go stdlib `sum64a.Write()`

Callers 1

FastFingerprintFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected