Function report |
Source Code:lib\zlib_deflate\deflate.c |
Create Date:2022-07-28 06:58:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:deflate_fast
Proto:static block_state deflate_fast(deflate_state *s, int flush)
Type:block_state
Parameter:
| Type | Parameter | Name |
|---|---|---|
| deflate_state * | s | |
| int | flush |
| 917 | hash_head = Local data |
| 920 | cycle |
| 931 | If umber of valid bytes ahead in window == 0 Then Break |
| 949 | If avor or force Huffman coding != Z_HUFFMAN_ONLY Then |
| 950 | length of best match = longest_match(s, hash_head) |
| 954 | If length of best match >= The three kinds of block type Then |
| 957 | bflush = zlib_tr_tally(s, start of string to insert - start of matching string , length of best match - The three kinds of block type ) |
| 967 | length of best match -- |
| 968 | Do |
| 969 | start of string to insert ++ |
| 974 | When --length of best match != 0 cycle |
| 975 | start of string to insert ++ |
| 976 | Else |
| 978 | length of best match = 0 |
| 988 | Else |
| 991 | bflush = zlib_tr_tally(s, 0, window[start of string to insert ]) |
| 993 | start of string to insert ++ |
| 995 | If bflush Then |
| 998 | Return If flush == Z_FINISH Then finish_done Else lock flush performed |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |