函数逻辑报告 |
Source Code:lib\lz4\lz4hc_compress.c |
Create Date:2022-07-27 07:58:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:LZ4HC_InsertAndGetWiderMatch
函数原型:static inline __attribute__((__always_inline__)) int LZ4HC_InsertAndGetWiderMatch(LZ4HC_CCtx_internal *hc4, const BYTE *const ip, const BYTE *const iLowLimit, const BYTE *const iHighLimit, int longest, const BYTE **matchpos, const BYTE **startpos, const int maxNbAttempts)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| LZ4HC_CCtx_internal * | hc4 | |
| const BYTE *const | ip | |
| const BYTE *const | iLowLimit | |
| const BYTE *const | iHighLimit | |
| int | longest | |
| const BYTE ** | matchpos | |
| const BYTE ** | startpos | |
| const int | maxNbAttempts |
| 178 | chainTable等于chainTable |
| 182 | lowPrefixPtr等于base加dictLimit |
| 183 | lowLimit等于如果low that point, no more dict 加64乘KB大于ip减base则low that point, no more dict 否则ip减base减64乘KB减1 |
| 188 | nbAttempts等于maxNbAttempts |
| 193 | matchIndex等于HashTable[LZ4HC_hashPtr(ip)] |
| 195 | 当matchIndex大于等于lowLimit且nbAttempts循环 |
| 197 | nbAttempts自减 |
| 198 | 如果matchIndex大于等于dictLimit则 |
| 199 | matchPtr等于base加matchIndex |
| 224 | 否则 |
| 225 | matchPtr等于dictBase加matchIndex |
| 227 | 如果LZ4_read32(matchPtr)恒等于LZ4_read32(ip)则 |
| 256 | matchIndex减等于aster (matchIndex) |
| 259 | 返回:longest |
| 名称 | 描述 |
|---|---|
| LZ4HC_compress_generic |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |