Home | History | Annotate | Download | only in src

Lines Matching refs:Match

50   // Using (for example) kBlockSize = 4 guarantees that no match smaller
59 // match length that is guaranteed to be found in FindBestMatch(),
76 // This class is used to store the best match found by FindBestMatch()
78 class Match {
80 Match() : size_(0), source_offset_(-1), target_offset_(-1) { }
97 // The size of the best (longest) match passed to ReplaceIfBetterMatch().
100 // The source offset of the match, including the starting_offset_
101 // of the BlockHash for which the match was found.
104 // The target offset of the match. An offset of 0 corresponds to the
110 Match(const Match&); // NOLINT
111 void operator=(const Match&);
214 // the match both below and above the target block. It cannot expand
215 // the match outside the bounds of the source data, or below
220 // target data for which a match will be sought, while
224 // If a match is found whose size is greater than the size
226 // size, source_offset, and target_offset of the match found.
230 // best_match->target_offset() will contain the offset of the match
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.
238 // point to a valid Match object, and cannot be NULL.
239 // The same Match object can be passed
242 // the best match possible across both objects. For example:
244 // open_vcdiff::BlockHash::Match best_match;
258 // // a match was found; its size, source offset, and target offset
286 // this match backwards by one byte, and the end of the match forwards
287 // by one byte, finding that the best match is " LLOYD"
298 Match* best_match) const;
312 // the match forwards and backwards up to the number of source bytes.
379 // executed. Returns a boolean (do the blocks match?) rather than
393 // that represents a match for the given hash value.
394 // Returns -1 if no match was found.
409 // Returns -1 if no match was found.
419 // (for which the lowest bits of the fingerprints match,
421 // the first true match found, or -1 if no true match was found.
427 // that match the corresponding bytes to the left of target_match_start.
435 // that match the corresponding bytes starting at target_match_end.
474 // lists, so that the match with the lowest index is returned first. This