Home
last modified time | relevance | path

Searched refs:alphabetSize (Results 1 – 2 of 2) sorted by relevance

/linux/lib/zstd/compress/
H A Dfse_compress.c249 unsigned const alphabetSize = maxSymbolValue + 1; in FSE_writeNCount_generic() local
261 while ((symbol < alphabetSize) && (remaining>1)) { /* stops at 1 */ in FSE_writeNCount_generic()
264 while ((symbol < alphabetSize) && !normalizedCounter[symbol]) symbol++; in FSE_writeNCount_generic()
265 if (symbol == alphabetSize) break; /* incorrect distribution */ in FSE_writeNCount_generic()
317 assert(symbol <= alphabetSize); in FSE_writeNCount_generic()
H A Dhuf_compress.c735 int const alphabetSize = (int)(maxSymbolValue + 1); in HUF_buildCTableFromTree() local
745 for (n=0; n<alphabetSize; n++) in HUF_buildCTableFromTree()
747 for (n=0; n<alphabetSize; n++) in HUF_buildCTableFromTree()