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

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

?? infback9.c

?? 一款用來進行網(wǎng)絡模擬的軟件
?? 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一区二区三区免费野_久草精品视频
色成年激情久久综合| 亚洲一线二线三线视频| 激情综合一区二区三区| 日韩欧美国产综合| 美女国产一区二区| 国产亚洲自拍一区| av在线综合网| 亚洲妇熟xx妇色黄| 日韩欧美成人一区二区| 国产99一区视频免费 | 91麻豆精品久久久久蜜臀| 亚洲国产裸拍裸体视频在线观看乱了| 欧美日韩综合在线免费观看| 日韩国产欧美三级| 久久久久久久综合狠狠综合| 成人国产精品视频| 亚洲一区二区不卡免费| 欧美电影免费观看高清完整版| 韩国女主播一区| 国产精品久久久久久亚洲伦| 一本色道亚洲精品aⅴ| 日本在线观看不卡视频| 国产网站一区二区| 在线精品国精品国产尤物884a| 免费在线成人网| 国产三级精品三级在线专区| 色狠狠桃花综合| 精品一区二区三区视频在线观看| 国产精品美女一区二区三区| 欧美色综合网站| 夫妻av一区二区| 天堂资源在线中文精品| 久久精品免费在线观看| 欧美日韩一区不卡| 国产成人免费网站| 午夜精品视频一区| 亚洲va在线va天堂| 国产精品久久久久久久久果冻传媒| 欧美性生活一区| 国产高清不卡一区| 日韩精品欧美精品| 亚洲精品免费一二三区| 精品乱人伦小说| 欧美色男人天堂| 波多野结衣亚洲| 麻豆精品在线播放| 亚洲精品国产a| 日本一区二区三区电影| 日韩欧美亚洲国产另类| 91福利视频网站| 不卡一区二区三区四区| 久久99热99| 全国精品久久少妇| 婷婷综合另类小说色区| 一区二区三区在线免费观看| 国产精品美女久久久久高潮| 精品国产乱码久久| 日韩片之四级片| 欧美精品精品一区| 欧洲精品在线观看| 成人av在线资源网| 国产福利一区二区三区视频| 老司机午夜精品| 麻豆精品一二三| 日日骚欧美日韩| 日韩精品电影一区亚洲| 五月婷婷综合网| 亚洲成a人片在线观看中文| 亚洲一区二区欧美激情| 一区二区三区四区亚洲| 一区二区三区欧美亚洲| 亚洲欧美色一区| 亚洲综合精品久久| 一区二区三区日韩在线观看| 亚洲综合激情网| 午夜视频一区二区三区| 日韩精品欧美精品| 久久成人精品无人区| 久国产精品韩国三级视频| 极品尤物av久久免费看| 国产资源在线一区| 成人高清免费在线播放| av在线一区二区| 久久精品在这里| 国产精品二三区| 亚洲激情男女视频| 天天做天天摸天天爽国产一区 | 亚洲www啪成人一区二区麻豆| 一区二区三区四区在线播放| 亚洲一二三四在线观看| 午夜视频在线观看一区二区三区| 亚洲大片免费看| 日韩在线播放一区二区| 蜜臀av在线播放一区二区三区| 国产在线视视频有精品| 国产ts人妖一区二区| 91女厕偷拍女厕偷拍高清| 欧美中文字幕一区| 日韩欧美中文一区| 久久精品欧美日韩精品| 亚洲激情在线播放| 麻豆成人91精品二区三区| 国产乱理伦片在线观看夜一区| 不卡欧美aaaaa| 欧美色综合网站| 精品国产不卡一区二区三区| 国产精品私房写真福利视频| 一级做a爱片久久| 九色综合狠狠综合久久| av综合在线播放| 欧美一二区视频| 欧美极品另类videosde| 亚洲二区在线观看| 国产精品一区二区无线| 在线免费一区三区| 精品国产伦一区二区三区观看体验 | 精品国产麻豆免费人成网站| 中文字幕一区二区三中文字幕| 亚洲国产综合色| 国产不卡视频一区| 精品视频在线看| 国产三级欧美三级日产三级99| 亚洲美女淫视频| 国产一区二区三区精品视频| 91丝袜国产在线播放| 日韩视频不卡中文| 亚洲女与黑人做爰| 国产裸体歌舞团一区二区| 在线视频欧美区| 国产精品全国免费观看高清 | 亚洲成a人片综合在线| 成人丝袜高跟foot| 欧美xxxxxxxx| 婷婷六月综合亚洲| 91免费在线视频观看| 久久精品人人爽人人爽| 日韩高清一区在线| 色综合久久久久综合体桃花网| 2022国产精品视频| 日韩成人av影视| 在线观看免费亚洲| 亚洲欧洲中文日韩久久av乱码| 国产一区二区三区国产| 日韩一区二区三区视频在线| 亚洲在线一区二区三区| 北岛玲一区二区三区四区| 精品日韩在线观看| 亚洲v中文字幕| 国产精品你懂的在线欣赏| 激情综合网最新| 日韩视频一区二区在线观看| 亚洲成人精品一区二区| 一本久道中文字幕精品亚洲嫩| 国产精品女同一区二区三区| 韩国欧美一区二区| 欧美成人女星排行榜| 亚洲精品视频免费看| 成人av网站在线观看免费| 久久久久久久综合色一本| 国内精品伊人久久久久影院对白| 91精品蜜臀在线一区尤物| 亚洲一二三四在线| 在线观看av一区| 亚洲一区在线免费观看| 色综合色狠狠综合色| 亚洲欧美偷拍另类a∨色屁股| 成人福利在线看| 亚洲三级免费观看| 91日韩精品一区| 亚洲一区二区三区四区在线| 色综合天天综合狠狠| 成人免费一区二区三区在线观看| 粉嫩av一区二区三区粉嫩| 国产精品久久久爽爽爽麻豆色哟哟 | 欧美激情一区二区在线| 不卡av在线网| 亚洲免费毛片网站| 欧美中文字幕一二三区视频| 亚洲午夜在线观看视频在线| 欧美日韩电影一区| 青青国产91久久久久久| 欧美电视剧免费全集观看| 韩国三级中文字幕hd久久精品| 亚洲欧美成人一区二区三区| 午夜影院久久久| 久久国产精品色| 久久嫩草精品久久久精品一| 国产成人午夜精品5599| 国产精品女同一区二区三区| 91色在线porny| 亚洲午夜激情av| 在线不卡中文字幕| 九九久久精品视频| 国产精品视频一二三| 91精彩视频在线| 日韩精品91亚洲二区在线观看| 欧美精品一区在线观看| 99久久久国产精品| 青娱乐精品视频在线| 国产欧美日韩另类视频免费观看 |