#include <hash.h>
List of all members.
Detailed Description
Definition at line 1145 of file hash.h.
Member Function Documentation
Definition at line 1147 of file hash.h.
{
unsigned int hash = 5381;
for(unsigned int i = 0; i < Len; Str++, i++) {
hash = ((hash << 5) + hash) + (*Str); }
return hash;
}
Definition at line 1154 of file hash.h.
{
const char *r = p; while (*r) { r++; }
return (int) DJBHash((const char *) p, r - p) & 0x7fffffff; }
Definition at line 1157 of file hash.h.
{
const char *r = p; while (*r) { r++; }
return (int) DJBHash((const char *) p, r - p) & 0x7fffffff; }
The documentation for this class was generated from the following file: