Function report |
Source Code:lib\zstd\compress.c |
Create Date:2022-07-28 07:05:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ZSTD_compressContinue_internal
Proto:static size_t ZSTD_compressContinue_internal(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, U32 frame, U32 lastFrameChunk)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
ZSTD_CCtx * | cctx | |
void * | dst | |
size_t | dstCapacity | |
const void * | src | |
size_t | srcSize | |
U32 | frame | |
U32 | lastFrameChunk |
2493 | fhSize = 0 |
2495 | If stage == ZSTDcs_created Then Return -***************************************** Error codes handling(stage_wrong) |
2498 | If frame && stage == ZSTDcs_init Then |
2499 | fhSize = ZSTD_writeFrameHeader(dst, dstCapacity, params, frameContentSize, dictID) |
2500 | If 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. Then Return fhSize |
2502 | dstCapacity -= fhSize |
2504 | stage = ZSTDcs_ongoing |
2515 | nextToUpdate = dictLimit |
2516 | If dictLimit - lowLimit < HASH_READ_SIZE Then lowLimit = dictLimit |
2522 | highInputIdx = ip + srcSize - dictBase |
2523 | lowLimitMax = If highInputIdx > dictLimit Then dictLimit Else highInputIdx |
2524 | lowLimit = lowLimitMax |
2529 | If srcSize Then |
2530 | cSize = If frame Then : compressed size, or an error code Else ZSTD_compressBlock_internal(cctx, dst, dstCapacity, src, srcSize) |
2535 | Else Return fhSize |
Name | Describe |
---|---|
ZSTD_compressContinue | |
ZSTD_compressBlock | |
ZSTD_compressEnd |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |