Lines Matching refs:hint
54 primeForNumBits(n) >= hint.
56 static int countBits(int hint)
59 int bits = hint;
68 } else if (primeForNumBits(numBits) < hint) {
126 static void cso_data_rehash(struct cso_hash_data *hash, int hint)
128 if (hint < 0) {
129 hint = countBits(-hint);
130 if (hint < MinNumBits)
131 hint = MinNumBits;
132 hash->userNumBits = (short)hint;
133 while (primeForNumBits(hint) < (hash->size >> 1))
134 ++hint;
135 } else if (hint < MinNumBits) {
136 hint = MinNumBits;
139 if (hash->numBits != hint) {
145 hash->numBits = (short)hint;
146 hash->numBuckets = primeForNumBits(hint);