函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\huf_decompress.c Create Date:2022-07-27 08:04:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: : 0==HUF_decompress4X2, 1==HUF_decompress4X4 .

函数原型:U32 HUF_selectDecoder(size_t dstSize, size_t cSrcSize)

返回类型:U32

参数:

类型参数名称
size_tdstSize
size_tcSrcSize

摘要: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等于tableTimedecode256TimeD256
893  DTime1等于tableTimedecode256TimeD256
894  DTime1加等于DTime1右移3位
896  返回:DTime1小于DTime0
调用者
名称描述
HUF_decompress4X_DCtx_wksp
HUF_decompress4X_hufOnly_wksp
HUF_decompress1X_DCtx_wksp