Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_cycleLog() :* condition for correct operation : hashLog > 1

Proto:static U32 ZSTD_cycleLog(U32 hashLog, ZSTD_strategy strat)

Type:U32

Parameter:

TypeParameterName
U32hashLog
ZSTD_strategystrat
170  btScale = strat >= ZSTD_btlazy2
171  Return hashLog - btScale
Caller
NameDescribe
ZSTD_adjustCParamsZSTD_adjustCParams() :optimize `cPar` for a given input (`srcSize` and `dictSize`).mostly downsizing to reduce memory consumption and initialization.Both `srcSize` and `dictSize` are optional (use 0 if unknown),
ZSTD_compress_generic : compressed size, or an error code