Searched refs:hashMask (Results 1 – 6 of 6) sorted by relevance
81 unsigned hashMask) { in count_collisions() argument87 int index = proc(array[i]) & hashMask; in count_collisions()121 int hashMask = ((1 << hashBits) - 1); in onDraw() local129 collisions += count_collisions(array, count, gRec[i].fHasher, hashMask); in onDraw()
145 TextIdx hashMask = (1u << hashLen) - 1u; in sieve_generate() local154 hash = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in sieve_generate()160 hash = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in sieve_generate()193 hash ^= ((v << lShiftX) | (v >> rShiftX)) & hashMask; in sieve_generate()
283 TextIdx hashMask = (1u << hashLen) - 1u; in durchschlag_prepare() local290 hash = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in durchschlag_prepare()302 TextIdx bucket = (((hash << lShift) | (hash >> rShift)) & hashMask) ^ v; in durchschlag_prepare()304 hash = bucket ^ (((v << lShiftX) | (v >> rShiftX)) & hashMask); in durchschlag_prepare()
277 uint32_t hashMask() const { return fCapacity - 1; } in hashMask() function280 return Hash(key) & this->hashMask(); in firstIndex()286 return (index + round + 1) & this->hashMask(); in nextIndex()
60 long hashMask = (~0L) >>> (64 - hashBits); in generate() local79 long h = (accumulator & hashMask) * HASH_MULTIPLIER; in generate()