Lines Matching refs:tableSize
73 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
74 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
77 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 1) ; in FSE_buildCTable_wksp()
79 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
85 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
98 …ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp()
113 cumul[maxSV1] = (U16)(tableSize+1); in FSE_buildCTable_wksp()
117 if (highThreshold == tableSize - 1) { in FSE_buildCTable_wksp()
121 …BYTE* const spread = tableSymbol + tableSize; /* size = tableSize + 8 (may write beyond tableSize)… in FSE_buildCTable_wksp()
144 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in FSE_buildCTable_wksp()
145 for (s = 0; s < (size_t)tableSize; s += unroll) { in FSE_buildCTable_wksp()
171 { U32 u; for (u=0; u<tableSize; u++) { in FSE_buildCTable_wksp()
173 …tableU16[cumul[s]++] = (U16) (tableSize+u); /* TableU16 : sorted by symbol order; gives next sta… in FSE_buildCTable_wksp()
243 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local
257 remaining = tableSize+1; /* +1 for extra accuracy */ in FSE_writeNCount_generic()
258 threshold = tableSize; in FSE_writeNCount_generic()