Home | History | Annotate | Download | only in src

Lines Matching refs:Hash

147     hashed_y = RollingHash<kBlockSize>::Hash(test_string_y);
148 hashed_e = RollingHash<kBlockSize>::Hash(test_string_e);
150 RollingHash<kBlockSize>::Hash(&search_string[index_of_f_in_fearsome]);
151 hashed_unaligned_e = RollingHash<kBlockSize>::Hash(test_string_unaligned_e);
152 hashed_all_Qs = RollingHash<kBlockSize>::Hash(test_string_all_Qs);
235 std::auto_ptr<const BlockHash> dh_; // hash table is populated at startup
236 std::auto_ptr<BlockHash> th_; // hash table not populated;
532 // for two blocks whose hash values match, and the two most important
549 th_->AddOneIndexHash(i, RollingHash<kBlockSize>::Hash(&sample_text[i]));
600 // Add hash values only for those characters before the fourth instance
775 th2.Init(true); // hash all blocks
792 // Hash the "i" in "fear itself"
793 uint32_t hash_value = RollingHash<kBlockSize>::Hash(
806 // Hash the "i" in "fear itself"
807 uint32_t hash_value = RollingHash<kBlockSize>::Hash(
827 // Hash the " a" at the beginning of the search string "ababc"
829 RollingHash<kBlockSize>::Hash(search_string_many_matches);
845 // Tweak the collision string so that it has the same hash value
847 // should be " f", and the bytes given below have the same hash value
854 EXPECT_EQ(hashed_f, RollingHash<kBlockSize>::Hash(fearsome_location));