Searched refs:rankPosition (Results 1 – 1 of 1) sorted by relevance
377 rankPos rankPosition[RANK_POSITION_TABLE_SIZE]; member390 … void HUF_sort(nodeElt* huffNode, const unsigned* count, U32 maxSymbolValue, rankPos* rankPosition) in HUF_sort() argument401 ZSTD_memset(rankPosition, 0, sizeof(*rankPosition) * RANK_POSITION_TABLE_SIZE); in HUF_sort()404 rankPosition[lowerRank].base++; in HUF_sort()406 assert(rankPosition[RANK_POSITION_TABLE_SIZE - 1].base == 0); in HUF_sort()408 rankPosition[n-1].base += rankPosition[n].base; in HUF_sort()409 rankPosition[n-1].curr = rankPosition[n-1].base; in HUF_sort()415 U32 pos = rankPosition[r].curr++; in HUF_sort()419 while ((pos > rankPosition[r].base) && (c > huffNode[pos-1].count)) { in HUF_sort()527 HUF_sort(huffNode, count, maxSymbolValue, wksp_tables->rankPosition); in HUF_buildCTable_wksp()