Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdRoll/baker
/ targetToInt
Function
targetToInt
examples/advanced/main.go:56–58 ·
view source on GitHub ↗
(r baker.Record)
Source
from the content-addressed store, hash-verified
54
}
55
56
func
targetToInt(r baker.Record) uint64 {
57
return
simpleHash(r, Target)
58
}
59
60
func
simpleHash(r baker.Record, idx baker.FieldIndex) uint64 {
61
f := fnv.New64()
Callers
nothing calls this directly
Calls
1
simpleHash
Function · 0.70
Tested by
no test coverage detected