Home
last modified time | relevance | path

Searched refs:candidate_pos (Results 1 – 1 of 1) sorted by relevance

/external/lz4/lib/
Dlz4hc.c1344 { int candidate_pos = cur; in LZ4HC_compress_optimal() local
1348 … int const next_matchLength = opt[candidate_pos].mlen; /* can be 1, means literal */ in LZ4HC_compress_optimal()
1349 int const next_offset = opt[candidate_pos].off; in LZ4HC_compress_optimal()
1350 DEBUGLOG(7, "pos %i: sequence length %i", candidate_pos, selected_matchLength); in LZ4HC_compress_optimal()
1351 opt[candidate_pos].mlen = selected_matchLength; in LZ4HC_compress_optimal()
1352 opt[candidate_pos].off = selected_offset; in LZ4HC_compress_optimal()
1355 … if (next_matchLength > candidate_pos) break; /* last match elected, first match to encode */ in LZ4HC_compress_optimal()
1357 candidate_pos -= next_matchLength; in LZ4HC_compress_optimal()