Home
last modified time | relevance | path

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

/external/chromium/sdch/open-vcdiff/src/
Dblockhash_test.cc38 th_.reset(BlockHash::CreateTargetHash(sample_text, strlen(sample_text), 0)); in BlockHashTest()
40 EXPECT_TRUE(th_.get() != NULL); in BlockHashTest()
236 std::auto_ptr<BlockHash> th_; // hash table not populated; member in open_vcdiff::BlockHashTest
544 EXPECT_EQ(-1, FirstMatchingBlock(*th_, hashed_y, test_string_y)); in TEST_F()
549 th_->AddOneIndexHash(i, RollingHash<kBlockSize>::Hash(&sample_text[i])); in TEST_F()
551 EXPECT_EQ(block_of_y_in_only, FirstMatchingBlock(*th_, hashed_y, in TEST_F()
553 EXPECT_EQ(-1, NextMatchingBlock(*th_, block_of_y_in_only, test_string_y)); in TEST_F()
604 th_->AddAllBlocksThroughIndex(index_of_fourth_e); in TEST_F()
605 EXPECT_EQ(block_of_first_e, FirstMatchingBlock(*th_, hashed_e, in TEST_F()
607 EXPECT_EQ(block_of_second_e, NextMatchingBlock(*th_, block_of_first_e, in TEST_F()
[all …]