函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ZSTD_compressSequences

函数原型:ZSTD_STATIC size_t ZSTD_compressSequences(ZSTD_CCtx *zc, void *dst, size_t dstCapacity, size_t srcSize)

返回类型:size_t

参数:

类型参数名称
ZSTD_CCtx *zc
void *dst
size_tdstCapacity
size_tsrcSize
834  cSize等于ZSTD_compressSequences_internal(zc, dst, dstCapacity)
835  minGain等于ZSTD_minGain(srcSize)
836  maxCSize等于srcSizeminGain
841  uncompressibleError等于cSize恒等于-***************************************** Error codes handling(dstSize_tooSmall)且srcSize小于等于dstCapacity
844  如果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.且非uncompressibleError则返回:cSize
846  如果cSize大于等于maxCSizeuncompressibleError
847  flagStaticHufTable等于*< Cannot use the previous table
848  返回:0
851 i小于umber of repcodes 循环rep[i]等于repToConfirm[i]
853  返回:cSize
调用者
名称描述
ZSTD_compressBlock_internal