Function report |
Source Code:lib\zstd\compress.c |
Create Date:2022-07-28 07:03:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: : 0, or an error code
Proto:size_t ZSTD_copyCCtx(ZSTD_CCtx *dstCCtx, const ZSTD_CCtx *srcCCtx, unsigned long long pledgedSrcSize)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| ZSTD_CCtx * | dstCCtx | |
| const ZSTD_CCtx * | srcCCtx | |
| unsigned long long | pledgedSrcSize |
| 350 | If stage != ZSTDcs_init Then Return -***************************************** Error codes handling(stage_wrong) |
| 353 | No 3D Now!( & customMem, & customMem, sizeof(ZSTD_customMem)) |
| 356 | contentSizeFlag = pledgedSrcSize > 0 |
| 366 | No 3D Now!(workSpace, workSpace, tableSpace) |
| 370 | nextToUpdate = nextToUpdate |
| 371 | nextToUpdate3 = nextToUpdate3 |
| 377 | loadedDictEnd = loadedDictEnd |
| 383 | If flagStaticTables Then |
| 384 | No 3D Now!(litlengthCTable, litlengthCTable, size of litlengthCTable ) |
| 385 | No 3D Now!(matchlengthCTable, matchlengthCTable, size of matchlengthCTable ) |
| 386 | No 3D Now!(offcodeCTable, offcodeCTable, size of offcodeCTable ) |
| 388 | If flagStaticHufTable Then |
| 389 | No 3D Now!(hufTable, hufTable, 256 * 4) |
| 392 | Return 0 |
| Name | Describe |
|---|---|
| ZSTD_compressBegin_usingCDict |
| 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 |
Brief:! ZSTD_copyCCtx() :* Duplicate an existing context `srcCCtx` into another one `dstCCtx`.* Only works during stage ZSTDcs_init (i.e. after creation, but before first call to ZSTD_compressContinue()).