Home
last modified time | relevance | path

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

/lz4-3.4.0-2.7.6/lib/
Dlz4.c1206 { size_t lastRun = (size_t)(iend - anchor); in LZ4_compress_generic_validated() local
1208 (op + lastRun + 1 + ((lastRun+255-RUN_MASK)/255) > olimit)) { in LZ4_compress_generic_validated()
1212 lastRun = (size_t)(olimit-op) - 1/*token*/; in LZ4_compress_generic_validated()
1213 lastRun -= (lastRun + 256 - RUN_MASK) / 256; /*additional length tokens*/ in LZ4_compress_generic_validated()
1219 DEBUGLOG(6, "Final literal run : %i literals", (int)lastRun); in LZ4_compress_generic_validated()
1220 if (lastRun >= RUN_MASK) { in LZ4_compress_generic_validated()
1221 size_t accumulator = lastRun - RUN_MASK; in LZ4_compress_generic_validated()
1226 *op++ = (BYTE)(lastRun<<ML_BITS); in LZ4_compress_generic_validated()
1228 LZ4_memcpy(op, anchor, lastRun); in LZ4_compress_generic_validated()
1229 ip = anchor + lastRun; in LZ4_compress_generic_validated()
[all …]