Home | History | Annotate | Download | only in src

Lines Matching refs:Hash

110         result_array[i] = hasher.Hash(&buffer[i]);
120 uint32_t running_hash = hasher.Hash(buffer);
144 uint32_t running_hash = hasher.Hash(buffer_);
146 // UpdateHash() calculates the hash value incrementally.
150 // Hash() calculates the hash value from scratch. Verify that both
151 // methods return the same hash value.
152 EXPECT_EQ(running_hash, hasher.Hash(&buffer_[i + 1 - kBlockSize]));
158 // Execution time is expected to be O(kBlockSize) per hash operation,
170 // Execution time is expected to be O(1) per hash operation,