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

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

?? infback9.c

?? 一款用來進行網絡模擬的軟件
?? C
?? 第 1 頁 / 共 2 頁
字號:
/* infback9.c -- inflate deflate64 data using a call-back interface * Copyright (C) 1995-2003 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */#include "zutil.h"#include "infback9.h"#include "inftree9.h"#include "inflate9.h"#define WSIZE 65536UL/*   strm provides memory allocation functions in zalloc and zfree, or   Z_NULL to use the library memory allocation functions.   window is a user-supplied window and output buffer that is 64K bytes. */int ZEXPORT inflateBack9Init_(strm, window, version, stream_size)z_stream FAR *strm;unsigned char FAR *window;const char *version;int stream_size;{    struct inflate_state FAR *state;    if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||        stream_size != (int)(sizeof(z_stream)))        return Z_VERSION_ERROR;    if (strm == Z_NULL || window == Z_NULL)        return Z_STREAM_ERROR;    strm->msg = Z_NULL;                 /* in case we return an error */    if (strm->zalloc == (alloc_func)0) {        strm->zalloc = zcalloc;        strm->opaque = (voidpf)0;    }    if (strm->zfree == (free_func)0) strm->zfree = zcfree;    state = (struct inflate_state FAR *)ZALLOC(strm, 1,                                               sizeof(struct inflate_state));    if (state == Z_NULL) return Z_MEM_ERROR;    Tracev((stderr, "inflate: allocated\n"));    strm->state = (voidpf)state;    state->window = window;    return Z_OK;}/*   Build and output length and distance decoding tables for fixed code   decoding. */#ifdef MAKEFIXED#include <stdio.h>void makefixed9(void){    unsigned sym, bits, low, size;    code *next, *lenfix, *distfix;    struct inflate_state state;    code fixed[544];    /* literal/length table */    sym = 0;    while (sym < 144) state.lens[sym++] = 8;    while (sym < 256) state.lens[sym++] = 9;    while (sym < 280) state.lens[sym++] = 7;    while (sym < 288) state.lens[sym++] = 8;    next = fixed;    lenfix = next;    bits = 9;    inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work);    /* distance table */    sym = 0;    while (sym < 32) state.lens[sym++] = 5;    distfix = next;    bits = 5;    inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work);    /* write tables */    puts("    /* inffix9.h -- table for decoding deflate64 fixed codes");    puts("     * Generated automatically by makefixed9().");    puts("     */");    puts("");    puts("    /* WARNING: this file should *not* be used by applications.");    puts("       It is part of the implementation of this library and is");    puts("       subject to change. Applications should only use zlib.h.");    puts("     */");    puts("");    size = 1U << 9;    printf("    static const code lenfix[%u] = {", size);    low = 0;    for (;;) {        if ((low % 6) == 0) printf("\n        ");        printf("{%u,%u,%d}", lenfix[low].op, lenfix[low].bits,               lenfix[low].val);        if (++low == size) break;        putchar(',');    }    puts("\n    };");    size = 1U << 5;    printf("\n    static const code distfix[%u] = {", size);    low = 0;    for (;;) {        if ((low % 5) == 0) printf("\n        ");        printf("{%u,%u,%d}", distfix[low].op, distfix[low].bits,               distfix[low].val);        if (++low == size) break;        putchar(',');    }    puts("\n    };");}#endif /* MAKEFIXED *//* Macros for inflateBack(): *//* Clear the input bit accumulator */#define INITBITS() \    do { \        hold = 0; \        bits = 0; \    } while (0)/* Assure that some input is available.  If input is requested, but denied,   then return a Z_BUF_ERROR from inflateBack(). */#define PULL() \    do { \        if (have == 0) { \            have = in(in_desc, &next); \            if (have == 0) { \                next = Z_NULL; \                ret = Z_BUF_ERROR; \                goto inf_leave; \            } \        } \    } while (0)/* Get a byte of input into the bit accumulator, or return from inflateBack()   with an error if there is no input available. */#define PULLBYTE() \    do { \        PULL(); \        have--; \        hold += (unsigned long)(*next++) << bits; \        bits += 8; \    } while (0)/* Assure that there are at least n bits in the bit accumulator.  If there is   not enough available input to do that, then return from inflateBack() with   an error. */#define NEEDBITS(n) \    do { \        while (bits < (unsigned)(n)) \            PULLBYTE(); \    } while (0)/* Return the low n bits of the bit accumulator (n <= 16) */#define BITS(n) \    ((unsigned)hold & ((1U << (n)) - 1))/* Remove n bits from the bit accumulator */#define DROPBITS(n) \    do { \        hold >>= (n); \        bits -= (unsigned)(n); \    } while (0)/* Remove zero to seven bits as needed to go to a byte boundary */#define BYTEBITS() \    do { \        hold >>= bits & 7; \        bits -= bits & 7; \    } while (0)/* Assure that some output space is available, by writing out the window   if it's full.  If the write fails, return from inflateBack() with a   Z_BUF_ERROR. */#define ROOM() \    do { \        if (left == 0) { \            put = window; \            left = WSIZE; \            wrap = 1; \            if (out(out_desc, put, (unsigned)left)) { \                ret = Z_BUF_ERROR; \                goto inf_leave; \            } \        } \    } while (0)/*   strm provides the memory allocation functions and window buffer on input,   and provides information on the unused input on return.  For Z_DATA_ERROR   returns, strm will also provide an error message.   in() and out() are the call-back input and output functions.  When   inflateBack() needs more input, it calls in().  When inflateBack() has   filled the window with output, or when it completes with data in the   window, it calls out() to write out the data.  The application must not   change the provided input until in() is called again or inflateBack()   returns.  The application must not change the window/output buffer until   inflateBack() returns.   in() and out() are called with a descriptor parameter provided in the   inflateBack() call.  This parameter can be a structure that provides the   information required to do the read or write, as well as accumulated   information on the input and output such as totals and check values.   in() should return zero on failure.  out() should return non-zero on   failure.  If either in() or out() fails, than inflateBack() returns a   Z_BUF_ERROR.  strm->next_in can be checked for Z_NULL to see whether it   was in() or out() that caused in the error.  Otherwise,  inflateBack()   returns Z_STREAM_END on success, Z_DATA_ERROR for an deflate format   error, or Z_MEM_ERROR if it could not allocate memory for the state.   inflateBack() can also return Z_STREAM_ERROR if the input parameters   are not correct, i.e. strm is Z_NULL or the state was not initialized. */int ZEXPORT inflateBack9(strm, in, in_desc, out, out_desc)z_stream FAR *strm;in_func in;void FAR *in_desc;out_func out;void FAR *out_desc;{    struct inflate_state FAR *state;    unsigned char FAR *next;    /* next input */    unsigned char FAR *put;     /* next output */    unsigned have;              /* available input */    unsigned long left;         /* available output */    inflate_mode mode;          /* current inflate mode */    int lastblock;              /* true if processing last block */    int wrap;                   /* true if the window has wrapped */    unsigned long write;        /* window write index */    unsigned char FAR *window;  /* allocated sliding window, if needed */    unsigned long hold;         /* bit buffer */    unsigned bits;              /* bits in bit buffer */    unsigned extra;             /* extra bits needed */    unsigned long length;       /* literal or length of data to copy */    unsigned long offset;       /* distance back to copy string from */    unsigned long copy;         /* number of stored or match bytes to copy */    unsigned char FAR *from;    /* where to copy match bytes from */    code const FAR *lencode;    /* starting table for length/literal codes */    code const FAR *distcode;   /* starting table for distance codes */    unsigned lenbits;           /* index bits for lencode */    unsigned distbits;          /* index bits for distcode */    code this;                  /* current decoding table entry */    code last;                  /* parent table entry */    unsigned len;               /* length to copy for repeats, bits to drop */    int ret;                    /* return code */    static const unsigned short order[19] = /* permutation of code lengths */        {16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15};#include "inffix9.h"    /* Check that the strm exists and that the state was initialized */    if (strm == Z_NULL || strm->state == Z_NULL)        return Z_STREAM_ERROR;    state = (struct inflate_state FAR *)strm->state;    /* Reset the state */    strm->msg = Z_NULL;    mode = TYPE;    lastblock = 0;    write = 0;    wrap = 0;    window = state->window;    next = strm->next_in;    have = next != Z_NULL ? strm->avail_in : 0;    hold = 0;    bits = 0;    put = window;    left = WSIZE;    lencode = Z_NULL;    distcode = Z_NULL;    /* Inflate until end of block marked as last */    for (;;)        switch (mode) {        case TYPE:            /* determine and dispatch block type */            if (lastblock) {                BYTEBITS();                mode = DONE;                break;            }            NEEDBITS(3);            lastblock = BITS(1);            DROPBITS(1);            switch (BITS(2)) {            case 0:                             /* stored block */                Tracev((stderr, "inflate:     stored block%s\n",                        lastblock ? " (last)" : ""));                mode = STORED;                break;            case 1:                             /* fixed block */                lencode = lenfix;                lenbits = 9;                distcode = distfix;                distbits = 5;                Tracev((stderr, "inflate:     fixed codes block%s\n",                        lastblock ? " (last)" : ""));                mode = LEN;                     /* decode codes */                break;            case 2:                             /* dynamic block */                Tracev((stderr, "inflate:     dynamic codes block%s\n",                        lastblock ? " (last)" : ""));                mode = TABLE;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人综合婷婷国产精品久久| 日韩欧美国产一区二区三区| 欧美精品久久一区| 国产人成一区二区三区影院| 亚洲综合在线五月| 成人精品视频一区| 精品国产乱码久久久久久老虎| 有码一区二区三区| 高清不卡一区二区| 精品久久久久久久久久久久久久久| 亚洲欧美一区二区久久| 国产美女视频一区| 欧美成人aa大片| 午夜免费久久看| 色婷婷久久久综合中文字幕 | 欧美午夜理伦三级在线观看| 久久久久国色av免费看影院| 午夜精品久久久久久久| 一本到三区不卡视频| 欧美国产一区在线| 国产成人自拍网| 久久九九久久九九| 国产成人午夜视频| 久久日一线二线三线suv| 麻豆精品久久久| 精品欧美一区二区三区精品久久| 亚洲成a人片在线不卡一二三区| 97se亚洲国产综合自在线不卡| 欧美激情中文字幕| 丁香另类激情小说| 国产精品三级av| 成人白浆超碰人人人人| 欧美韩日一区二区三区| 99在线视频精品| 亚洲精品亚洲人成人网| 欧洲一区在线电影| 亚洲电影你懂得| 欧美一区二区三区在| 日日夜夜免费精品| 日韩欧美一级二级| 国模一区二区三区白浆| 国产偷v国产偷v亚洲高清| 成人性生交大片免费| 日韩美女视频一区| 欧美亚洲国产怡红院影院| 亚洲国产美女搞黄色| 91精品欧美久久久久久动漫| 奇米精品一区二区三区在线观看| 日韩三级视频在线看| 国产精品18久久久久久久久 | 国产亚洲精品aa午夜观看| 国产激情一区二区三区| 国产精品家庭影院| 欧美中文字幕一二三区视频| 婷婷开心激情综合| 久久综合999| 91在线视频播放地址| 视频在线在亚洲| 日韩精品中文字幕一区二区三区| 豆国产96在线|亚洲| 一区二区三区欧美日韩| 日韩精品一区二区三区视频播放| 国产99久久久精品| 亚洲国产精品自拍| 国产网站一区二区| 欧美午夜在线观看| 高清成人免费视频| 青青草97国产精品免费观看 | 另类综合日韩欧美亚洲| 国产精品三级在线观看| 欧美日韩免费一区二区三区| 国产制服丝袜一区| 亚洲影视在线播放| 国产日韩av一区| 欧美一卡2卡3卡4卡| 成人午夜av电影| 喷白浆一区二区| 亚洲人一二三区| 26uuu亚洲综合色| 欧美日韩亚洲综合在线| 成人性生交大片免费看中文| 美日韩一区二区三区| 一区二区三区中文字幕| 国产色91在线| 日韩一区二区三免费高清| 色综合久久88色综合天天| 国产精品一区二区在线观看不卡| 亚洲一区二区三区影院| 国产精品乱码人人做人人爱| 日韩美女在线视频| 欧美美女网站色| 色爱区综合激月婷婷| 高潮精品一区videoshd| 精品一区二区三区在线观看| 亚洲第一福利视频在线| 亚洲综合色婷婷| 亚洲婷婷在线视频| 中文字幕 久热精品 视频在线| 欧美电视剧免费观看| 欧美电影在线免费观看| 欧美午夜精品久久久久久超碰| 成人99免费视频| 国产成人精品免费网站| 国产在线精品免费| 国内不卡的二区三区中文字幕| 蜜臀av性久久久久蜜臀aⅴ| 午夜成人免费视频| 亚洲福利视频一区二区| 一区二区视频在线| 亚洲你懂的在线视频| 亚洲三级免费观看| 亚洲欧美日韩一区| 亚洲精品五月天| 亚洲国产一二三| 五月天欧美精品| 麻豆高清免费国产一区| 免费在线观看视频一区| 老司机精品视频一区二区三区| 美女一区二区久久| 久久99精品久久久久久动态图| 精品一区二区三区不卡| 国内精品伊人久久久久影院对白| 国产麻豆成人精品| 成人av网站免费| 色婷婷综合激情| 欧美久久久久久蜜桃| 91精品免费在线观看| wwwwxxxxx欧美| 中文字幕成人av| 亚洲卡通欧美制服中文| 亚洲国产另类av| 国产一区二区影院| 成人精品视频一区| 欧美日韩高清在线| 精品国产免费一区二区三区四区| www国产精品av| 亚洲精品视频免费观看| 日韩影院免费视频| 国产精品一线二线三线| 91美女福利视频| 91精品国产福利在线观看| 精品国产精品网麻豆系列| 中文一区二区在线观看| 亚洲一二三级电影| 国模一区二区三区白浆| 色狠狠一区二区三区香蕉| 91精品国产综合久久久蜜臀图片| 久久久精品免费免费| 一区二区三区鲁丝不卡| 久色婷婷小香蕉久久| 91丝袜呻吟高潮美腿白嫩在线观看| 欧美最新大片在线看| 久久久久久久久一| 亚洲最新视频在线观看| 国产精品亚洲午夜一区二区三区| 欧美午夜精品久久久久久孕妇 | 欧美日韩高清在线| 国产日韩欧美a| 日韩精品亚洲专区| va亚洲va日韩不卡在线观看| 欧美四级电影在线观看| 日韩三级精品电影久久久| 亚洲日本va午夜在线电影| 国内精品免费**视频| 欧美色爱综合网| 中文字幕欧美区| 九九视频精品免费| 欧美亚洲国产一区在线观看网站| 亚洲国产精品二十页| 青娱乐精品在线视频| 91黄色免费观看| 国产精品区一区二区三区| 日韩avvvv在线播放| 91久久精品午夜一区二区| 久久久国产午夜精品| 日韩高清不卡一区二区三区| 成人高清av在线| 久久亚洲精华国产精华液 | 成人av资源下载| 久久综合九色综合久久久精品综合| 亚洲成av人片一区二区梦乃| proumb性欧美在线观看| 国产日本一区二区| 久久机这里只有精品| 欧美精品精品一区| 亚洲大片精品永久免费| 国产成人亚洲综合a∨婷婷| 久久中文娱乐网| 精品一区二区三区欧美| 日韩亚洲欧美一区二区三区| 午夜精品国产更新| 欧美精品tushy高清| 亚洲精品日产精品乱码不卡| av一区二区三区| 国产精品久久久久久久久久免费看 | 日韩女优毛片在线| 日韩高清一区二区| 欧美日韩国产色站一区二区三区| 亚洲私人影院在线观看| 日本韩国精品在线|