亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? deflate.c

?? Evc編的一個在wince5.0上運行的flash播放器
?? C
?? 第 1 頁 / 共 4 頁
字號:
#endif
            more += wsize;
        }
        if (s->strm->avail_in == 0) return;

        /* If there was no sliding:
         *    strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
         *    more == window_size - lookahead - strstart
         * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
         * => more >= window_size - 2*WSIZE + 2
         * In the BIG_MEM or MMAP case (not yet supported),
         *   window_size == input_size + MIN_LOOKAHEAD  &&
         *   strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.
         * Otherwise, window_size == 2*WSIZE so more >= 2.
         * If there was sliding, more >= WSIZE. So in all cases, more >= 2.
         */
        Assert(more >= 2, "more < 2");

        n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
        s->lookahead += n;

        /* Initialize the hash value now that we have some input: */
        if (s->lookahead >= MIN_MATCH) {
            s->ins_h = s->window[s->strstart];
            UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
#if MIN_MATCH != 3
            Call UPDATE_HASH() MIN_MATCH-3 more times
#endif
        }
        /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,
         * but this is not important since only literal bytes will be emitted.
         */

    } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0);
}

/* ===========================================================================
 * Flush the current block, with given end-of-file flag.
 * IN assertion: strstart is set to the end of the current match.
 */
#define FLUSH_BLOCK_ONLY(s, eof) { \
   _tr_flush_block(s, (s->block_start >= 0L ? \
                   (charf *)&s->window[(unsigned)s->block_start] : \
                   (charf *)Z_NULL), \
		(ulg)((long)s->strstart - s->block_start), \
		(eof)); \
   s->block_start = s->strstart; \
   flush_pending(s->strm); \
   Tracev((stderr,"[FLUSH]")); \
}

/* Same but force premature exit if necessary. */
#define FLUSH_BLOCK(s, eof) { \
   FLUSH_BLOCK_ONLY(s, eof); \
   if (s->strm->avail_out == 0) return (eof) ? finish_started : need_more; \
}

/* ===========================================================================
 * Copy without compression as much as possible from the input stream, return
 * the current block state.
 * This function does not insert new strings in the dictionary since
 * uncompressible data is probably not useful. This function is used
 * only for the level=0 compression option.
 * NOTE: this function should be optimized to avoid extra copying from
 * window to pending_buf.
 */
local block_state deflate_stored(s, flush)
    deflate_state *s;
    int flush;
{
    /* Stored blocks are limited to 0xffff bytes, pending_buf is limited
     * to pending_buf_size, and each stored block has a 5 byte header:
     */
    ulg max_block_size = 0xffff;
    ulg max_start;

    if (max_block_size > s->pending_buf_size - 5) {
        max_block_size = s->pending_buf_size - 5;
    }

    /* Copy as much as possible from input to output: */
    for (;;) {
        /* Fill the window as much as possible: */
        if (s->lookahead <= 1) {

            Assert(s->strstart < s->w_size+MAX_DIST(s) ||
		   s->block_start >= (long)s->w_size, "slide too late");

            fill_window(s);
            if (s->lookahead == 0 && flush == Z_NO_FLUSH) return need_more;

            if (s->lookahead == 0) break; /* flush the current block */
        }
	Assert(s->block_start >= 0L, "block gone");

	s->strstart += s->lookahead;
	s->lookahead = 0;

	/* Emit a stored block if pending_buf will be full: */
 	max_start = s->block_start + max_block_size;
        if (s->strstart == 0 || (ulg)s->strstart >= max_start) {
	    /* strstart == 0 is possible when wraparound on 16-bit machine */
	    s->lookahead = (uInt)(s->strstart - max_start);
	    s->strstart = (uInt)max_start;
            FLUSH_BLOCK(s, 0);
	}
	/* Flush if we may have to slide, otherwise block_start may become
         * negative and the data will be gone:
         */
        if (s->strstart - (uInt)s->block_start >= MAX_DIST(s)) {
            FLUSH_BLOCK(s, 0);
	}
    }
    FLUSH_BLOCK(s, flush == Z_FINISH);
    return flush == Z_FINISH ? finish_done : block_done;
}

/* ===========================================================================
 * Compress as much as possible from the input stream, return the current
 * block state.
 * This function does not perform lazy evaluation of matches and inserts
 * new strings in the dictionary only for unmatched strings or for short
 * matches. It is used only for the fast compression options.
 */
local block_state deflate_fast(s, flush)
    deflate_state *s;
    int flush;
{
    IPos hash_head = NIL; /* head of the hash chain */
    int bflush;           /* set if current block must be flushed */

    for (;;) {
        /* Make sure that we always have enough lookahead, except
         * at the end of the input file. We need MAX_MATCH bytes
         * for the next match, plus MIN_MATCH bytes to insert the
         * string following the next match.
         */
        if (s->lookahead < MIN_LOOKAHEAD) {
            fill_window(s);
            if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
	        return need_more;
	    }
            if (s->lookahead == 0) break; /* flush the current block */
        }

        /* Insert the string window[strstart .. strstart+2] in the
         * dictionary, and set hash_head to the head of the hash chain:
         */
        if (s->lookahead >= MIN_MATCH) {
            INSERT_STRING(s, s->strstart, hash_head);
        }

        /* Find the longest match, discarding those <= prev_length.
         * At this point we have always match_length < MIN_MATCH
         */
        if (hash_head != NIL && s->strstart - hash_head <= MAX_DIST(s)) {
            /* To simplify the code, we prevent matches with the string
             * of window index 0 (in particular we have to avoid a match
             * of the string with itself at the start of the input file).
             */
            if (s->strategy != Z_HUFFMAN_ONLY) {
                s->match_length = longest_match (s, hash_head);
            }
            /* longest_match() sets match_start */
        }
        if (s->match_length >= MIN_MATCH) {
            check_match(s, s->strstart, s->match_start, s->match_length);

            _tr_tally_dist(s, s->strstart - s->match_start,
                           s->match_length - MIN_MATCH, bflush);

            s->lookahead -= s->match_length;

            /* Insert new strings in the hash table only if the match length
             * is not too large. This saves time but degrades compression.
             */
#ifndef FASTEST
            if (s->match_length <= s->max_insert_length &&
                s->lookahead >= MIN_MATCH) {
                s->match_length--; /* string at strstart already in hash table */
                do {
                    s->strstart++;
                    INSERT_STRING(s, s->strstart, hash_head);
                    /* strstart never exceeds WSIZE-MAX_MATCH, so there are
                     * always MIN_MATCH bytes ahead.
                     */
                } while (--s->match_length != 0);
                s->strstart++; 
            } else
#endif
	    {
                s->strstart += s->match_length;
                s->match_length = 0;
                s->ins_h = s->window[s->strstart];
                UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
#if MIN_MATCH != 3
                Call UPDATE_HASH() MIN_MATCH-3 more times
#endif
                /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not
                 * matter since it will be recomputed at next deflate call.
                 */
            }
        } else {
            /* No match, output a literal byte */
            Tracevv((stderr,"%c", s->window[s->strstart]));
            _tr_tally_lit (s, s->window[s->strstart], bflush);
            s->lookahead--;
            s->strstart++; 
        }
        if (bflush) FLUSH_BLOCK(s, 0);
    }
    FLUSH_BLOCK(s, flush == Z_FINISH);
    return flush == Z_FINISH ? finish_done : block_done;
}

/* ===========================================================================
 * Same as above, but achieves better compression. We use a lazy
 * evaluation for matches: a match is finally adopted only if there is
 * no better match at the next window position.
 */
local block_state deflate_slow(s, flush)
    deflate_state *s;
    int flush;
{
    IPos hash_head = NIL;    /* head of hash chain */
    int bflush;              /* set if current block must be flushed */

    /* Process the input block. */
    for (;;) {
        /* Make sure that we always have enough lookahead, except
         * at the end of the input file. We need MAX_MATCH bytes
         * for the next match, plus MIN_MATCH bytes to insert the
         * string following the next match.
         */
        if (s->lookahead < MIN_LOOKAHEAD) {
            fill_window(s);
            if (s->lookahead < MIN_LOOKAHEAD && flush == Z_NO_FLUSH) {
	        return need_more;
	    }
            if (s->lookahead == 0) break; /* flush the current block */
        }

        /* Insert the string window[strstart .. strstart+2] in the
         * dictionary, and set hash_head to the head of the hash chain:
         */
        if (s->lookahead >= MIN_MATCH) {
            INSERT_STRING(s, s->strstart, hash_head);
        }

        /* Find the longest match, discarding those <= prev_length.
         */
        s->prev_length = s->match_length, s->prev_match = s->match_start;
        s->match_length = MIN_MATCH-1;

        if (hash_head != NIL && s->prev_length < s->max_lazy_match &&
            s->strstart - hash_head <= MAX_DIST(s)) {
            /* To simplify the code, we prevent matches with the string
             * of window index 0 (in particular we have to avoid a match
             * of the string with itself at the start of the input file).
             */
            if (s->strategy != Z_HUFFMAN_ONLY) {
                s->match_length = longest_match (s, hash_head);
            }
            /* longest_match() sets match_start */

            if (s->match_length <= 5 && (s->strategy == Z_FILTERED ||
                 (s->match_length == MIN_MATCH &&
                  s->strstart - s->match_start > TOO_FAR))) {

                /* If prev_match is also MIN_MATCH, match_start is garbage
                 * but we will ignore the current match anyway.
                 */
                s->match_length = MIN_MATCH-1;
            }
        }
        /* If there was a match at the previous step and the current
         * match is not better, output the previous match:
         */
        if (s->prev_length >= MIN_MATCH && s->match_length <= s->prev_length) {
            uInt max_insert = s->strstart + s->lookahead - MIN_MATCH;
            /* Do not insert strings in hash table beyond this. */

            check_match(s, s->strstart-1, s->prev_match, s->prev_length);

            _tr_tally_dist(s, s->strstart -1 - s->prev_match,
			   s->prev_length - MIN_MATCH, bflush);

            /* Insert in hash table all strings up to the end of the match.
             * strstart-1 and strstart are already inserted. If there is not
             * enough lookahead, the last two strings are not inserted in
             * the hash table.
             */
            s->lookahead -= s->prev_length-1;
            s->prev_length -= 2;
            do {
                if (++s->strstart <= max_insert) {
                    INSERT_STRING(s, s->strstart, hash_head);
                }
            } while (--s->prev_length != 0);
            s->match_available = 0;
            s->match_length = MIN_MATCH-1;
            s->strstart++;

            if (bflush) FLUSH_BLOCK(s, 0);

        } else if (s->match_available) {
            /* If there was no match at the previous position, output a
             * single literal. If there was a match but the current match
             * is longer, truncate the previous match to a single literal.
             */
            Tracevv((stderr,"%c", s->window[s->strstart-1]));
	    _tr_tally_lit(s, s->window[s->strstart-1], bflush);
	    if (bflush) {
                FLUSH_BLOCK_ONLY(s, 0);
            }
            s->strstart++;
            s->lookahead--;
            if (s->strm->avail_out == 0) return need_more;
        } else {
            /* There is no previous match to compare with, wait for
             * the next step to decide.
             */
            s->match_available = 1;
            s->strstart++;
            s->lookahead--;
        }
    }
    Assert (flush != Z_NO_FLUSH, "no flush?");
    if (s->match_available) {
        Tracevv((stderr,"%c", s->window[s->strstart-1]));
        _tr_tally_lit(s, s->window[s->strstart-1], bflush);
        s->match_available = 0;
    }
    FLUSH_BLOCK(s, flush == Z_FINISH);
    return flush == Z_FINISH ? finish_done : block_done;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩电影在线| 亚洲第四色夜色| 天天色图综合网| 国产成人av资源| 日韩一区二区三区高清免费看看| 中文字幕一区三区| 狠狠色丁香婷婷综合| 欧美精品成人一区二区三区四区| 国产精品久久久久久亚洲伦| 国产裸体歌舞团一区二区| 欧美日韩一级视频| 日韩毛片一二三区| 国产精品一区二区在线看| 欧美一区二区福利在线| 五月综合激情日本mⅴ| 91片黄在线观看| 国产精品久久福利| 成人美女视频在线看| 久久久精品天堂| 久色婷婷小香蕉久久| 88在线观看91蜜桃国自产| 亚洲理论在线观看| 99久久免费视频.com| 亚洲人成7777| 91浏览器在线视频| 亚洲自拍偷拍综合| 欧美日韩视频第一区| 性做久久久久久久免费看| 欧美日韩亚洲丝袜制服| 舔着乳尖日韩一区| 91精品国产91久久久久久一区二区| 亚洲国产精品麻豆| 日韩一区二区三区免费看| 麻豆成人久久精品二区三区红| 91精品国产综合久久精品麻豆| 五月婷婷另类国产| 日韩一区二区在线观看| 激情综合色综合久久综合| www国产成人| 国产·精品毛片| 亚洲精品写真福利| 欧美系列日韩一区| 日韩精品亚洲专区| 久久久久久久久久久久久久久99| 岛国av在线一区| 亚洲一区二区3| 91精品国产91久久久久久最新毛片| 久久97超碰国产精品超碰| 久久精品一区四区| 色综合久久久久综合| 亚洲成a天堂v人片| 欧美精品一区二区三区很污很色的 | 日本成人在线看| 日韩午夜激情av| 成人ar影院免费观看视频| 亚洲国产aⅴ天堂久久| 欧美成人精品二区三区99精品| 国产aⅴ综合色| 亚洲国产你懂的| 久久影院午夜片一区| 色综合亚洲欧洲| 日本美女一区二区三区| 国产欧美1区2区3区| 欧美性猛交xxxx黑人交| 精品亚洲欧美一区| 亚洲欧美电影一区二区| 日韩一区二区在线播放| 波多野结衣一区二区三区| 日本最新不卡在线| √…a在线天堂一区| 欧美一区二区三区的| 91视频观看视频| 国产一区视频导航| 亚洲成人精品在线观看| 国产亚洲精品aa| 4438亚洲最大| 91麻豆.com| 国产99久久久国产精品| 免费成人在线播放| 亚洲日本va在线观看| 精品国产区一区| 欧美片在线播放| 99久久综合精品| 国产经典欧美精品| 久久国产精品99久久人人澡| 尤物视频一区二区| 国产日韩综合av| 久久蜜桃香蕉精品一区二区三区| 欧美日韩大陆在线| 色婷婷综合久久久中文字幕| 成人精品国产免费网站| 久久99国产精品麻豆| 日本在线不卡视频| 天天综合天天综合色| 亚洲特级片在线| 国产精品久久三区| 国产日韩高清在线| 久久蜜桃av一区精品变态类天堂 | 欧美性高清videossexo| 成人av影视在线观看| 国产精品影视网| 国产在线精品一区二区| 久草精品在线观看| 麻豆免费看一区二区三区| 日韩av电影一区| 亚洲成人手机在线| 亚洲国产成人tv| 亚洲精品一二三| 一二三区精品视频| 一区二区三区高清| 亚洲福利视频三区| 亚洲电影视频在线| 亚洲成人动漫精品| 日本成人在线视频网站| 麻豆精品久久久| 国产乱码精品一区二区三区五月婷| 久久66热re国产| 国产精品综合av一区二区国产馆| 精品无人码麻豆乱码1区2区 | 久久成人免费网| 精品视频色一区| 欧美日本国产视频| 欧美夫妻性生活| 2020国产精品久久精品美国| 久久精品欧美一区二区三区不卡| 国产精品欧美极品| 亚洲乱码一区二区三区在线观看| 一区二区在线观看免费| 香蕉久久一区二区不卡无毒影院 | 色天使色偷偷av一区二区| 在线观看精品一区| 欧美三级三级三级爽爽爽| 91精品国产综合久久精品| 久久久五月婷婷| 亚洲精品亚洲人成人网在线播放| 亚洲v中文字幕| 国产呦萝稀缺另类资源| 99久久精品免费精品国产| 日韩美女在线视频| 日本一区免费视频| 亚洲一区二区三区在线看| 国产真实乱子伦精品视频| 91视频在线观看免费| 日韩欧美国产三级| 中文字幕中文在线不卡住| 青青草97国产精品免费观看| 高清日韩电视剧大全免费| 欧美男生操女生| 国产日韩av一区| 午夜精品123| 91在线看国产| 精品剧情在线观看| 一区二区三区四区在线播放 | 亚洲成a人在线观看| 国产麻豆午夜三级精品| 91国偷自产一区二区三区观看| 欧美一级欧美三级在线观看| 亚洲视频中文字幕| 麻豆精品蜜桃视频网站| 在线观看成人免费视频| 久久久午夜电影| 午夜激情一区二区三区| 成人av网站在线观看免费| 91精品国产综合久久久蜜臀图片| 中文字幕在线不卡一区| 韩国欧美一区二区| 欧美精品欧美精品系列| 亚洲欧洲国产日本综合| 国产一区二区久久| 欧美人xxxx| 亚洲男女一区二区三区| 国产成人精品综合在线观看| 制服丝袜中文字幕亚洲| 亚洲精品高清视频在线观看| 国产成人午夜精品5599| 久久在线免费观看| 日韩av一二三| 在线电影国产精品| 亚洲一区二区视频| 91久久奴性调教| 欧美国产精品一区二区| 国产乱码一区二区三区| 精品国产乱码久久久久久老虎| 午夜亚洲福利老司机| 91国内精品野花午夜精品| 亚洲欧洲日韩在线| av亚洲精华国产精华| 国产欧美1区2区3区| 国产激情91久久精品导航| 久久久久久久久久久久电影| 精品在线免费观看| 精品国产免费久久 | 久久色.com| 国产在线看一区| 精品久久久久一区| 久久99久久99小草精品免视看| 欧美变态tickle挠乳网站| 久久精品国产一区二区三区免费看| 3d动漫精品啪啪一区二区竹菊| 韩国av一区二区三区|