lookup3.h revision b26fa1a2fbcfee7d03b0c8fd15ec3aa64ae70b9f
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahaniuint32_t jenkins_hashword(const uint32_t *k, size_t length, uint32_t initval) _pure_;
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahanivoid jenkins_hashword2(const uint32_t *k, size_t length, uint32_t *pc, uint32_t *pb);
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahaniuint32_t jenkins_hashlittle(const void *key, size_t length, uint32_t initval) _pure_;
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahanivoid jenkins_hashlittle2(const void *key, size_t length, uint32_t *pc, uint32_t *pb);
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahaniuint32_t jenkins_hashbig(const void *key, size_t length, uint32_t initval) _pure_;
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahanistatic inline uint64_t hash64(const void *data, size_t length) {
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani return ((uint64_t) a << 32ULL) | (uint64_t) b;