Yasm Assembler mainline development tree
(ffmpeg 依赖)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/* Modified for use with yasm by Peter Johnson.
|
|
|
|
* $Id$
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
By Bob Jenkins, September 1996.
|
|
|
|
lookupa.h, a hash function for table lookup, same function as lookup.c.
|
|
|
|
Use this code in any way you wish. Public Domain. It has no warranty.
|
|
|
|
Source is http://burtleburtle.net/bob/c/lookupa.h
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
unsigned long phash_lookup(const char *k, unsigned long length,
|
|
|
|
unsigned long level);
|
|
|
|
void phash_checksum(const char *k, unsigned long length, unsigned long *state);
|