Home
last modified time | relevance | path

Searched refs:newMatchIndex (Results 1 - 1 of 1) sorted by relevance

/third_party/lz4/lib/
H A Dlz4hc.c379 U32 const newMatchIndex = matchCandidateIdx + (U32)forwardPatternLength - (U32)srcPatternLength; /* best position, full pattern, might be followed by more match */ in LZ4HC_InsertAndGetWiderMatch() local
380 if (LZ4HC_protectDictEnd(prefixIdx, newMatchIndex)) in LZ4HC_InsertAndGetWiderMatch()
381 matchIndex = newMatchIndex; in LZ4HC_InsertAndGetWiderMatch()
384 assert(newMatchIndex >= prefixIdx - 3 && newMatchIndex < prefixIdx && !extDict); in LZ4HC_InsertAndGetWiderMatch()
388 U32 const newMatchIndex = matchCandidateIdx - (U32)backLength; /* farthest position in current segment, will find a match of length currentSegmentLength + maybe some back */ in LZ4HC_InsertAndGetWiderMatch() local
389 if (!LZ4HC_protectDictEnd(prefixIdx, newMatchIndex)) { in LZ4HC_InsertAndGetWiderMatch()
390 assert(newMatchIndex >= prefixIdx - 3 && newMatchIndex < prefixIdx && !extDict); in LZ4HC_InsertAndGetWiderMatch()
393 matchIndex = newMatchIndex; in LZ4HC_InsertAndGetWiderMatch()
[all...]

Completed in 3 milliseconds