函数逻辑报告 |
Source Code:lib\lz4\lz4hc_compress.c |
Create Date:2022-07-27 07:58:32 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:LZ4HC_compress_generic
函数原型:static int LZ4HC_compress_generic(LZ4HC_CCtx_internal *const ctx, const char *const source, char *const dest, int const inputSize, int const maxOutputSize, int compressionLevel, limitedOutput_directive limit)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| LZ4HC_CCtx_internal *const | ctx | |
| const char *const | source | |
| char *const | dest | |
| int const | inputSize | |
| int const | maxOutputSize | |
| int | compressionLevel | |
| limitedOutput_directive | limit |
| 352 | matchlimit等于iend减LASTLITERALS |
| 355 | oend等于op加maxOutputSize |
| 372 | maxNbAttempts等于1左移compressionLevel减1位 |
| 375 | ip自加 |
| 379 | ml等于LZ4HC_InsertAndFindBestMatch(ctx, ip, matchlimit, ( & ref), maxNbAttempts) |
| 381 | 如果非ml则 |
| 382 | ip自加 |
| 383 | 继续下一循环 |
| 391 | _Search2 : |
| 392 | 如果ip加ml小于mflimit则ml2等于LZ4HC_InsertAndGetWiderMatch(ctx, ip + ml - 2, ip + 0, matchlimit, ml, & ref2, & start2, maxNbAttempts) |
| 426 | _Search3 : |
| 432 | 如果start2减ip小于Local Constants and types则 |
| 438 | 如果ip加new_ml大于start2加ml2减-************************************* Constants则new_ml等于start2减ip加ml2减-************************************* Constants |
| 441 | correction等于new_ml减start2减ip |
| 443 | 如果correction大于0则 |
| 454 | 如果start2加ml2小于mflimit则ml3等于LZ4HC_InsertAndGetWiderMatch(ctx, start2 + ml2 - 3, start2, matchlimit, ml2, & ref3, & start3, maxNbAttempts) |
| 475 | 继续下一循环 |
| 508 | 转到:_Search2 |
| 514 | 转到:_Search3 |
| 551 | 转到:_Search3 |
| 563 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |