• Home
  • Raw
  • Download

Lines Matching refs:BlockHash

28 BlockHash::BlockHash(const char* source_data,  in BlockHash()  function in open_vcdiff::BlockHash
38 BlockHash::~BlockHash() { } in ~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) { in Init()
80 const BlockHash* BlockHash::CreateDictionaryHash(const char* dictionary_data, in CreateDictionaryHash()
82 BlockHash* new_dictionary_hash = new BlockHash(dictionary_data, in CreateDictionaryHash()
93 BlockHash* BlockHash::CreateTargetHash(const char* target_data, in CreateTargetHash()
96 BlockHash* new_target_hash = new BlockHash(target_data, in CreateTargetHash()
108 size_t BlockHash::CalcTableSize(const size_t dictionary_size) { in CalcTableSize()
152 void BlockHash::AddBlock(uint32_t hash_value) { in AddBlock()
199 void BlockHash::AddAllBlocks() { in AddAllBlocks()
203 void BlockHash::AddAllBlocksThroughIndex(int end_index) { in AddAllBlocksThroughIndex()
234 COMPILE_ASSERT((BlockHash::kBlockSize % sizeof(uword_t)) == 0,
271 static const size_t kWordsPerBlock = BlockHash::kBlockSize / sizeof(uword_t); in BlockCompareWordsInline()
275 bool BlockHash::BlockCompareWords(const char* block1, const char* block2) { in BlockCompareWords()
289 return memcmp(block1, block2, BlockHash::kBlockSize) == 0; in BlockContentsMatchInline()
293 bool BlockHash::BlockContentsMatch(const char* block1, const char* block2) { in BlockContentsMatch()
297 inline int BlockHash::SkipNonMatchingBlocks(int block_number, in SkipNonMatchingBlocks()
314 inline int BlockHash::FirstMatchingBlockInline(uint32_t hash_value, in FirstMatchingBlockInline()
320 int BlockHash::FirstMatchingBlock(uint32_t hash_value, in FirstMatchingBlock()
325 int BlockHash::NextMatchingBlock(int block_number, in NextMatchingBlock()
340 inline bool BlockHash::TooManyMatches(int* match_counter) { in TooManyMatches()
349 int BlockHash::MatchingBytesToLeft(const char* source_match_start, in MatchingBytesToLeft()
370 int BlockHash::MatchingBytesToRight(const char* source_match_end, in MatchingBytesToRight()
391 void BlockHash::FindBestMatch(uint32_t hash_value, in FindBestMatch()