Home
last modified time | relevance | path

Searched refs:ModBase (Results 1 – 2 of 2) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/
Drolling_hash.h42 static inline uint32_t ModBase(uint32_t operand) { in ModBase() function
62 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()
Drolling_hash_test.cc34 EXPECT_EQ(operand % kBase, RollingHashUtil::ModBase(operand)); in TestModBase()
37 EXPECT_EQ(0U, RollingHashUtil::ModBase( in TestModBase()