Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4hc.c732 { size_t lastRunSize = (size_t)(iend - anchor); /* literals */ in LZ4HC_compress_hashChain() local
733 size_t llAdd = (lastRunSize + 255 - RUN_MASK) / 255; in LZ4HC_compress_hashChain()
734 size_t const totalSize = 1 + llAdd + lastRunSize; in LZ4HC_compress_hashChain()
739 lastRunSize = (size_t)(oend - op) - 1 /*token*/; in LZ4HC_compress_hashChain()
740 llAdd = (lastRunSize + 256 - RUN_MASK) / 256; in LZ4HC_compress_hashChain()
741 lastRunSize -= llAdd; in LZ4HC_compress_hashChain()
743 DEBUGLOG(6, "Final literal run : %i literals", (int)lastRunSize); in LZ4HC_compress_hashChain()
744 ip = anchor + lastRunSize; /* can be != iend if limit==fillOutput */ in LZ4HC_compress_hashChain()
746 if (lastRunSize >= RUN_MASK) { in LZ4HC_compress_hashChain()
747 size_t accumulator = lastRunSize - RUN_MASK; in LZ4HC_compress_hashChain()
[all …]