Searched refs:ModBase (Results 1 – 2 of 2) sorted by relevance
42 static inline uint32_t ModBase(uint32_t operand) { in ModBase() function62 return ModBase(uint32_t(0) - operand); in FindModBaseInverse()71 return ModBase((partial_hash * kMult) + next_byte); in HashStep()154 return RollingHashUtil::ModBase(full_hash + remove_table_[first_byte]); in RemoveFirstByteFromHash()202 RollingHashUtil::ModBase(multiplier * RollingHashUtil::kMult); in Init()228 RollingHashUtil::ModBase(byte_times_multiplier + multiplier); in Init()
34 EXPECT_EQ(operand % kBase, RollingHashUtil::ModBase(operand)); in TestModBase()37 EXPECT_EQ(0U, RollingHashUtil::ModBase( in TestModBase()