函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ZSTD_CStreamWorkspaceBound

函数原型:size_t ZSTD_CStreamWorkspaceBound(ZSTD_compressionParameters cParams)

返回类型:size_t

参数:

类型参数名称
ZSTD_compressionParameterscParams
2975  inBuffSize等于1左移windowLog
2976  blockSize等于-************************************** shared macros(Define for static allocation , inBuffSize)
2977  outBuffSize等于-************************************** Helper functions加1
2979  返回:ZSTD_CCtxWorkspaceBound(cParams)加ZSTD_ALIGN(sizeof(ZSTD_CStream))加ZSTD_ALIGN(inBuffSize)加ZSTD_ALIGN(outBuffSize)