函数逻辑报告 |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-27 08:04:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: : nb of bytes read from src (< srcSize )
函数原型:size_t ZSTD_decodeLiteralsBlock(ZSTD_DCtx *dctx, const void *src, size_t srcSize)
返回类型:size_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| ZSTD_DCtx * | dctx | |
| const void * | src | |
| size_t | srcSize |
| 434 | 如果srcSize小于r a non-null block 则返回:-***************************************** Error codes handling(corruption_detected) |
| 439 | litEncType等于istart[0]按位与3 |
| 442 | 当:litEncType恒等于set_repeat |
| 446 | 当:litEncType恒等于set_compressed |
| 451 | singleStream等于0 |
| 453 | lhc等于ZSTD_readLE32(istart) |
| 457 | 默认 |
| 477 | 如果litSize大于Define for static allocation 则返回:-***************************************** Error codes handling(corruption_detected) |
| 479 | 如果litCSize加lhSize大于srcSize则返回:-***************************************** Error codes handling(corruption_detected) |
| 495 | litEntropy等于1 |
| 496 | 如果litEncType恒等于set_compressed则HUFptr等于hufTable |
| 502 | 当:litEncType恒等于set_basic |
| 508 | 默认 |
| 537 | 当:litEncType恒等于set_rle |
| 543 | 默认 |
| 552 | lhSize等于3 |
| 553 | litSize等于ZSTD_readLE24(istart)右移4位 |
| 554 | 如果srcSize小于4则返回:-***************************************** Error codes handling(corruption_detected) |
| 556 | 退出 |
| 558 | 如果litSize大于Define for static allocation 则返回:-***************************************** Error codes handling(corruption_detected) |
| 560 | memset(litBuffer, istart[lhSize], litSize + ! ZSTD_wildcopy() :* custom version of memcpy(), can copy up to 7 bytes too many (8 bytes if length==0) ) |
| 563 | 返回:lhSize加1 |
| 565 | 默认 |
| 名称 | 描述 |
|---|---|
| ZSTD_decompressBlock_internal |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |
摘要:! ZSTD_decodeLiteralsBlock() :