Home
last modified time | relevance | path

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

/linux-6.6.21/lib/zstd/common/
Dfse_decompress.c106 size_t const tableMask = tableSize-1; in FSE_buildDTable_internal() local
143 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildDTable_internal()
146 position = (position + (unroll * step)) & tableMask; in FSE_buildDTable_internal()
151 U32 const tableMask = tableSize-1; in FSE_buildDTable_internal() local
158 position = (position + step) & tableMask; in FSE_buildDTable_internal()
159 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable_internal()
212 const unsigned tableMask = tableSize - 1; in FSE_buildDTable_raw() local
213 const unsigned maxSV1 = tableMask+1; in FSE_buildDTable_raw()
/linux-6.6.21/lib/zstd/compress/
Dfse_compress.c72 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp() local
146 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildCTable_wksp()
149 position = (position + (unroll * step)) & tableMask; in FSE_buildCTable_wksp()
161 position = (position + step) & tableMask; in FSE_buildCTable_wksp()
163 position = (position + step) & tableMask; /* Low proba area */ in FSE_buildCTable_wksp()
540 const unsigned tableMask = tableSize - 1; in FSE_buildCTable_raw() local
541 const unsigned maxSymbolValue = tableMask; in FSE_buildCTable_raw()
/linux-6.6.21/lib/zstd/decompress/
Dzstd_decompress_block.c489 size_t const tableMask = tableSize-1; in ZSTD_buildFSETable_body() local
526 size_t const uPosition = (position + (u * step)) & tableMask; in ZSTD_buildFSETable_body()
529 position = (position + (unroll * step)) & tableMask; in ZSTD_buildFSETable_body()
534 U32 const tableMask = tableSize-1; in ZSTD_buildFSETable_body() local
542 position = (position + step) & tableMask; in ZSTD_buildFSETable_body()
543 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in ZSTD_buildFSETable_body()