OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:best_match
(Results
1 - 20
of
20
) sorted by null
/external/chromium/sdch/open-vcdiff/src/
vcdiffengine.cc
88
// it will populate
best_match
with the size, source offset,
90
BlockHash::Match
best_match
;
local
97
&
best_match
);
105
&
best_match
);
107
if (!ShouldGenerateCopyInstructionForMatchOfSize(
best_match
.size())) {
110
if (
best_match
.target_offset() > 0) {
114
coder->Add(unencoded_target_start,
best_match
.target_offset());
116
coder->Copy(
best_match
.source_offset(),
best_match
.size());
117
return
best_match
.target_offset() // ADD siz
[
all
...]
blockhash.h
147
// 1. The
best_match
->source_offset() returned from FindBestMatch()
151
// starting_offset_ to any
best_match
->source_offset() value it returns,
225
// of
best_match
, this function populates *
best_match
with the
227
//
best_match
->source_offset() will contain the index of the start of the
230
//
best_match
->target_offset() will contain the offset of the match
232
// 0 <=
best_match
->target_offset()
234
// and
best_match
->size() will contain the size of the match.
235
// If no such match is found, this function leaves *
best_match
unmodified.
237
// On calling FindBestMatch(),
best_match
mus
[
all
...]