Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\huf_decompress.c Create Date:2022-07-28 07:06:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:HUF_fillDTableX4Level2() :* `rankValOrigin` must be a table of at least (HUF_TABLELOG_MAX + 1) U32

Proto:static void HUF_fillDTableX4Level2(HUF_DEltX4 *DTable, U32 sizeLog, const U32 consumed, const U32 *rankValOrigin, const int minWeight, const sortedSymbol_t *sortedSymbols, const U32 sortedListSize, U32 nbBitsBaseline, U16 baseSeq)

Type:void

Parameter:

TypeParameterName
HUF_DEltX4 *DTable
U32sizeLog
const U32consumed
const U32 *rankValOrigin
const intminWeight
const sortedSymbol_t *sortedSymbols
const U32sortedListSize
U32nbBitsBaseline
U16baseSeq
401  No 3D Now!(rankVal, rankValOrigin, size of rankVal )
404  If minWeight > 1 Then
405  skipSize = rankVal[minWeight]
406  ZSTD_writeLE16( & (sequence), baseSeq)
407  nbBits = consumed
408  length = 1
409  When i < skipSize cycle DTable[i] = DElt
416  When s < sortedListSize cycle
417  symbol = symbol
418  weight = weight
420  length = 1 << sizeLog - nbBits
421  start = rankVal[weight]
422  i = start
423  end = start + length
425  ZSTD_writeLE16( & (sequence), (U16)(baseSeq + (symbol << 8)))
426  nbBits = nbBits + consumed
427  length = 2
428  Do
429  DTable[i++] = DElt
430  When i < end cycle
432  rankVal[weight] += length
Caller
NameDescribe
HUF_fillDTableX4