Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:! 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

Proto:size_t ZSTD_compress_usingCDict(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, const ZSTD_CDict *cdict)

Type:size_t

Parameter:

TypeParameterName
ZSTD_CCtx *cctx
void *dst
size_tdstCapacity
const void *src
size_tsrcSize
const ZSTD_CDict *cdict
2934  If contentSizeFlag == 1 Then
2935  contentSizeFlag = 1
2936  frameContentSize = srcSize
2937  Else
2938  contentSizeFlag = 0
2941  Return ZSTD_compressEnd(cctx, dst, dstCapacity, src, srcSize)