version 1.5, 2012/07/04 14:53:43
|
version 1.6, 2012/08/29 09:00:44
|
Line 172 inline unsigned int hash_bernstein(const char *csStr,
|
Line 172 inline unsigned int hash_bernstein(const char *csStr,
|
*/ |
*/ |
inline unsigned int hash_jenkins(const char *csStr, int nStrLen); |
inline unsigned int hash_jenkins(const char *csStr, int nStrLen); |
/* |
/* |
|
* hash_jenkins32() - Fast Jenkins hash function |
|
* |
|
* @buf = Input buffer |
|
* @len = Length of buffer |
|
* @prevhash = Previous hash, if participate in continuing hash |
|
* return: Hash value |
|
*/ |
|
unsigned int hash_jenkins32(const unsigned int *buf, int len, unsigned int prevhash); |
|
/* |
* hash_reddragon() - Compute index hash by Red Dragon |
* hash_reddragon() - Compute index hash by Red Dragon |
* |
* |
* @csStr = Input data buffer |
* @csStr = Input data buffer |