Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zstd/compress/
Dhuf_compress.c447 int nodeNb = STARTNODE; in HUF_buildTree() local
452 lowS = nonNullRank; nodeRoot = nodeNb + lowS - 1; lowN = nodeNb; in HUF_buildTree()
453 huffNode[nodeNb].count = huffNode[lowS].count + huffNode[lowS-1].count; in HUF_buildTree()
454 huffNode[lowS].parent = huffNode[lowS-1].parent = (U16)nodeNb; in HUF_buildTree()
455 nodeNb++; lowS-=2; in HUF_buildTree()
456 for (n=nodeNb; n<=nodeRoot; n++) huffNode[n].count = (U32)(1U<<30); in HUF_buildTree()
460 while (nodeNb <= nodeRoot) { in HUF_buildTree()
463 huffNode[nodeNb].count = huffNode[n1].count + huffNode[n2].count; in HUF_buildTree()
464 huffNode[n1].parent = huffNode[n2].parent = (U16)nodeNb; in HUF_buildTree()
465 nodeNb++; in HUF_buildTree()