Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/libs/
Dlz4.c1577 size_t lastRun = (size_t)(iend - anchor); in LZ4_compress_generic_validated() local
1579 (op + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > olimit)) in LZ4_compress_generic_validated()
1585 lastRun = (size_t)(olimit - op) - 1 /*token*/; in LZ4_compress_generic_validated()
1586 lastRun -= (lastRun + 256 - RUN_MASK) / 256; /*additional length tokens*/ in LZ4_compress_generic_validated()
1594 DEBUGLOG(6, "Final literal run : %i literals", (int)lastRun); in LZ4_compress_generic_validated()
1595 if (lastRun >= RUN_MASK) in LZ4_compress_generic_validated()
1597 size_t accumulator = lastRun - RUN_MASK; in LZ4_compress_generic_validated()
1605 *op++ = (BYTE)(lastRun << ML_BITS); in LZ4_compress_generic_validated()
1607 LZ4_memcpy(op, anchor, lastRun); in LZ4_compress_generic_validated()
1608 ip = anchor + lastRun; in LZ4_compress_generic_validated()
[all …]