Lines Matching refs:incr
220 unsigned int incr = 1 + (hashcodes[j] % (hashsize - 2));
225 idx += incr;
231 frequently if gcd(hashsize,incr) > 1. Try next
244 /* If for any incr between 1 and hashsize - 2, an whole round
245 (idx0, idx0 + incr, ...) is occupied, and the lookup function
250 unsigned int incr;
252 /* Since the set { idx0, idx0 + incr, ... } depends only on idx0
253 and gcd(hashsize,incr), we only need to conside incr that
255 for (incr = 1; incr <= hashsize / 2; incr++)
256 if ((hashsize % incr) == 0)
260 for (idx0 = 0; idx0 < incr; idx0++)
265 for (idx = idx0; idx < hashsize; idx += incr)
331 unsigned int incr = 1 + (hashcode % (hashsize - 2));
334 idx += incr;
478 fprintf (stream, " int incr = ((hash_val %% %d) + 1) << 1;\n",
481 fprintf (stream, " idx += incr;\n");