Lines Matching refs:tableSize
71 U32 const tableSize = 1 << tableLog; in FSE_buildCTable_wksp() local
72 U32 const tableMask = tableSize - 1; in FSE_buildCTable_wksp()
75 void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableLog ? tableSize>>1 : 1) ; in FSE_buildCTable_wksp()
77 U32 const step = FSE_TABLESTEP(tableSize); in FSE_buildCTable_wksp()
83 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
96 …ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp()
111 cumul[maxSV1] = (U16)(tableSize+1); in FSE_buildCTable_wksp()
115 if (highThreshold == tableSize - 1) { in FSE_buildCTable_wksp()
119 …BYTE* const spread = tableSymbol + tableSize; /* size = tableSize + 8 (may write beyond tableSize)… in FSE_buildCTable_wksp()
142 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */ in FSE_buildCTable_wksp()
143 for (s = 0; s < (size_t)tableSize; s += unroll) { in FSE_buildCTable_wksp()
169 { U32 u; for (u=0; u<tableSize; u++) { in FSE_buildCTable_wksp()
171 …tableU16[cumul[s]++] = (U16) (tableSize+u); /* TableU16 : sorted by symbol order; gives next sta… in FSE_buildCTable_wksp()
241 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local
255 remaining = tableSize+1; /* +1 for extra accuracy */ in FSE_writeNCount_generic()
256 threshold = tableSize; in FSE_writeNCount_generic()
539 const unsigned tableSize = 1 << nbBits; in FSE_buildCTable_raw() local
540 const unsigned tableMask = tableSize - 1; in FSE_buildCTable_raw()
544 …void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableSize>>1); /* assumption : tableLog >= 1 … in FSE_buildCTable_raw()
556 for (s=0; s<tableSize; s++) in FSE_buildCTable_raw()
557 tableU16[s] = (U16)(tableSize + s); in FSE_buildCTable_raw()