Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:HUF_validateCTable

Proto:static int HUF_validateCTable(const HUF_CElt *CTable, const unsigned *count, unsigned maxSymbolValue)

Type:int

Parameter:

TypeParameterName
const HUF_CElt *CTable
const unsigned *count
unsignedmaxSymbolValue
513  bad = 0
515  When s <= maxSymbolValue cycle
516  bad |= count[s] != 0 & nbBits == 0
518  Return Not bad
Caller
NameDescribe
HUF_compress_internal`workSpace` must a table of at least 1024 unsigned