Searched refs:tableSize (Results 1 - 5 of 5) sorted by relevance

/linux-master/lib/zstd/compress/
H A Dfse_compress.c71 U32 const tableSize = 1 << tableLog; local
72 U32 const tableMask = tableSize - 1;
75 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 1) ;
77 U32 const step = FSE_TABLESTEP(tableSize);
81 FSE_FUNCTION_TYPE* const tableSymbol = (FSE_FUNCTION_TYPE*)(cumul + (maxSV1+1)); /* size = tableSize */
83 U32 highThreshold = tableSize-1;
96 ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just to keep scan-build happy */
111 cumul[maxSV1] = (U16)(tableSize+1);
115 if (highThreshold == tableSize - 1) {
119 BYTE* const spread = tableSymbol + tableSize; /* siz
241 const int tableSize = 1 << tableLog; local
539 const unsigned tableSize = 1 << nbBits; local
[all...]
/linux-master/lib/zstd/common/
H A Dfse_decompress.c79 U32 const tableSize = 1 << tableLog; local
80 U32 highThreshold = tableSize-1;
105 if (highThreshold == tableSize - 1) {
106 size_t const tableMask = tableSize-1;
107 size_t const step = FSE_TABLESTEP(tableSize);
139 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */
140 for (s = 0; s < (size_t)tableSize; s += unroll) {
151 U32 const tableMask = tableSize-1;
152 U32 const step = FSE_TABLESTEP(tableSize);
166 for (u=0; u<tableSize;
211 const unsigned tableSize = 1 << nbBits; local
[all...]
H A Dfse.h575 { U32 const tableSize = 1 << tableLog;
576 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize);
579 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold);
706 #define FSE_TABLESTEP(tableSize) (((tableSize)>>1) + ((tableSize)>>3) + 3)
/linux-master/arch/arc/kernel/
H A Dunwind.c257 unsigned long tableSize = table->size, hdrSize; local
277 if (tableSize & (sizeof(*fde) - 1))
281 tableSize > sizeof(*fde) && tableSize - sizeof(*fde) >= *fde;
282 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) {
307 if (tableSize || !n)
328 for (fde = table->address, tableSize = table->size, n = 0;
329 tableSize;
330 tableSize -= sizeof(*fde) + *fde, fde += 1 + *fde / sizeof(*fde)) {
934 unsigned long tableSize; local
[all...]
/linux-master/lib/zstd/decompress/
H A Dzstd_decompress_block.c451 U32 const tableSize = 1 << tableLog; local
455 U32 highThreshold = tableSize - 1;
482 assert(tableSize <= 512);
488 if (highThreshold == tableSize - 1) {
489 size_t const tableMask = tableSize-1;
490 size_t const step = FSE_TABLESTEP(tableSize);
522 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */
523 for (s = 0; s < (size_t)tableSize; s += unroll) {
534 U32 const tableMask = tableSize-1;
535 U32 const step = FSE_TABLESTEP(tableSize);
[all...]

Completed in 141 milliseconds