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()
82 U32 highThreshold = tableSize-1; in FSE_buildCTable_wksp()
95 …ZSTD_memset(tableSymbol, 0, sizeof(*tableSymbol) * tableSize); /* useless initialization, just t… in FSE_buildCTable_wksp()
108 cumul[maxSymbolValue+1] = tableSize+1; in FSE_buildCTable_wksp()
128 { U32 u; for (u=0; u<tableSize; u++) { in FSE_buildCTable_wksp()
130 …tableU16[cumul[s]++] = (U16) (tableSize+u); /* TableU16 : sorted by symbol order; gives next sta… in FSE_buildCTable_wksp()
198 const int tableSize = 1 << tableLog; in FSE_writeNCount_generic() local
212 remaining = tableSize+1; /* +1 for extra accuracy */ in FSE_writeNCount_generic()
213 threshold = tableSize; in FSE_writeNCount_generic()
496 const unsigned tableSize = 1 << nbBits; in FSE_buildCTable_raw() local
497 const unsigned tableMask = tableSize - 1; in FSE_buildCTable_raw()
501 …void* const FSCT = ((U32*)ptr) + 1 /* header */ + (tableSize>>1); /* assumption : tableLog >= 1 … in FSE_buildCTable_raw()
513 for (s=0; s<tableSize; s++) in FSE_buildCTable_raw()
514 tableU16[s] = (U16)(tableSize + s); in FSE_buildCTable_raw()