OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:BlockHash
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/sdch/open-vcdiff/src/
blockhash.h
36
// entry in the
BlockHash
corresponding to each kBlockSize bytes
46
class
BlockHash
{
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
is used for tw
[
all
...]
blockhash.cc
17
#include "
blockhash
.h"
29
BlockHash
::
BlockHash
(const char* source_data,
39
BlockHash
::~
BlockHash
() { }
44
VCD_COMPILE_ASSERT(
BlockHash
::kBlockSize >= 2, kBlockSize_must_be_at_least_2);
53
VCD_COMPILE_ASSERT((
BlockHash
::kBlockSize & (
BlockHash
::kBlockSize - 1)) == 0,
56
bool
BlockHash
::Init(bool populate_hash_table) {
60
VCD_DFATAL << "Init() called twice for same
BlockHash
object" << VCD_ENDL
[
all
...]
Completed in 97 milliseconds