函数逻辑报告 |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-27 08:04:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ZSTD_decompressSequences
函数原型:static size_t ZSTD_decompressSequences(ZSTD_DCtx *dctx, void *dst, size_t maxDstSize, const void *seqStart, size_t seqSize)
返回类型:size_t
参数:
类型 | 参数 | 名称 |
---|---|---|
ZSTD_DCtx * | dctx | |
void * | dst | |
size_t | maxDstSize | |
const void * | seqStart | |
size_t | seqSize |
1098 | oend等于ostart加maxDstSize |
1116 | 如果nbSeq则 |
1118 | fseEntropy等于1 |
1121 | 以i小于umber of repcodes 循环prevOffset[i]等于rep[i] |
1125 | FSE_initDState( & stateLL, & DStream, LLTptr) |
1126 | FSE_initDState( & stateOffb, & DStream, OFTptr) |
1127 | FSE_initDState( & stateML, & DStream, MLTptr) |
1129 | 以BIT_reloadDStream( & (DStream))小于等于BIT_DStream_completed且nbSeq循环 |
1130 | nbSeq自减 |
1132 | sequence等于ZSTD_decodeSequence( & seqState) |
1133 | oneSeqSize等于ZSTD_execSequence(op, oend, sequence, & litPtr, litEnd, base, vBase, dictEnd) |
1134 | 如果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.则返回:oneSeqSize |
1136 | op加等于oneSeqSize |
1146 | 以i小于umber of repcodes 循环rep[i]等于prevOffset[i] |
1153 | lastLLSize等于litEnd减litPtr |
1154 | 如果lastLLSize大于oend减op则返回:-***************************************** Error codes handling(dstSize_tooSmall) |
1156 | 内存复制(op, litPtr, lastLLSize) |
1157 | op加等于lastLLSize |
名称 | 描述 |
---|---|
ZSTD_decompressBlock_internal |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |