Imports #
"errors"
"hash"
"internal/byteorder"
"math/bits"
"errors"
"hash"
"internal/byteorder"
"math/bits"
const magic128 = "fnv\x05"
const magic128a = "fnv\x06"
const magic32 = "fnv\x01"
const magic32a = "fnv\x02"
const magic64 = "fnv\x03"
const magic64a = "fnv\x04"
const marshaledSize128 = *ast.BinaryExpr
const marshaledSize32 = *ast.BinaryExpr
const marshaledSize64 = *ast.BinaryExpr
const offset128Higher = 0x6c62272e07bb0142
const offset128Lower = 0x62b821756295c58d
const offset32 = 2166136261
const offset64 = 14695981039346656037
const prime128Lower = 0x13b
const prime128Shift = 24
const prime32 = 16777619
const prime64 = 1099511628211
type sum128 [2]uint64
type sum128a [2]uint64
type sum32 uint32
type sum32a uint32
type sum64 uint64
type sum64a uint64
func (s *sum128a) AppendBinary(b []byte) ([]byte, error)
func (s *sum128) AppendBinary(b []byte) ([]byte, error)
func (s *sum64a) AppendBinary(b []byte) ([]byte, error)
func (s *sum64) AppendBinary(b []byte) ([]byte, error)
func (s *sum32a) AppendBinary(b []byte) ([]byte, error)
func (s *sum32) AppendBinary(b []byte) ([]byte, error)
func (s *sum32) BlockSize() int
func (s *sum128a) BlockSize() int
func (s *sum128) BlockSize() int
func (s *sum64a) BlockSize() int
func (s *sum64) BlockSize() int
func (s *sum32a) BlockSize() int
func (s *sum32) MarshalBinary() ([]byte, error)
func (s *sum32a) MarshalBinary() ([]byte, error)
func (s *sum128a) MarshalBinary() ([]byte, error)
func (s *sum128) MarshalBinary() ([]byte, error)
func (s *sum64a) MarshalBinary() ([]byte, error)
func (s *sum64) MarshalBinary() ([]byte, error)
New128 returns a new 128-bit FNV-1 [hash.Hash]. Its Sum method will lay the value out in big-endian byte order.
func New128() hash.Hash
New128a returns a new 128-bit FNV-1a [hash.Hash]. Its Sum method will lay the value out in big-endian byte order.
func New128a() hash.Hash
New32 returns a new 32-bit FNV-1 [hash.Hash]. Its Sum method will lay the value out in big-endian byte order.
func New32() hash.Hash32
New32a returns a new 32-bit FNV-1a [hash.Hash]. Its Sum method will lay the value out in big-endian byte order.
func New32a() hash.Hash32
New64 returns a new 64-bit FNV-1 [hash.Hash]. Its Sum method will lay the value out in big-endian byte order.
func New64() hash.Hash64
New64a returns a new 64-bit FNV-1a [hash.Hash]. Its Sum method will lay the value out in big-endian byte order.
func New64a() hash.Hash64
func (s *sum128) Reset()
func (s *sum32) Reset()
func (s *sum32a) Reset()
func (s *sum64) Reset()
func (s *sum64a) Reset()
func (s *sum128a) Reset()
func (s *sum64) Size() int
func (s *sum64a) Size() int
func (s *sum128a) Size() int
func (s *sum128) Size() int
func (s *sum32) Size() int
func (s *sum32a) Size() int
func (s *sum64a) Sum(in []byte) []byte
func (s *sum128) Sum(in []byte) []byte
func (s *sum128a) Sum(in []byte) []byte
func (s *sum64) Sum(in []byte) []byte
func (s *sum32a) Sum(in []byte) []byte
func (s *sum32) Sum(in []byte) []byte
func (s *sum32a) Sum32() uint32
func (s *sum32) Sum32() uint32
func (s *sum64a) Sum64() uint64
func (s *sum64) Sum64() uint64
func (s *sum32) UnmarshalBinary(b []byte) error
func (s *sum32a) UnmarshalBinary(b []byte) error
func (s *sum64) UnmarshalBinary(b []byte) error
func (s *sum64a) UnmarshalBinary(b []byte) error
func (s *sum128) UnmarshalBinary(b []byte) error
func (s *sum128a) UnmarshalBinary(b []byte) error
func (s *sum64) Write(data []byte) (int, error)
func (s *sum32a) Write(data []byte) (int, error)
func (s *sum32) Write(data []byte) (int, error)
func (s *sum64a) Write(data []byte) (int, error)
func (s *sum128) Write(data []byte) (int, error)
func (s *sum128a) Write(data []byte) (int, error)
Generated with Arrow