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

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

?? deflate.c

?? 一個本地database引擎,支持中文T_Sql查詢,兼容DELPHI標準數據庫控件
?? C
?? 第 1 頁 / 共 5 頁
字號:
    int nice_match = s->nice_match;             /* stop if match long enough */
    IPos limit = s->strstart > (IPos)MAX_DIST(s) ?
        s->strstart - (IPos)MAX_DIST(s) : NIL;
    /* Stop when cur_match becomes <= limit. To simplify the code,
     * we prevent matches with the string of window index 0.
     */
    Posf *prev = s->prev;
    uInt wmask = s->w_mask;

#ifdef UNALIGNED_OK
    /* Compare two bytes at a time. Note: this is not always beneficial.
     * Try with and without -DUNALIGNED_OK to check.
     */
    register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
    register ush scan_start = *(ushf*)scan;
    register ush scan_end   = *(ushf*)(scan+best_len-1);
#else
    register Bytef *strend = s->window + s->strstart + MAX_MATCH;
    register Byte scan_end1  = scan[best_len-1];
    register Byte scan_end   = scan[best_len];
#endif

    /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
     * It is easy to get rid of this optimization if necessary.
     */
    Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");

    /* Do not waste too much time if we already have a good match: */
    if (s->prev_length >= s->good_match) {
        chain_length >>= 2;
    }
    /* Do not look for matches beyond the end of the input. This is necessary
     * to make deflate deterministic.
     */
    if ((uInt)nice_match > s->lookahead) nice_match = s->lookahead;

    Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");

    do {
        Assert(cur_match < s->strstart, "no future");
        match = s->window + cur_match;

        /* Skip to next match if the match length cannot increase
         * or if the match length is less than 2.  Note that the checks below
         * for insufficient lookahead only occur occasionally for performance
         * reasons.  Therefore uninitialized memory will be accessed, and
         * conditional jumps will be made that depend on those values.
         * However the length of the match is limited to the lookahead, so
         * the output of deflate is not affected by the uninitialized values.
         */
#if (defined(UNALIGNED_OK) && MAX_MATCH == 258)
        /* This code assumes sizeof(unsigned short) == 2. Do not use
         * UNALIGNED_OK if your compiler uses a different size.
         */
        if (*(ushf*)(match+best_len-1) != scan_end ||
            *(ushf*)match != scan_start) continue;

        /* It is not necessary to compare scan[2] and match[2] since they are
         * always equal when the other bytes match, given that the hash keys
         * are equal and that HASH_BITS >= 8. Compare 2 bytes at a time at
         * strstart+3, +5, ... up to strstart+257. We check for insufficient
         * lookahead only every 4th comparison; the 128th check will be made
         * at strstart+257. If MAX_MATCH-2 is not a multiple of 8, it is
         * necessary to put more guard bytes at the end of the window, or
         * to check more often for insufficient lookahead.
         */
        Assert(scan[2] == match[2], "scan[2]?");
        scan++, match++;
        do {
        } while (*(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
                 *(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
                 *(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
                 *(ushf*)(scan+=2) == *(ushf*)(match+=2) &&
                 scan < strend);
        /* The funny "do {}" generates better code on most compilers */

        /* Here, scan <= window+strstart+257 */
        Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
        if (*scan == *match) scan++;

        len = (MAX_MATCH - 1) - (int)(strend-scan);
        scan = strend - (MAX_MATCH-1);

#else /* UNALIGNED_OK */

        if (match[best_len]   != scan_end  ||
            match[best_len-1] != scan_end1 ||
            *match            != *scan     ||
            *++match          != scan[1])      continue;

        /* The check at best_len-1 can be removed because it will be made
         * again later. (This heuristic is not always a win.)
         * It is not necessary to compare scan[2] and match[2] since they
         * are always equal when the other bytes match, given that
         * the hash keys are equal and that HASH_BITS >= 8.
         */
        scan += 2, match++;
        Assert(*scan == *match, "match[2]?");

        /* We check for insufficient lookahead only every 8th comparison;
         * the 256th check will be made at strstart+258.
         */
        do {
        } while (*++scan == *++match && *++scan == *++match &&
                 *++scan == *++match && *++scan == *++match &&
                 *++scan == *++match && *++scan == *++match &&
                 *++scan == *++match && *++scan == *++match &&
                 scan < strend);

        Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");

        len = MAX_MATCH - (int)(strend - scan);
        scan = strend - MAX_MATCH;

#endif /* UNALIGNED_OK */

        if (len > best_len) {
            s->match_start = cur_match;
            best_len = len;
            if (len >= nice_match) break;
#ifdef UNALIGNED_OK
            scan_end = *(ushf*)(scan+best_len-1);
#else
            scan_end1  = scan[best_len-1];
            scan_end   = scan[best_len];
#endif
        }
    } while ((cur_match = prev[cur_match & wmask]) > limit
             && --chain_length != 0);

    if ((uInt)best_len <= s->lookahead) return (uInt)best_len;
    return s->lookahead;
}
#endif /* ASMV */
#endif /* FASTEST */

/* ---------------------------------------------------------------------------
 * Optimized version for level == 1 or strategy == Z_RLE only
 */
local uInt longest_match_fast(s, cur_match)
    deflate_state *s;
    IPos cur_match;                             /* current match */
{
    register Bytef *scan = s->window + s->strstart; /* current string */
    register Bytef *match;                       /* matched string */
    register int len;                           /* length of current match */
    register Bytef *strend = s->window + s->strstart + MAX_MATCH;

    /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.
     * It is easy to get rid of this optimization if necessary.
     */
    Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");

    Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");

    Assert(cur_match < s->strstart, "no future");

    match = s->window + cur_match;

    /* Return failure if the match length is less than 2:
     */
    if (match[0] != scan[0] || match[1] != scan[1]) return MIN_MATCH-1;

    /* The check at best_len-1 can be removed because it will be made
     * again later. (This heuristic is not always a win.)
     * It is not necessary to compare scan[2] and match[2] since they
     * are always equal when the other bytes match, given that
     * the hash keys are equal and that HASH_BITS >= 8.
     */
    scan += 2, match += 2;
    Assert(*scan == *match, "match[2]?");

    /* We check for insufficient lookahead only every 8th comparison;
     * the 256th check will be made at strstart+258.
     */
    do {
    } while (*++scan == *++match && *++scan == *++match &&
             *++scan == *++match && *++scan == *++match &&
             *++scan == *++match && *++scan == *++match &&
             *++scan == *++match && *++scan == *++match &&
             scan < strend);

    Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");

    len = MAX_MATCH - (int)(strend - scan);

    if (len < MIN_MATCH) return MIN_MATCH - 1;

    s->match_start = cur_match;
    return (uInt)len <= s->lookahead ? (uInt)len : s->lookahead;
}

#ifdef DEBUG
/* ===========================================================================
 * Check that the match at match_start is indeed a match.
 */
local void check_match(s, start, match, length)
    deflate_state *s;
    IPos start, match;
    int length;
{
    /* check that the match is indeed a match */
    if (zmemcmp(s->window + match,
                s->window + start, length) != EQUAL) {
        fprintf(stderr, " start %u, match %u, length %d\n",
                start, match, length);
        do {
            fprintf(stderr, "%c%c", s->window[match++], s->window[start++]);
        } while (--length != 0);
        z_error("invalid match");
    }
    if (z_verbose > 1) {
        fprintf(stderr,"\\[%d,%d]", start-match, length);
        do { putc(s->window[start++], stderr); } while (--length != 0);
    }
}
#else
#  define check_match(s, start, match, length)
#endif /* DEBUG */

/* ===========================================================================
 * Fill the window when the lookahead becomes insufficient.
 * Updates strstart and lookahead.
 *
 * IN assertion: lookahead < MIN_LOOKAHEAD
 * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD
 *    At least one byte has been read, or avail_in == 0; reads are
 *    performed for at least two bytes (required for the zip translate_eol
 *    option -- not supported here).
 */
local void fill_window(s)
    deflate_state *s;
{
    register unsigned n, m;
    register Posf *p;
    unsigned more;    /* Amount of free space at the end of the window. */
    uInt wsize = s->w_size;

    do {
        more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart);

        /* Deal with !@#$% 64K limit: */
        if (sizeof(int) <= 2) {
            if (more == 0 && s->strstart == 0 && s->lookahead == 0) {
                more = wsize;

            } else if (more == (unsigned)(-1)) {
                /* Very unlikely, but possible on 16 bit machine if
                 * strstart == 0 && lookahead == 1 (input done a byte at time)
                 */
                more--;
            }
        }

        /* If the window is almost full and there is insufficient lookahead,
         * move the upper half to the lower one to make room in the upper half.
         */
        if (s->strstart >= wsize+MAX_DIST(s)) {

            zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
            s->match_start -= wsize;
            s->strstart    -= wsize; /* we now have strstart >= MAX_DIST */
            s->block_start -= (long) wsize;

            /* Slide the hash table (could be avoided with 32 bit values
               at the expense of memory usage). We slide even when level == 0
               to keep the hash table consistent if we switch back to level > 0
               later. (Using level 0 permanently is not an optimal usage of
               zlib, so we don't care about this pathological case.)
             */
            /* %%% avoid this when Z_RLE */
            n = s->hash_size;
            p = &s->head[n];
            do {
                m = *--p;
                *p = (Pos)(m >= wsize ? m-wsize : NIL);
            } while (--n);

            n = wsize;
#ifndef FASTEST
            p = &s->prev[n];
            do {
                m = *--p;
                *p = (Pos)(m >= wsize ? m-wsize : NIL);
                /* If n is not on any hash chain, prev[n] is garbage but
                 * its value will never be used.
                 */
            } 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; \
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品91一区二区| 久久久影院官网| 天堂久久一区二区三区| 欧美日韩综合在线免费观看| av电影天堂一区二区在线| 久久影音资源网| 亚洲精品一线二线三线| 日韩激情一区二区| www.亚洲色图.com| 国产清纯美女被跳蛋高潮一区二区久久w| 国产精品不卡在线| 在线免费观看日本一区| 久久日韩粉嫩一区二区三区| 怡红院av一区二区三区| 精品视频一区 二区 三区| 五月婷婷久久综合| 91精品国产福利| 91丨porny丨户外露出| 亚洲自拍偷拍九九九| 91.com在线观看| 国产精品911| 亚洲国产成人精品视频| 在线观看av一区二区| 免费成人美女在线观看| 中文天堂在线一区| 欧美私人免费视频| 成人亚洲一区二区一| 婷婷激情综合网| 国产精品丝袜91| 555夜色666亚洲国产免| 日本精品一区二区三区高清 | 国产乱淫av一区二区三区| 26uuu国产在线精品一区二区| 国产成人精品在线看| 亚州成人在线电影| 国产美女在线观看一区| 国产精品成人网| 极品美女销魂一区二区三区免费| 亚洲老司机在线| 国产精品日日摸夜夜摸av| www国产亚洲精品久久麻豆| 56国语精品自产拍在线观看| www.欧美.com| 99re这里都是精品| 国产传媒欧美日韩成人| 国产激情一区二区三区| 美美哒免费高清在线观看视频一区二区| 精品999久久久| 日韩一区二区三区观看| 欧美久久一二区| 欧美日韩在线三级| 欧美一区二区三区免费观看视频| 国产91丝袜在线观看| 成人黄色777网| av综合在线播放| 91视视频在线观看入口直接观看www | 91猫先生在线| 在线不卡一区二区| 在线观看欧美精品| 精品日韩av一区二区| 欧美精品一区二区三区久久久| 亚洲天堂福利av| 国产一区在线精品| 日韩一区二区三免费高清| 国产精品久久久久7777按摩| 日韩成人伦理电影在线观看| 99国产欧美另类久久久精品| 久久久一区二区三区| 男人的天堂亚洲一区| 欧美性色欧美a在线播放| 国产精品九色蝌蚪自拍| 天天综合网 天天综合色| 在线观看视频一区二区欧美日韩| 欧美国产一区在线| 成人黄色在线看| 亚洲欧洲99久久| 91香蕉视频黄| 一区二区三区在线观看欧美| 99久久精品一区二区| 中文字幕中文在线不卡住| www.欧美.com| 夜夜嗨av一区二区三区四季av| 国产很黄免费观看久久| 国产精品久久久久久久久图文区| 丁香激情综合国产| 亚洲成人自拍一区| 久久欧美一区二区| 91在线视频网址| 日韩精品视频网站| 日韩精品一区二区在线观看| 国产成人超碰人人澡人人澡| 午夜精品久久久久| 精品国产1区2区3区| 成人av网站免费观看| 亚洲国产欧美一区二区三区丁香婷| 欧美日韩一区在线观看| 国产成人在线视频免费播放| 亚洲午夜精品17c| 国产精品家庭影院| 久久久不卡网国产精品二区| 在线精品亚洲一区二区不卡| 午夜精品一区二区三区电影天堂| 久久色视频免费观看| 欧美日韩国产另类一区| 日本乱码高清不卡字幕| 色欧美88888久久久久久影院| 美女脱光内衣内裤视频久久影院| 亚洲桃色在线一区| 久久美女艺术照精彩视频福利播放| 欧美艳星brazzers| 99久久久久免费精品国产| 久久激五月天综合精品| 日日摸夜夜添夜夜添国产精品| 一区二区三区精品久久久| 欧美高清在线一区| 久久新电视剧免费观看| 精品久久久久久久一区二区蜜臀| 91免费观看视频| 欧美视频一二三区| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 一区二区在线观看视频| 国产精品青草综合久久久久99| 久久色中文字幕| 国产日韩成人精品| 亚洲三级在线免费| 日本色综合中文字幕| 久久99久久精品| 一本色道久久综合亚洲aⅴ蜜桃 | 成人黄色a**站在线观看| 国产一区二区调教| 风间由美一区二区三区在线观看| 国产精品白丝av| 成人三级伦理片| 欧美视频在线一区二区三区 | 香蕉久久夜色精品国产使用方法| **欧美大码日韩| 日韩成人一级片| 成人av在线电影| 日韩免费一区二区三区在线播放| 欧美激情中文不卡| 一区二区三区四区乱视频| 久久精品国产一区二区三区免费看 | 欧美性感一区二区三区| 日韩一级大片在线观看| 国产精品视频免费看| 日韩av中文字幕一区二区 | 日韩中文字幕1| 成人精品国产免费网站| 26uuu另类欧美| 日韩va欧美va亚洲va久久| 在线免费观看日本一区| 国产拍揄自揄精品视频麻豆| 日本欧美一区二区在线观看| 91网站最新地址| 中文字幕一区三区| 99久久综合色| 亚洲人一二三区| 欧美色网站导航| 午夜亚洲福利老司机| 欧美一区二区在线不卡| 天天影视网天天综合色在线播放| 欧美特级限制片免费在线观看| 国产片一区二区| 91啦中文在线观看| 日韩伦理av电影| 欧美四级电影网| 免播放器亚洲一区| 日本一二三不卡| 国产成人日日夜夜| 亚洲精品美国一| 久久精品水蜜桃av综合天堂| 国产精品一区在线| 婷婷国产v国产偷v亚洲高清| 26uuu久久综合| 欧美午夜寂寞影院| 麻豆精品新av中文字幕| 亚洲人吸女人奶水| 欧美一二三四在线| 91老师片黄在线观看| 亚洲欧美日韩国产手机在线| 欧美日韩免费在线视频| 成人av网站在线观看免费| 日韩av午夜在线观看| 亚洲欧美韩国综合色| 精品欧美黑人一区二区三区| 欧美私模裸体表演在线观看| 国产一区二区久久| 亚洲成av人在线观看| 国产精品国产三级国产a| 久久久精品日韩欧美| 91麻豆精品国产自产在线观看一区| 99久久国产免费看| 处破女av一区二区| 高清不卡一二三区| 国产91丝袜在线18| 成人网男人的天堂| 国产一区不卡在线| 丁香亚洲综合激情啪啪综合| 国产一区二区三区在线观看精品 | 高清视频一区二区|