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

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

?? unzip.cpp

?? 泡泡堂單機(jī)版(含ASL游戲引擎源碼 泡泡堂單機(jī)版(含ASL游戲引擎源碼
?? CPP
?? 第 1 頁 / 共 5 頁
字號:
{
  uInt t;               // temporary storage
  uLong b;              // bit buffer
  uInt k;               // bits in bit buffer
  Byte *p;             // input data pointer
  uInt n;               // bytes available there
  Byte *q;             // output window write pointer
  uInt m;               // bytes to end of window or read pointer 

  // copy input/output information to locals (UPDATE macro restores) 
  LOAD

  // process input based on current state 
  for(;;) switch (s->mode)
  {
    case IBM_TYPE:
      NEEDBITS(3)
      t = (uInt)b & 7;
      s->last = t & 1;
      switch (t >> 1)
      {
        case 0:                         // stored 
          LuTracev((stderr, "inflate:     stored block%s\n",
                 s->last ? " (last)" : ""));
          DUMPBITS(3)
          t = k & 7;                    // go to byte boundary 
          DUMPBITS(t)
          s->mode = IBM_LENS;               // get length of stored block
          break;
        case 1:                         // fixed 
          LuTracev((stderr, "inflate:     fixed codes block%s\n",
                 s->last ? " (last)" : ""));
          {
            uInt bl, bd;
            const inflate_huft *tl, *td;

            inflate_trees_fixed(&bl, &bd, &tl, &td, z);
            s->sub.decode.codes = inflate_codes_new(bl, bd, tl, td, z);
            if (s->sub.decode.codes == Z_NULL)
            {
              r = Z_MEM_ERROR;
              LEAVE
            }
          }
          DUMPBITS(3)
          s->mode = IBM_CODES;
          break;
        case 2:                         // dynamic 
          LuTracev((stderr, "inflate:     dynamic codes block%s\n",
                 s->last ? " (last)" : ""));
          DUMPBITS(3)
          s->mode = IBM_TABLE;
          break;
        case 3:                         // illegal
          DUMPBITS(3)
          s->mode = IBM_BAD;
          z->msg = (char*)"invalid block type";
          r = Z_DATA_ERROR;
          LEAVE
      }
      break;
    case IBM_LENS:
      NEEDBITS(32)
      if ((((~b) >> 16) & 0xffff) != (b & 0xffff))
      {
        s->mode = IBM_BAD;
        z->msg = (char*)"invalid stored block lengths";
        r = Z_DATA_ERROR;
        LEAVE
      }
      s->sub.left = (uInt)b & 0xffff;
      b = k = 0;                      // dump bits 
      LuTracev((stderr, "inflate:       stored length %u\n", s->sub.left));
      s->mode = s->sub.left ? IBM_STORED : (s->last ? IBM_DRY : IBM_TYPE);
      break;
    case IBM_STORED:
      if (n == 0)
        LEAVE
      NEEDOUT
      t = s->sub.left;
      if (t > n) t = n;
      if (t > m) t = m;
      memcpy(q, p, t);
      p += t;  n -= t;
      q += t;  m -= t;
      if ((s->sub.left -= t) != 0)
        break;
      LuTracev((stderr, "inflate:       stored end, %lu total out\n",
              z->total_out + (q >= s->read ? q - s->read :
              (s->end - s->read) + (q - s->window))));
      s->mode = s->last ? IBM_DRY : IBM_TYPE;
      break;
    case IBM_TABLE:
      NEEDBITS(14)
      s->sub.trees.table = t = (uInt)b & 0x3fff;
      // remove this section to workaround bug in pkzip
      if ((t & 0x1f) > 29 || ((t >> 5) & 0x1f) > 29)
      {
        s->mode = IBM_BAD;
        z->msg = (char*)"too many length or distance symbols";
        r = Z_DATA_ERROR;
        LEAVE
      }
      // end remove
      t = 258 + (t & 0x1f) + ((t >> 5) & 0x1f);
      if ((s->sub.trees.blens = (uInt*)ZALLOC(z, t, sizeof(uInt))) == Z_NULL)
      {
        r = Z_MEM_ERROR;
        LEAVE
      }
      DUMPBITS(14)
      s->sub.trees.index = 0;
      LuTracev((stderr, "inflate:       table sizes ok\n"));
      s->mode = IBM_BTREE;
    case IBM_BTREE:
      while (s->sub.trees.index < 4 + (s->sub.trees.table >> 10))
      {
        NEEDBITS(3)
        s->sub.trees.blens[border[s->sub.trees.index++]] = (uInt)b & 7;
        DUMPBITS(3)
      }
      while (s->sub.trees.index < 19)
        s->sub.trees.blens[border[s->sub.trees.index++]] = 0;
      s->sub.trees.bb = 7;
      t = inflate_trees_bits(s->sub.trees.blens, &s->sub.trees.bb,
                             &s->sub.trees.tb, s->hufts, z);
      if (t != Z_OK)
      {
        r = t;        if (r == Z_DATA_ERROR)        {          ZFREE(z, s->sub.trees.blens);          s->mode = IBM_BAD;        }        LEAVE      }
      s->sub.trees.index = 0;
      LuTracev((stderr, "inflate:       bits tree ok\n"));
      s->mode = IBM_DTREE;
    case IBM_DTREE:
      while (t = s->sub.trees.table,
             s->sub.trees.index < 258 + (t & 0x1f) + ((t >> 5) & 0x1f))
      {
        inflate_huft *h;
        uInt i, j, c;

        t = s->sub.trees.bb;
        NEEDBITS(t)
        h = s->sub.trees.tb + ((uInt)b & inflate_mask[t]);
        t = h->bits;
        c = h->base;
        if (c < 16)
        {
          DUMPBITS(t)
          s->sub.trees.blens[s->sub.trees.index++] = c;
        }
        else // c == 16..18 
        {
          i = c == 18 ? 7 : c - 14;
          j = c == 18 ? 11 : 3;
          NEEDBITS(t + i)
          DUMPBITS(t)
          j += (uInt)b & inflate_mask[i];
          DUMPBITS(i)
          i = s->sub.trees.index;
          t = s->sub.trees.table;
          if (i + j > 258 + (t & 0x1f) + ((t >> 5) & 0x1f) ||
              (c == 16 && i < 1))
          {
            ZFREE(z, s->sub.trees.blens);
            s->mode = IBM_BAD;
            z->msg = (char*)"invalid bit length repeat";
            r = Z_DATA_ERROR;
            LEAVE
          }
          c = c == 16 ? s->sub.trees.blens[i - 1] : 0;
          do {
            s->sub.trees.blens[i++] = c;
          } while (--j);
          s->sub.trees.index = i;
        }
      }
      s->sub.trees.tb = Z_NULL;
      {
        uInt bl, bd;
        inflate_huft *tl, *td;
        inflate_codes_statef *c;

        bl = 9;         // must be <= 9 for lookahead assumptions 
        bd = 6;         // must be <= 9 for lookahead assumptions
        t = s->sub.trees.table;
        t = inflate_trees_dynamic(257 + (t & 0x1f), 1 + ((t >> 5) & 0x1f),
                                  s->sub.trees.blens, &bl, &bd, &tl, &td,
                                  s->hufts, z);
        if (t != Z_OK)        {          if (t == (uInt)Z_DATA_ERROR)          {            ZFREE(z, s->sub.trees.blens);            s->mode = IBM_BAD;          }          r = t;          LEAVE        }        LuTracev((stderr, "inflate:       trees ok\n"));        if ((c = inflate_codes_new(bl, bd, tl, td, z)) == Z_NULL)
        {
          r = Z_MEM_ERROR;
          LEAVE
        }
        s->sub.decode.codes = c;
      }
      ZFREE(z, s->sub.trees.blens);      s->mode = IBM_CODES;
    case IBM_CODES:
      UPDATE
      if ((r = inflate_codes(s, z, r)) != Z_STREAM_END)
        return inflate_flush(s, z, r);
      r = Z_OK;
      inflate_codes_free(s->sub.decode.codes, z);
      LOAD
      LuTracev((stderr, "inflate:       codes end, %lu total out\n",
              z->total_out + (q >= s->read ? q - s->read :
              (s->end - s->read) + (q - s->window))));
      if (!s->last)
      {
        s->mode = IBM_TYPE;
        break;
      }
      s->mode = IBM_DRY;
    case IBM_DRY:
      FLUSH
      if (s->read != s->write)
        LEAVE
      s->mode = IBM_DONE;
    case IBM_DONE:
      r = Z_STREAM_END;
      LEAVE
    case IBM_BAD:
      r = Z_DATA_ERROR;
      LEAVE
    default:
      r = Z_STREAM_ERROR;
      LEAVE
  }
}


int inflate_blocks_free(inflate_blocks_statef *s, z_streamp z)
{
  inflate_blocks_reset(s, z, Z_NULL);
  ZFREE(z, s->window);
  ZFREE(z, s->hufts);
  ZFREE(z, s);
  LuTracev((stderr, "inflate:   blocks freed\n"));
  return Z_OK;
}



// inftrees.c -- generate Huffman trees for efficient decoding
// Copyright (C) 1995-1998 Mark Adler
// For conditions of distribution and use, see copyright notice in zlib.h
//



extern const char inflate_copyright[] =
   " inflate 1.1.3 Copyright 1995-1998 Mark Adler ";
// If you use the zlib library in a product, an acknowledgment is welcome
// in the documentation of your product. If for some reason you cannot
// include such an acknowledgment, I would appreciate that you keep this
// copyright string in the executable of your product.



int huft_build (
    uInt *,            // code lengths in bits
    uInt,               // number of codes
    uInt,               // number of "simple" codes
    const uInt *,      // list of base values for non-simple codes
    const uInt *,      // list of extra bits for non-simple codes
    inflate_huft **,// result: starting table
    uInt *,            // maximum lookup bits (returns actual) 
    inflate_huft *,     // space for trees 
    uInt *,             // hufts used in space 
    uInt * );         // space for values 

// Tables for deflate from PKZIP's appnote.txt. 
const uInt cplens[31] = { // Copy lengths for literal codes 257..285
        3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,
        35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
        // see note #13 above about 258
const uInt cplext[31] = { // Extra bits for literal codes 257..285
        0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2,
        3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 112, 112}; // 112==invalid
const uInt cpdist[30] = { // Copy offsets for distance codes 0..29
        1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
        257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
        8193, 12289, 16385, 24577};
const uInt cpdext[30] = { // Extra bits for distance codes 
        0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6,
        7, 7, 8, 8, 9, 9, 10, 10, 11, 11,
        12, 12, 13, 13};

//
//   Huffman code decoding is performed using a multi-level table lookup.
//   The fastest way to decode is to simply build a lookup table whose
//   size is determined by the longest code.  However, the time it takes
//   to build this table can also be a factor if the data being decoded
//   is not very long.  The most common codes are necessarily the
//   shortest codes, so those codes dominate the decoding time, and hence
//   the speed.  The idea is you can have a shorter table that decodes the
//   shorter, more probable codes, and then point to subsidiary tables for
//   the longer codes.  The time it costs to decode the longer codes is
//   then traded against the time it takes to make longer tables.
//
//   This results of this trade are in the variables lbits and dbits
//   below.  lbits is the number of bits the first level table for literal/
//   length codes can decode in one step, and dbits is the same thing for
//   the distance codes.  Subsequent tables are also less than or equal to
//   those sizes.  These values may be adjusted either when all of the
//   codes are shorter than that, in which case the longest code length in
//   bits is used, or when the shortest code is *longer* than the requested
//   table size, in which case the length of the shortest code in bits is
//   used.
//
//   There are two different values for the two tables, since they code a
//   different number of possibilities each.  The literal/length table
//   codes 286 possible values, or in a flat code, a little over eight
//   bits.  The distance table codes 30 possible values, or a little less
//   than five bits, flat.  The optimum values for speed end up being
//   about one bit more than those, so lbits is 8+1 and dbits is 5+1.
//   The optimum values may differ though from machine to machine, and
//   possibly even between compilers.  Your mileage may vary.
//


// If BMAX needs to be larger than 16, then h and x[] should be uLong. 
#define BMAX 15         // maximum bit length of any code

int huft_build(
uInt *b,               // code lengths in bits (all assumed <= BMAX)
uInt n,                 // number of codes (assumed <= 288)
uInt s,                 // number of simple-valued codes (0..s-1)
const uInt *d,         // list of base values for non-simple codes
const uInt *e,         // list of extra bits for non-simple codes
inflate_huft * *t,  // result: starting table
uInt *m,               // maximum lookup bits, returns actual
inflate_huft *hp,       // space for trees
uInt *hn,               // hufts used in space
uInt *v)               // working area: values in order of bit length
// Given a list of code lengths and a maximum table size, 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区视频在线| 一区二区三区四区国产精品| 91浏览器在线视频| 国产经典欧美精品| 精品无码三级在线观看视频| 天天综合日日夜夜精品| 一区二区三区**美女毛片| 日本一区二区三区视频视频| 久久伊99综合婷婷久久伊| 欧美一卡在线观看| 51午夜精品国产| 欧美日韩1区2区| 欧美日韩国产系列| 欧美美女视频在线观看| 欧美日韩国产综合视频在线观看| 欧美三级电影网站| 欧美三级在线看| 欧美日韩三级一区| 在线观看不卡一区| 精品视频在线免费观看| 在线视频国产一区| 欧美日韩一卡二卡三卡| 欧美精品久久天天躁| 欧美另类z0zxhd电影| 欧美精品精品一区| 91精品久久久久久久99蜜桃 | 精品久久久久99| 久久亚洲一区二区三区四区| 欧美成人欧美edvon| 久久久久久久久久美女| 国产亚洲制服色| 中文字幕不卡一区| 亚洲少妇30p| **欧美大码日韩| 一区二区三区高清在线| 一区二区三区产品免费精品久久75| 一区2区3区在线看| 日韩成人av影视| 国产精品1024| 国产激情视频一区二区在线观看| 成人午夜精品在线| 一本色道久久综合亚洲aⅴ蜜桃| 色婷婷久久综合| 欧美亚洲一区三区| 日韩午夜激情免费电影| 国产亚洲1区2区3区| 中文字幕在线播放不卡一区| 一区二区成人在线视频| 亚洲成人av中文| 国产一二精品视频| caoporen国产精品视频| 欧美视频你懂的| 欧美日韩精品综合在线| 2024国产精品| 一区二区三区日韩| 黄页视频在线91| 91免费观看在线| 日韩一区二区免费高清| 亚洲国产精品激情在线观看| 亚洲一级不卡视频| 国产真实乱对白精彩久久| 99精品偷自拍| 欧美成人伊人久久综合网| 日韩毛片视频在线看| 免费观看在线综合| 99久久99精品久久久久久| 欧美一二三四区在线| 欧美—级在线免费片| 日日摸夜夜添夜夜添亚洲女人| 国产91色综合久久免费分享| 精品视频在线免费观看| 国产精品毛片大码女人| 视频一区国产视频| 99re66热这里只有精品3直播 | 亚洲欧美视频一区| 久久国产成人午夜av影院| 成人禁用看黄a在线| 欧美一区二区三区不卡| 国产精品福利电影一区二区三区四区| 日韩精品成人一区二区三区| 国内精品自线一区二区三区视频| 色猫猫国产区一区二在线视频| 精品91自产拍在线观看一区| 亚洲国产sm捆绑调教视频| 久久精品国产99国产精品| 91丨porny丨蝌蚪视频| 久久久久久久网| 美国三级日本三级久久99| 91国偷自产一区二区三区成为亚洲经典| 精品久久一区二区| 视频一区二区中文字幕| 成人少妇影院yyyy| 337p粉嫩大胆噜噜噜噜噜91av| 午夜精品久久久久久久久久久| 国产 欧美在线| 精品国免费一区二区三区| 无码av中文一区二区三区桃花岛| 成人免费高清在线| 久久久五月婷婷| 精品一区二区三区视频| 欧美日韩国产高清一区二区三区| 综合久久一区二区三区| 丁香婷婷综合网| 久久天堂av综合合色蜜桃网| 另类专区欧美蜜桃臀第一页| 欧美一区二区网站| 男人的j进女人的j一区| 日韩精品最新网址| 国产露脸91国语对白| 亚洲国产成人一区二区三区| 成人av午夜电影| 亚洲精品欧美在线| 欧美日韩美少妇| 水野朝阳av一区二区三区| 欧美一区二区视频在线观看2020 | 91丨九色丨蝌蚪富婆spa| 亚洲狠狠丁香婷婷综合久久久| 欧美偷拍一区二区| 亚洲成a人片综合在线| 日韩视频永久免费| 国产精品99久久久久久宅男| 亚洲欧洲精品一区二区精品久久久| 色偷偷成人一区二区三区91| 亚洲电影在线播放| 欧美成人性战久久| 成人开心网精品视频| 亚洲猫色日本管| 91精品国产一区二区| 国产一区二区h| 亚洲欧美偷拍三级| 欧美一级理论片| 成熟亚洲日本毛茸茸凸凹| 亚洲欧美日韩久久精品| 欧美伦理影视网| 国产a区久久久| 亚洲国产成人高清精品| 精品av久久707| 91黄视频在线| 国产一区视频在线看| 日韩毛片视频在线看| 日韩一区二区在线看| 不卡一区中文字幕| 日韩精品久久久久久| 国产精品―色哟哟| 欧美老人xxxx18| 成人国产视频在线观看| 午夜精品久久久久久久蜜桃app| 久久天天做天天爱综合色| 色婷婷久久综合| 国产一区久久久| 性做久久久久久| 国产精品久久久久久户外露出 | www亚洲一区| 欧美在线免费观看亚洲| 国产一区二区精品久久91| 一区二区三区四区不卡在线 | 欧美一区二区在线免费播放| 成人av资源下载| 麻豆极品一区二区三区| 亚洲视频电影在线| 久久久国产精品不卡| 欧美乱熟臀69xxxxxx| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 99精品视频免费在线观看| 欧美aaaaaa午夜精品| 一区二区三区四区av| 欧美国产欧美综合| 欧美一区二区三区免费在线看| 91女神在线视频| 懂色av中文字幕一区二区三区| 日韩不卡一二三区| 亚洲影院在线观看| 国产精品污网站| 久久精品夜色噜噜亚洲aⅴ| 欧美日韩第一区日日骚| 91色porny| 不卡的av在线播放| 国产精品一区二区久久精品爱涩| 视频一区视频二区在线观看| 一区二区三区精品在线| 亚洲欧洲av在线| 国产精品丝袜91| 国产亚洲欧洲一区高清在线观看| 日韩欧美一二三| 91精品国产综合久久香蕉的特点 | 欧美日韩一区二区在线观看| 成人黄色免费短视频| 国产一区二区三区最好精华液| 免费观看一级特黄欧美大片| 亚洲成人综合网站| 亚洲一区av在线| 亚洲精品乱码久久久久| 亚洲四区在线观看| 国产精品福利一区二区三区| 久久久久成人黄色影片| 欧美成人猛片aaaaaaa| 91精品国产综合久久福利| 欧美男生操女生| 在线电影院国产精品| 欧美日韩情趣电影|