函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:! 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

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

返回类型:size_t

参数:

类型参数名称
ZSTD_CCtx *cctx
void *dst
size_tdstCapacity
const void *src
size_tsrcSize
const ZSTD_CDict *cdict
2934  如果contentSizeFlag恒等于1则
2935  contentSizeFlag等于1
2936  frameContentSize等于srcSize
2937  否则
2938  contentSizeFlag等于0
2941  返回:ZSTD_compressEnd(cctx, dst, dstCapacity, src, srcSize)