Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ hash
Method
hash
internal/utils/counters/counter.go:202–204 ·
view source on GitHub ↗
calculate hash of the key
(key string)
Source
from the content-addressed store, hash-verified
200
201
// calculate hash of the key
202
func
(this *Counter[T]) hash(key string) uint64 {
203
return
xxhash.Sum64String(key)
204
}
Callers
3
IncreaseKey
Method · 0.95
GetKey
Method · 0.95
ResetKey
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected