HomeSort by relevance Sort by last modified time
    Searched refs:NearAddress (Results 1 - 3 of 3) sorted by null

  /external/chromium/sdch/open-vcdiff/src/
addrcache.h 124 return NearAddress(mode - FirstNearMode()) + encoded_address;
145 VCDAddress NearAddress(int pos) const {
addrcache_test.cc 214 EXPECT_EQ(0, cache_.NearAddress(test_address));
229 EXPECT_EQ(9, cache_.NearAddress(0)); // slot 0: 1 => 5 => 9
230 EXPECT_EQ(10, cache_.NearAddress(1)); // slot 1: 2 => 6 => 10
231 EXPECT_EQ(7, cache_.NearAddress(2)); // slot 2: 3 => 7
232 EXPECT_EQ(8, cache_.NearAddress(3)); // slot 3: 4 => 8
244 EXPECT_EQ(INT_MAX, cache_.NearAddress(0));
addrcache.cc 198 const VCDAddress near_encoded_address = address - NearAddress(i);

Completed in 30 milliseconds