Documentation ¶
Index ¶
- Constants
- func AddString32(h uint32, s string) uint32
- func AddString64(h uint64, s string) uint64
- func AddUint32(h, u uint32) uint32
- func AddUint64(h uint64, u uint64) uint64
- func HashString32(s string) uint32
- func HashString64(s string) uint64
- func HashUint32(u uint32) uint32
- func HashUint64(u uint64) uint64
Constants ¶
View Source
const (
// Init32 is what 32 bits hash values should be initialized with.
Init32 = offset32
)
View Source
const (
// Init64 is what 64 bits hash values should be initialized with.
Init64 = offset64
)
Variables ¶
This section is empty.
Functions ¶
func AddString32 ¶
AddString32 adds the hash of s to the precomputed hash value h.
func AddString64 ¶
AddString64 adds the hash of s to the precomputed hash value h.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.