1 /* Modified for use with yasm by Peter Johnson. */
3 ------------------------------------------------------------------------------
4 By Bob Jenkins, September 1996.
5 lookupa.h, a hash function for table lookup, same function as lookup.c.
6 Use this code in any way you wish. Public Domain. It has no warranty.
7 Source is http://burtleburtle.net/bob/c/lookupa.h
8 ------------------------------------------------------------------------------
16 unsigned long phash_lookup(const char *k, size_t length,
19 void phash_checksum(const char *k, size_t length, unsigned long *state);