Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ZSTD_compressBlock

Proto:size_t ZSTD_compressBlock(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize)

Type:size_t

Parameter:

TypeParameterName
ZSTD_CCtx *cctx
void *dst
size_tdstCapacity
const void *src
size_tsrcSize
2548  blockSizeMax = ZSTD_getBlockSizeMax(cctx)
2549  If srcSize > blockSizeMax Then Return -***************************************** Error codes handling(srcSize_wrong)
2551  Return ZSTD_compressContinue_internal(cctx, dst, dstCapacity, src, srcSize, 0, 0)