函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ZSTD_compressEnd

函数原型:size_t ZSTD_compressEnd(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize)

返回类型:size_t

参数:

类型参数名称
ZSTD_CCtx *cctx
void *dst
size_tdstCapacity
const void *src
size_tsrcSize
2809  cSize等于ZSTD_compressContinue_internal(cctx, dst, dstCapacity, src, srcSize, 1, 1)
2810  如果ZSTD_isError() - tells if a size_t function result is an error code*@code: The function result to check for error.* Return: Non-zero iff the code is an error.则返回:cSize
2812  endResult等于 : nb of bytes written into dst (or an error code)
2813  如果ZSTD_isError() - tells if a size_t function result is an error code*@code: The function result to check for error.* Return: Non-zero iff the code is an error.则返回:endResult
2815  返回:cSizeendResult
调用者
名称描述
ZSTD_compress_internal
ZSTD_compress_usingCDict! ZSTD_compress_usingCDict() :* Compression using a digested Dictionary.* Faster startup than ZSTD_compress_usingDict(), recommended when same dictionary is used multiple times.* Note that compression level is decided during dictionary creation
ZSTD_compressStream_generic
ZSTD_endStream