函数逻辑报告 |
Source Code:lib\xz\xz_dec_lzma2.c |
Create Date:2022-07-27 08:06:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Decode and validate LZMA properties (lc/lp/pb) and calculate the bit masks* from the decoded lp and pb values. On success, the LZMA decoder state is* reset and true is returned.
函数原型:static bool lzma_props(struct xz_dec_lzma2 *s, uint8_t props)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct xz_dec_lzma2 * | s | |
| uint8_t | props |
| 801 | 如果props大于4乘5加4的和乘9加8则返回:false |
| 804 | (1 << pb) - 1 等于0 |
| 806 | props减等于9乘5 |
| 807 | (1 << pb) - 1 先自加 |
| 810 | (1 << pb) - 1 等于1左移 (1 << pb) - 1 位的值减1 |
| 812 | (1 << lp) - 1 等于0 |
| 814 | props减等于9 |
| 815 | (1 << lp) - 1 先自加 |
| 818 | * LZMA properties or related bit masks (number of literal * context bits, a mask dervied from the number of literal * position bits, and a mask dervied from the number * position bits)等于props |
| 823 | (1 << lp) - 1 等于1左移 (1 << lp) - 1 位的值减1 |
| 827 | 返回:true |
| 名称 | 描述 |
|---|---|
| xz_dec_lzma2_run | Take care of the LZMA2 control layer, and forward the job of actual LZMA* decoding or copying of uncompressed chunks to other functions. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |