函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: : amount of data remaining to flush

函数原型:size_t ZSTD_flushStream(ZSTD_CStream *zcs, ZSTD_outBuffer *output)

返回类型:size_t

参数:

类型参数名称
ZSTD_CStream *zcs
ZSTD_outBuffer *output

摘要:! ZSTD_flushStream() :

3240  srcSize等于0
3241  sizeWritten等于sizepos
3242  result等于ZSTD_compressStream_generic(zcs, (char * )(dst) + pos, & sizeWritten, & srcSize, & srcSize, zsf_flush)
3245  pos加等于sizeWritten
3246  如果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.则返回:result
3248  返回:outBuffContentSizeoutBuffFlushedSize