函数逻辑报告 |
Source Code:lib\zstd\compress.c |
Create Date:2022-07-27 08:00:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: : 0, or an error code
函数原型:size_t ZSTD_copyCCtx(ZSTD_CCtx *dstCCtx, const ZSTD_CCtx *srcCCtx, unsigned long long pledgedSrcSize)
返回类型:size_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| ZSTD_CCtx * | dstCCtx | |
| const ZSTD_CCtx * | srcCCtx | |
| unsigned long long | pledgedSrcSize |
| 350 | 如果stage不等于ZSTDcs_init则返回:-***************************************** Error codes handling(stage_wrong) |
| 353 | 内存复制( & customMem, & customMem, sizeof(ZSTD_customMem)) |
| 356 | contentSizeFlag等于pledgedSrcSize大于0 |
| 366 | 内存复制(workSpace, workSpace, tableSpace) |
| 370 | nextToUpdate等于nextToUpdate |
| 383 | 如果flagStaticTables则 |
| 384 | 内存复制(litlengthCTable, litlengthCTable, litlengthCTable的长度) |
| 386 | 内存复制(offcodeCTable, offcodeCTable, offcodeCTable的长度) |
| 388 | 如果flagStaticHufTable则 |
| 392 | 返回:0 |
| 名称 | 描述 |
|---|---|
| ZSTD_compressBegin_usingCDict |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |
摘要:! 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()).