Function report |
Source Code:lib\zlib_deflate\deflate.c |
Create Date:2022-07-28 06:58:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:longest_match
Proto:static uInt longest_match(deflate_state *s, IPos cur_match)
Type:uInt
Parameter:
Type | Parameter | Name |
---|---|---|
deflate_state * | s | |
IPos | cur_match |
559 | chain_length = Length of the best match at previous step. Matches not greater than this* are discarded. This is used in the lazy match evaluation. |
560 | scan = window + start of string to insert |
563 | best_len = prev_length |
570 | prev = Actual size of window: 2*wSize, except when the user input buffer* is directly used as sliding window. |
571 | wmask = w_size - 1 |
581 | strend = window + start of string to insert + MAX_MATCH |
592 | If prev_length >= good_match Then |
593 | chain_length >>= 2 |
598 | If nice_match > umber of valid bytes ahead in window Then nice_match = umber of valid bytes ahead in window |
602 | Do |
644 | If match[best_len] != scan_end || match[best_len - 1] != scan_end1 || match != scan || *++match != scan[1] Then Continue |
661 | Do |
689 | If best_len <= umber of valid bytes ahead in window Then Return best_len |
690 | Return umber of valid bytes ahead in window |
Name | Describe |
---|---|
deflate_fast | |
deflate_slow |
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 |