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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? deflate.c

?? funambol windows mobile plugin source code, the source code is taken from the funambol site
?? C
?? 第 1 頁 / 共 4 頁
字號:
		 */
	    } while (--n);
#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;
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品奇米国产一区二区三区| 丰满放荡岳乱妇91ww| 久久综合色天天久久综合图片| 国产精品99久久久久久似苏梦涵| 亚洲少妇最新在线视频| 精品美女在线播放| 欧美中文字幕一区二区三区亚洲| 国产真实乱对白精彩久久| 亚洲妇女屁股眼交7| 中文字幕成人网| 精品三级av在线| 欧美日韩国产综合视频在线观看| 国产69精品久久久久毛片| 日本三级亚洲精品| 亚洲成人三级小说| 亚洲欧美日韩国产综合在线 | 日韩一级在线观看| 色呦呦日韩精品| 懂色av一区二区三区免费看| 久久不见久久见免费视频1| 一区二区在线观看视频| 国产精品女同一区二区三区| 欧美大度的电影原声| 欧美在线观看一二区| 91亚洲精品乱码久久久久久蜜桃| 精品一区二区三区免费观看| 日韩福利视频网| 香蕉成人伊视频在线观看| 亚洲婷婷综合久久一本伊一区| 久久久99久久| 国产欧美日韩不卡| 国产亚洲精品久| 久久久久国色av免费看影院| 亚洲精品一区二区三区在线观看| 91精品国产综合久久精品性色| 欧美日韩精品三区| 欧美人妖巨大在线| 777午夜精品免费视频| 欧美精品日日鲁夜夜添| 欧美三级在线视频| 欧美日韩专区在线| 91麻豆精品国产无毒不卡在线观看 | 久久综合国产精品| 精品久久久久一区| 精品福利一区二区三区免费视频| 欧美一级日韩免费不卡| 日韩欧美国产综合一区 | 欧美高清视频在线高清观看mv色露露十八| 91网站视频在线观看| 91农村精品一区二区在线| 一本大道久久a久久精品综合| 94色蜜桃网一区二区三区| 色老汉一区二区三区| 欧美亚洲国产怡红院影院| 精品视频在线免费| 日韩网站在线看片你懂的| 欧美videos中文字幕| 国产肉丝袜一区二区| 国产精品国产三级国产aⅴ无密码| 国产农村妇女精品| 亚洲人成网站色在线观看| 一区二区三区精品在线| 日本视频在线一区| 国产美女久久久久| www.欧美日韩| 欧美日韩在线精品一区二区三区激情 | 亚洲韩国一区二区三区| 毛片av中文字幕一区二区| 国产综合久久久久久久久久久久| 国产成人免费在线| 色综合av在线| 精品精品欲导航| 国产女人18水真多18精品一级做| 亚洲女子a中天字幕| 五月天久久比比资源色| 韩国欧美国产1区| 91日韩在线专区| 欧美成人一级视频| 亚洲色图欧美偷拍| 精品一区二区三区在线播放| 成人av网站免费| 欧美一卡二卡在线| 中文字幕亚洲视频| 蜜桃免费网站一区二区三区| 成人免费看黄yyy456| 欧美日韩免费一区二区三区| 久久久久国产精品厨房| 亚洲一区二区av电影| 国产一区在线精品| 欧美午夜精品一区二区蜜桃| 久久蜜桃av一区二区天堂| 亚洲综合在线电影| 国产精品18久久久久久久网站| 欧美日韩一级二级| 国产精品色眯眯| 美女在线视频一区| 在线观看日韩毛片| 国产精品三级久久久久三级| 同产精品九九九| 99久久综合国产精品| 精品国产第一区二区三区观看体验 | 国产乱对白刺激视频不卡| 欧美丝袜丝交足nylons图片| 国产女人18水真多18精品一级做| 三级在线观看一区二区 | 色噜噜久久综合| 久久久国产综合精品女国产盗摄| 天堂av在线一区| 色香蕉久久蜜桃| 国产精品污污网站在线观看 | 欧洲一区二区三区在线| 日本一区二区三区久久久久久久久不| 亚洲成人久久影院| 97se亚洲国产综合自在线| 亚洲精品在线电影| 另类小说色综合网站| 欧美日韩国产美女| 一区二区欧美精品| 91麻豆免费在线观看| 国产精品久久一卡二卡| 国产精品中文有码| 久久综合网色—综合色88| 日韩电影在线观看网站| 日本韩国欧美一区| 亚洲色图在线视频| 91丨porny丨户外露出| 国产精品美女www爽爽爽| 国产成人精品三级麻豆| 久久精品亚洲一区二区三区浴池| 青草av.久久免费一区| 欧美日韩中文精品| 日韩精品福利网| 91精品久久久久久蜜臀| 日日夜夜免费精品| 欧美一区二区三区在线视频| 亚洲成人午夜电影| 欧美一区二区三区视频免费播放| 午夜日韩在线电影| 日韩欧美亚洲一区二区| 麻豆一区二区三| 精品国产91乱码一区二区三区 | 成人av动漫在线| 中文字幕在线观看不卡视频| av亚洲精华国产精华精华| 亚洲欧美在线aaa| 91麻豆福利精品推荐| 亚洲成av人片在线| 欧美日韩的一区二区| 亚洲一级电影视频| 欧美日韩亚洲综合在线| 精品中文av资源站在线观看| 亚洲精品在线一区二区| 久久国产精品区| 中文文精品字幕一区二区| 国产成人99久久亚洲综合精品| 久久久噜噜噜久噜久久综合| 日本在线不卡视频一二三区| 欧美日韩精品一区二区三区| 亚洲18色成人| 在线综合视频播放| 国产精品亚洲午夜一区二区三区| 久久久久久97三级| 成人aa视频在线观看| 日韩美一区二区三区| 福利91精品一区二区三区| 欧美经典三级视频一区二区三区| 久久99热这里只有精品| 日韩欧美一级精品久久| 国产精品资源网| 欧美国产日韩a欧美在线观看| 国产91对白在线观看九色| 国产精品动漫网站| 欧美精品粉嫩高潮一区二区| 蜜桃视频一区二区三区| 久久新电视剧免费观看| 成人精品gif动图一区| 亚洲一区二区三区免费视频| 4438亚洲最大| 国产成人亚洲综合a∨婷婷| 久久影院电视剧免费观看| 日本久久电影网| 全国精品久久少妇| 久久九九99视频| 国产99一区视频免费| 一区二区三区欧美激情| 3d成人h动漫网站入口| 午夜精品久久久久久久99樱桃 | 国产精品国产馆在线真实露脸| 懂色av中文一区二区三区| 亚洲精品国产第一综合99久久| 欧美日韩一卡二卡三卡 | 亚洲女女做受ⅹxx高潮| 欧美日本一道本在线视频| 波波电影院一区二区三区| 亚洲成人激情综合网| 2023国产精品| 91久久一区二区| 国产盗摄一区二区| 亚洲v精品v日韩v欧美v专区| 久久综合九色综合久久久精品综合|