Go stdlib package — hash/maphash. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Bytes()NeutralBytes(seed Seed, b []byte) uint64
Bytes returns the hash of b with the given seed.
.Hash.SetSeed()NeutralHash.SetSeed(seed Seed)
SetSeed sets h to use seed, which must have been returned by MakeSeed
.Hash.Sum()NeutralHash.Sum(b []byte) []byte
Sum appends the hash's current 64-bit value to b.
.Hash.Sum64()NeutralHash.Sum64() uint64
Sum64 returns h's current 64-bit value, which depends on
.Hash.Write()NeutralHash.Write(b []byte) (int, error)
Write adds b to the sequence of bytes hashed by h.
.Hash.WriteByte()NeutralHash.WriteByte(b byte) error
WriteByte adds b to the sequence of bytes hashed by h.
| FQN | Field | |
|---|---|---|
| hash/maphash | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # hash/maphash