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.c247 unsigned const alphabetSize = maxSymbolValue + 1; in FSE_writeNCount_generic() local
259 while ((symbol < alphabetSize) && (remaining>1)) { /* stops at 1 */ in FSE_writeNCount_generic()
262 while ((symbol < alphabetSize) && !normalizedCounter[symbol]) symbol++; in FSE_writeNCount_generic()
263 if (symbol == alphabetSize) break; /* incorrect distribution */ in FSE_writeNCount_generic()
315 assert(symbol <= alphabetSize); in FSE_writeNCount_generic()
H A Dhuf_compress.c660 int const alphabetSize = (int)(maxSymbolValue + 1); in HUF_buildCTableFromTree() local
670 for (n=0; n<alphabetSize; n++) in HUF_buildCTableFromTree()
672 for (n=0; n<alphabetSize; n++) in HUF_buildCTableFromTree()