Home
last modified time | relevance | path

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

/linux-6.15/lib/zstd/common/
H A Dfse_decompress.c94 size_t const tableMask = tableSize-1; in FSE_buildDTable_internal() local
129 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildDTable_internal()
132 position = (position + (unroll * step)) & tableMask; in FSE_buildDTable_internal()
137 U32 const tableMask = tableSize-1; in FSE_buildDTable_internal() local
144 position = (position + step) & tableMask; in FSE_buildDTable_internal()
145 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable_internal()
/linux-6.15/lib/zstd/compress/
H A Dfse_compress.c74 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp() local
148 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildCTable_wksp()
151 position = (position + (unroll * step)) & tableMask; in FSE_buildCTable_wksp()
163 position = (position + step) & tableMask; in FSE_buildCTable_wksp()
165 position = (position + step) & tableMask; /* Low proba area */ in FSE_buildCTable_wksp()
/linux-6.15/lib/zstd/decompress/
H A Dzstd_decompress_block.c531 size_t const tableMask = tableSize-1; in ZSTD_buildFSETable_body() local
569 size_t const uPosition = (position + (u * step)) & tableMask; in ZSTD_buildFSETable_body()
572 position = (position + (unroll * step)) & tableMask; in ZSTD_buildFSETable_body()
577 U32 const tableMask = tableSize-1; in ZSTD_buildFSETable_body() local
585 position = (position + step) & tableMask; in ZSTD_buildFSETable_body()
586 …while (UNLIKELY(position > highThreshold)) position = (position + step) & tableMask; /* lowprob … in ZSTD_buildFSETable_body()