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:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: : 0==HUF_decompress4X2, 1==HUF_decompress4X4 .

Proto:U32 HUF_selectDecoder(size_t dstSize, size_t cSrcSize)

Type:U32

Parameter:

TypeParameterName
size_tdstSize
size_tcSrcSize

Brief:HUF_selectDecoder() :* Tells which decoder is likely to decode faster,* based on a set of pre-determined metrics.* Assumption : 0 < cSrcSize < dstSize <= 128 KB

890  Q = cSrcSize * 16 / dstSize
891  D256 = dstSize >> 8
892  DTime0 = tableTime + decode256Time * D256
893  DTime1 = tableTime + decode256Time * D256
894  DTime1 += DTime1 >> 3
896  Return DTime1 < DTime0
Caller
NameDescribe
HUF_decompress4X_DCtx_wksp
HUF_decompress4X_hufOnly_wksp
HUF_decompress1X_DCtx_wksp