Searched defs:BlockHash (Results 1 - 2 of 2) sorted by relevance

/external/chromium/sdch/open-vcdiff/src/
H A Dblockhash.h36 // entry in the BlockHash corresponding to each kBlockSize bytes
46 class BlockHash { class in namespace:open_vcdiff
58 // for a new BlockHash. However, it also doubles the minimum
101 // of the BlockHash for which the match was found.
114 // A BlockHash is created using a buffer of source data. The hash table
123 BlockHash(const char* source_data, size_t source_size, int starting_offset);
125 ~BlockHash();
128 // This method must be called after constructing a BlockHash object,
137 // classes that inherit from BlockHash are expected to call AddBlock()
142 // In the context of the open-vcdiff encoder, BlockHash i
[all...]
H A Dblockhash.cc28 BlockHash::BlockHash(const char* source_data, function in class:open_vcdiff::BlockHash
38 BlockHash::~BlockHash() { }
43 COMPILE_ASSERT(BlockHash::kBlockSize >= 2, kBlockSize_must_be_at_least_2);
52 COMPILE_ASSERT((BlockHash::kBlockSize & (BlockHash::kBlockSize - 1)) == 0,
55 bool BlockHash::Init(bool populate_hash_table) {
59 LOG(DFATAL) << "Init() called twice for same BlockHash object" << LOG_ENDL;
80 const BlockHash* BlockHas
[all...]

Completed in 58 milliseconds