Documentation
¶
Index ¶
- func Bool(c bool) uint32
- func BoolSlice(S []bool) uint32
- func Byte(c byte) uint32
- func ByteSlice(S []byte) uint32
- func Combine(h1 uint32, h2 uint32) uint32
- func Float32(f float32) uint32
- func Float32Slice(S []float32) uint32
- func Float64(f float64) uint32
- func Float64Slice(S []float64) uint32
- func Int(c int) uint32
- func Int16(c int16) uint32
- func Int16Slice(S []int16) uint32
- func Int32(c int32) uint32
- func Int32Slice(S []int32) uint32
- func Int64(c int64) uint32
- func Int64Slice(S []int64) uint32
- func Int8(c int8) uint32
- func Int8Slice(S []int8) uint32
- func IntSlice(S []int) uint32
- func Reuse(h *Hash)
- func String(s string) uint32
- func StringSlice(S []string) uint32
- func Uint(c uint) uint32
- func Uint16(c uint16) uint32
- func Uint16Slice(S []uint16) uint32
- func Uint32(c uint32) uint32
- func Uint32Slice(S []uint32) uint32
- func Uint64(c uint64) uint32
- func Uint64Slice(S []uint64) uint32
- func Uint8(c uint8) uint32
- func Uint8Slice(S []uint8) uint32
- func UintSlice(S []uint) uint32
- type Hash
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float32Slice ¶
Float32Slice returns the hash of the given slice.
func Float64Slice ¶
Float64Slice returns the hash of the given slice.
func StringSlice ¶
StringSlice returns the hash of the given slice.
func Uint16Slice ¶
Uint16Slice returns the hash of the given slice.
func Uint32Slice ¶
Uint32Slice returns the hash of the given slice.
func Uint64Slice ¶
Uint64Slice returns the hash of the given slice.
Types ¶
type Hash ¶
type Hash struct {
// contains filtered or unexported fields
}
Hash defines a hasher. A zero-valued Hash is ready for use. Note that this is NOT intended for cryptographic use.
func (*Hash) BlockSize ¶
BlockSize is irrelevant for a Hash. This is implemented purely to satisfy the hash.Hash interface, and will always return 512.
Click to show internal directories.
Click to hide internal directories.