函数逻辑报告 |
Source Code:lib\decompress_bunzip2.c |
Create Date:2022-07-27 07:14:02 |
| Last Modify:2020-03-15 22:49:38 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return the next nnn bits of input. All reads from the compressed inputare done through this function. All reads are big endian
函数原型:static unsigned int __attribute__((__section__(".init.text"))) __attribute__((__cold__))get_bits(struct bunzip_data *bd, char bits_wanted)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bunzip_data * | bd | |
| char | bits_wanted |
| 118 | bits等于0 |
| 123 | 当inbufBitCount小于bits_wanted循环 |
| 126 | 如果, outbufPos恒等于inbufCount则 |
| 137 | 如果inbufBitCount大于等于24则 |
| 138 | bits等于inbufBits按位与1左移inbufBitCount位的值减1 |
| 139 | bits_wanted减等于inbufBitCount |
| 140 | bits左移等于bits_wanted位 |
| 141 | inbufBitCount等于0 |
| 144 | inbufBits等于inbufBits左移8位按位或,*outbuf[, outbufPos++] |
| 145 | inbufBitCount加等于8 |
| 148 | inbufBitCount减等于bits_wanted |
| 149 | bits或等于inbufBits右移inbufBitCount位按位与1左移bits_wanted位的值减1 |
| 151 | 返回:bits |
| 名称 | 描述 |
|---|---|
| get_next_block | Unpacks the next block and sets up for the inverse burrows-wheeler step. |
| start_bunzip | Allocate the structure, read file header. If in_fd ==-1, inbuf must containa complete bunzip file (len bytes long). If in_fd!=-1, inbuf and len areignored, and data is read from file handle into temporary buffer. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |