Function report |
Source Code:lib\zstd\compress.c |
Create Date:2022-07-28 07:03:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ZSTD_compressSequences
Proto:ZSTD_STATIC size_t ZSTD_compressSequences(ZSTD_CCtx *zc, void *dst, size_t dstCapacity, size_t srcSize)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
ZSTD_CCtx * | zc | |
void * | dst | |
size_t | dstCapacity | |
size_t | srcSize |
834 | cSize = ZSTD_compressSequences_internal(zc, dst, dstCapacity) |
835 | minGain = ZSTD_minGain(srcSize) |
841 | uncompressibleError = cSize == -***************************************** Error codes handling(dstSize_tooSmall) && srcSize <= dstCapacity |
846 | If cSize >= maxCSize || uncompressibleError Then |
848 | Return 0 |
851 | When i < umber of repcodes cycle rep[i] = repToConfirm[i] |
853 | Return cSize |
Name | Describe |
---|---|
ZSTD_compressBlock_internal |
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 |