Searched refs:FACTOR (Results 1 – 2 of 2) sorted by relevance
35 #define FACTOR 035761254233 /* Magic multiplication factor */ macro46 #define hash(str) (int)(((unsigned)(crunch(str) * FACTOR)) >> shift)
103 #define FACTOR 035761254233 /* Magic multiplication factor */ macro496 return ((int)(((unsigned)(crunch(key) * FACTOR)) >> SHIFT)); in hashm()508 return (((unsigned int)((crunch(key) * FACTOR) << m) >> SHIFT) | 1); in hash2m()