Lines Matching refs:hash
23 /* (http://burtleburtle.net/bob/hash/doobs.html) */
27 unsigned long hash = 0;
31 hash += *k++;
32 hash += (hash << 10);
33 hash ^= (hash >> 6);
35 hash += (hash << 3);
36 hash ^= (hash >> 11);
38 return hash + (hash << 15);
44 unsigned long hash = 0;
48 hash += *k++;
49 hash += (hash << 10);
50 hash ^= (hash >> 6);
52 hash += (hash << 3);
53 hash ^= (hash >> 11);
55 return hash + (hash << 15);
82 /* someone might try to alloc a 2^32-element hash table */
83 wxFAIL_MSG( _T("hash table too big?") );