Searched refs:rankPosition (Results 1 – 1 of 1) sorted by relevance
361 rankPos rankPosition[RANK_POSITION_TABLE_SIZE]; member374 … void HUF_sort(nodeElt* huffNode, const unsigned* count, U32 maxSymbolValue, rankPos* rankPosition) in HUF_sort() argument385 ZSTD_memset(rankPosition, 0, sizeof(*rankPosition) * RANK_POSITION_TABLE_SIZE); in HUF_sort()388 rankPosition[lowerRank].base++; in HUF_sort()390 assert(rankPosition[RANK_POSITION_TABLE_SIZE - 1].base == 0); in HUF_sort()392 rankPosition[n-1].base += rankPosition[n].base; in HUF_sort()393 rankPosition[n-1].curr = rankPosition[n-1].base; in HUF_sort()399 U32 pos = rankPosition[r].curr++; in HUF_sort()403 while ((pos > rankPosition[r].base) && (c > huffNode[pos-1].count)) { in HUF_sort()511 HUF_sort(huffNode, count, maxSymbolValue, wksp_tables->rankPosition); in HUF_buildCTable_wksp()