Searched refs:FACTOR (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/sh/
H A Dhash.c38 #define FACTOR 035761254233 /* Magic multiplication factor */ macro
49 #define hash(str) (int)(((unsigned)(crunch(str) * FACTOR)) >> shift)
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dhsearch.c94 # define FACTOR 035761254233 /* Magic multiplication factor */ macro
472 return ((int) (((unsigned) (crunch(key) * FACTOR)) >> SHIFT));
488 return ((int) (((unsigned) ((crunch(key) * FACTOR) << m) >> SHIFT) | 1));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dhsearch.c103 #define FACTOR 035761254233 /* Magic multiplication factor */ macro
496 return ((int)(((unsigned)(crunch(key) * FACTOR)) >> SHIFT));
508 return (((unsigned int)((crunch(key) * FACTOR) << m) >> SHIFT) | 1);

Completed in 63 milliseconds