Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HashStringSeed ¶
HashStringSeed returns the hash of the string slice with given seed.
Types ¶
type Hasher ¶
type Hasher struct {
// contains filtered or unexported fields
}
Hasher implements the hash.Hash interface
func (*Hasher) BlockSize ¶
BlockSize returns the hash's underlying block size. The Write method will accept any amount of data, but it may operate more efficiently if all writes are a multiple of the block size.
func (*Hasher) Sum ¶
Sum appends the current hash to b and returns the resulting slice. It does not change the underlying hash state.
type Uint128 ¶
type Uint128 struct {
Hi, Lo uint64
}
Uint128 is a 128 bit value. The actual value can be thought of as u.Hi<<64 | u.Lo.
func Hash128Seed ¶
Hash128Seed returns the 128-bit hash of the byte slice.
func HashString128 ¶
HashString128 returns the 128-bit hash of the string slice.
func HashString128Seed ¶
HashString128Seed returns the 128-bit hash of the string slice.