Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:! ZSTD_reduceIndex() :* rescale all indexes to avoid future overflow (indexes are U32)

Proto:static void ZSTD_reduceIndex(ZSTD_CCtx *zc, const U32 reducerValue)

Type:void

Parameter:

TypeParameterName
ZSTD_CCtx *zc
const U32reducerValue
413  hSize = 1 << hashLog
414  ! ZSTD_reduceTable() :* reduce table indexes by `reducerValue`
418  chainSize = If strategy == ZSTD_fast Then 0 Else 1 << chainLog
419  ! ZSTD_reduceTable() :* reduce table indexes by `reducerValue`
423  h3Size = If hashLog3 Then 1 << hashLog3 Else 0
424  ! ZSTD_reduceTable() :* reduce table indexes by `reducerValue`
Caller
NameDescribe
ZSTD_compress_generic : compressed size, or an error code