Home
last modified time | relevance | path

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

/openbmc/linux/lib/zstd/compress/
H A Dhuf_compress.c439 rankPos rankPosition[RANK_POSITION_TABLE_SIZE]; member
547 …ort(nodeElt huffNode[], const unsigned count[], U32 const maxSymbolValue, rankPos rankPosition[]) { in HUF_sort() argument
557 ZSTD_memset(rankPosition, 0, sizeof(*rankPosition) * RANK_POSITION_TABLE_SIZE); in HUF_sort()
561 rankPosition[lowerRank].base++; in HUF_sort()
564 assert(rankPosition[RANK_POSITION_TABLE_SIZE - 1].base == 0); in HUF_sort()
567 rankPosition[n-1].base += rankPosition[n].base; in HUF_sort()
568 rankPosition[n-1].curr = rankPosition[n-1].base; in HUF_sort()
575 U32 const pos = rankPosition[r].curr++; in HUF_sort()
583 U32 const bucketSize = rankPosition[n].curr-rankPosition[n].base; in HUF_sort()
584 U32 const bucketStartIdx = rankPosition[n].base; in HUF_sort()
[all …]