Home
last modified time | relevance | path

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

/external/lz4/lib/
Dlz4hc.c1470 { int candidate_pos = cur; in LZ4HC_compress_optimal() local
1474 … int const next_matchLength = opt[candidate_pos].mlen; /* can be 1, means literal */ in LZ4HC_compress_optimal()
1475 int const next_offset = opt[candidate_pos].off; in LZ4HC_compress_optimal()
1476 DEBUGLOG(7, "pos %i: sequence length %i", candidate_pos, selected_matchLength); in LZ4HC_compress_optimal()
1477 opt[candidate_pos].mlen = selected_matchLength; in LZ4HC_compress_optimal()
1478 opt[candidate_pos].off = selected_offset; in LZ4HC_compress_optimal()
1481 … if (next_matchLength > candidate_pos) break; /* last match elected, first match to encode */ in LZ4HC_compress_optimal()
1483 candidate_pos -= next_matchLength; in LZ4HC_compress_optimal()