函数逻辑报告 |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-27 08:05:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ZSTD_decompressMultiFrame
函数原型:static size_t ZSTD_decompressMultiFrame(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, const void *dict, size_t dictSize, const ZSTD_DDict *ddict)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
ZSTD_DCtx * | dctx | |
void * | dst | |
size_t | dstCapacity | |
const void * | src | |
size_t | srcSize | |
const void * | dict | |
size_t | dictSize | |
const ZSTD_DDict * | ddict |
1648 | 如果ddict则 |
1658 | 当srcSize大于等于ZSTD_frameHeaderSize_prefix循环 |
1661 | magicNumber等于ZSTD_readLE32(src) |
1662 | 如果magicNumber不等于>= v0.8.0 则 |
1663 | 如果magicNumber按位与0xFFFFFFF0U的值恒等于ZSTD_MAGIC_SKIPPABLE_START则 |
1665 | 如果srcSize小于magic number + skippable frame length 则返回:-***************************************** Error codes handling(srcSize_wrong) |
1667 | skippableSize等于ZSTD_readLE32((constBYTE * )src + 4)加magic number + skippable frame length |
1668 | 如果srcSize小于skippableSize则 |
1672 | src等于src加skippableSize |
1673 | srcSize减等于skippableSize |
1674 | 继续下一循环 |
1675 | 否则 |
1680 | 如果ddict则 |
1682 | ZSTD_refDDict(dctx, ddict) |
1683 | 否则 |
1688 | ZSTD_checkContinuity(dctx, dst) |
名称 | 描述 |
---|---|
ZSTD_decompress_usingDict | |
ZSTD_decompress_usingDDict | ! ZSTD_decompress_usingDDict() :* Decompression using a pre-digested Dictionary* Use dictionary without significant overhead. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |