函数逻辑报告 |
Source Code:lib\zlib_deflate\deflate.c |
Create Date:2022-07-27 07:55:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:deflate_slow
函数原型:static block_state deflate_slow(deflate_state *s, int flush)
返回类型:block_state
参数:
类型 | 参数 | 名称 |
---|---|---|
deflate_state * | s | |
int | flush |
1011 | hash_head等于Local data |
1015 | 循环 |
1026 | 如果umber of valid bytes ahead in window 恒等于0则退出 |
1047 | 如果avor or force Huffman coding不等于Z_HUFFMAN_ONLY则 |
1048 | length of best match 等于longest_match(s, hash_head) |
1065 | 如果prev_length大于等于The three kinds of block type 且length of best match 小于等于prev_length则 |
1066 | max_insert等于start of string to insert 加umber of valid bytes ahead in window 减The three kinds of block type |
1071 | bflush等于zlib_tr_tally(s, start of string to insert - 1 - previous match , prev_length - The three kinds of block type ) |
1080 | prev_length减等于2 |
1081 | 循环 |
1082 | 如果start of string to insert 先自加小于等于max_insert则 |
1085 | 当prev_length先自减不等于0循环 |
1086 | set if previous match exists 等于0 |
1088 | start of string to insert 自加 |
1090 | 如果bflush则 |
1092 | 否则如果set if previous match exists 则 |
1098 | 如果zlib_tr_tally(s, 0, window[start of string to insert - 1])则 |
1101 | start of string to insert 自加 |
1104 | 否则 |
1108 | set if previous match exists 等于1 |
1109 | start of string to insert 自加 |
1114 | 如果set if previous match exists 则 |
1116 | zlib_tr_tally(s, 0, window[start of string to insert - 1]) |
1117 | set if previous match exists 等于0 |
1120 | 返回:如果flush恒等于Z_FINISH则finish_done否则lock flush performed |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |