Documentation ¶
Overview ¶
Package ghash provides some popular hash functions(uint32/uint64) in go.
常用的hash函数.
Index ¶
- func APHash(str []byte) uint32
- func APHash64(str []byte) uint64
- func BKDRHash(str []byte) uint32
- func BKDRHash64(str []byte) uint64
- func DJBHash(str []byte) uint32
- func DJBHash64(str []byte) uint64
- func ELFHash(str []byte) uint32
- func ELFHash64(str []byte) uint64
- func JSHash(str []byte) uint32
- func JSHash64(str []byte) uint64
- func PJWHash(str []byte) uint32
- func PJWHash64(str []byte) uint64
- func RSHash(str []byte) uint32
- func RSHash64(str []byte) uint64
- func SDBMHash(str []byte) uint32
- func SDBMHash64(str []byte) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.