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

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

?? inffas8664.c

?? StormLib是對MPQ文件進行處理的庫 MPQ是暴雪公司的私有的一種壓縮格式
?? C
字號:
/* inffas8664.c is a hand tuned assembler version of inffast.c - fast decoding
 * version for AMD64 on Windows using Microsoft C compiler
 *
 * Copyright (C) 1995-2003 Mark Adler
 * For conditions of distribution and use, see copyright notice in zlib.h
 *
 * Copyright (C) 2003 Chris Anderson <christop@charm.net>
 * Please use the copyright conditions above.
 *
 * 2005 - Adaptation to Microsoft C Compiler for AMD64 by Gilles Vollant
 *
 * inffas8664.c call function inffas8664fnc in inffasx64.asm
 *  inffasx64.asm is automatically convert from AMD64 portion of inffas86.c
 *
 * Dec-29-2003 -- I added AMD64 inflate asm support.  This version is also
 * slightly quicker on x86 systems because, instead of using rep movsb to copy
 * data, it uses rep movsw, which moves data in 2-byte chunks instead of single
 * bytes.  I've tested the AMD64 code on a Fedora Core 1 + the x86_64 updates
 * from http://fedora.linux.duke.edu/fc1_x86_64
 * which is running on an Athlon 64 3000+ / Gigabyte GA-K8VT800M system with
 * 1GB ram.  The 64-bit version is about 4% faster than the 32-bit version,
 * when decompressing mozilla-source-1.3.tar.gz.
 *
 * Mar-13-2003 -- Most of this is derived from inffast.S which is derived from
 * the gcc -S output of zlib-1.2.0/inffast.c.  Zlib-1.2.0 is in beta release at
 * the moment.  I have successfully compiled and tested this code with gcc2.96,
 * gcc3.2, icc5.0, msvc6.0.  It is very close to the speed of inffast.S
 * compiled with gcc -DNO_MMX, but inffast.S is still faster on the P3 with MMX
 * enabled.  I will attempt to merge the MMX code into this version.  Newer
 * versions of this and inffast.S can be found at
 * http://www.eetbeetee.com/zlib/ and http://www.charm.net/~christop/zlib/
 *
 */

#include <stdio.h>
#include "zutil.h"
#include "inftrees.h"
#include "inflate.h"
#include "inffast.h"

/* Mark Adler's comments from inffast.c: */

/*
   Decode literal, length, and distance codes and write out the resulting
   literal and match bytes until either not enough input or output is
   available, an end-of-block is encountered, or a data error is encountered.
   When large enough input and output buffers are supplied to inflate(), for
   example, a 16K input buffer and a 64K output buffer, more than 95% of the
   inflate execution time is spent in this routine.

   Entry assumptions:

        state->mode == LEN
        strm->avail_in >= 6
        strm->avail_out >= 258
        start >= strm->avail_out
        state->bits < 8

   On return, state->mode is one of:

        LEN -- ran out of enough output space or enough available input
        TYPE -- reached end of block code, inflate() to interpret next block
        BAD -- error in block data

   Notes:

    - The maximum input bits used by a length/distance pair is 15 bits for the
      length code, 5 bits for the length extra, 15 bits for the distance code,
      and 13 bits for the distance extra.  This totals 48 bits, or six bytes.
      Therefore if strm->avail_in >= 6, then there is enough input to avoid
      checking for available input while decoding.

    - The maximum bytes that a single length/distance pair can output is 258
      bytes, which is the maximum length that can be coded.  inflate_fast()
      requires strm->avail_out >= 258 for each loop to avoid checking for
      output space.
 */



    typedef struct inffast_ar {
/* 64   32                               x86  x86_64 */
/* ar offset                              register */
/*  0    0 */ void *esp;                /* esp save */
/*  8    4 */ void *ebp;                /* ebp save */
/* 16    8 */ unsigned char FAR *in;    /* esi rsi  local strm->next_in */
/* 24   12 */ unsigned char FAR *last;  /*     r9   while in < last */
/* 32   16 */ unsigned char FAR *out;   /* edi rdi  local strm->next_out */
/* 40   20 */ unsigned char FAR *beg;   /*          inflate()'s init next_out */
/* 48   24 */ unsigned char FAR *end;   /*     r10  while out < end */
/* 56   28 */ unsigned char FAR *window;/*          size of window, wsize!=0 */
/* 64   32 */ code const FAR *lcode;    /* ebp rbp  local strm->lencode */
/* 72   36 */ code const FAR *dcode;    /*     r11  local strm->distcode */
/* 80   40 */ size_t /*unsigned long */hold;       /* edx rdx  local strm->hold */
/* 88   44 */ unsigned bits;            /* ebx rbx  local strm->bits */
/* 92   48 */ unsigned wsize;           /*          window size */
/* 96   52 */ unsigned write;           /*          window write index */
/*100   56 */ unsigned lmask;           /*     r12  mask for lcode */
/*104   60 */ unsigned dmask;           /*     r13  mask for dcode */
/*108   64 */ unsigned len;             /*     r14  match length */
/*112   68 */ unsigned dist;            /*     r15  match distance */
/*116   72 */ unsigned status;          /*          set when state chng*/
    } type_ar;
#ifdef ASMINF

void inflate_fast(strm, start)
z_streamp strm;
unsigned start;         /* inflate()'s starting value for strm->avail_out */
{
    struct inflate_state FAR *state;
    type_ar ar;
    void inffas8664fnc(struct inffast_ar * par);

    

#if (defined( __GNUC__ ) && defined( __amd64__ ) && ! defined( __i386 )) || (defined(_MSC_VER) && defined(_M_AMD64))
#define PAD_AVAIL_IN 6
#define PAD_AVAIL_OUT 258    
#else
#define PAD_AVAIL_IN 5
#define PAD_AVAIL_OUT 257
#endif

    /* copy state to local variables */
    state = (struct inflate_state FAR *)strm->state;

    ar.in = strm->next_in;
    ar.last = ar.in + (strm->avail_in - PAD_AVAIL_IN);
    ar.out = strm->next_out;
    ar.beg = ar.out - (start - strm->avail_out);
    ar.end = ar.out + (strm->avail_out - PAD_AVAIL_OUT);
    ar.wsize = state->wsize;
    ar.write = state->write;
    ar.window = state->window;
    ar.hold = state->hold;
    ar.bits = state->bits;
    ar.lcode = state->lencode;
    ar.dcode = state->distcode;
    ar.lmask = (1U << state->lenbits) - 1;
    ar.dmask = (1U << state->distbits) - 1;

    /* decode literals and length/distances until end-of-block or not enough
       input data or output space */

    /* align in on 1/2 hold size boundary */
    while (((size_t)(void *)ar.in & (sizeof(ar.hold) / 2 - 1)) != 0) {
        ar.hold += (unsigned long)*ar.in++ << ar.bits;
        ar.bits += 8;
    }

    inffas8664fnc(&ar);

    if (ar.status > 1) {
        if (ar.status == 2)
            strm->msg = "invalid literal/length code";
        else if (ar.status == 3)
            strm->msg = "invalid distance code";
        else
            strm->msg = "invalid distance too far back";
        state->mode = BAD;
    }
    else if ( ar.status == 1 ) {
        state->mode = TYPE;
    }

    /* return unused bytes (on entry, bits < 8, so in won't go too far back) */
    ar.len = ar.bits >> 3;
    ar.in -= ar.len;
    ar.bits -= ar.len << 3;
    ar.hold &= (1U << ar.bits) - 1;

    /* update state and return */
    strm->next_in = ar.in;
    strm->next_out = ar.out;
    strm->avail_in = (unsigned)(ar.in < ar.last ?
                                PAD_AVAIL_IN + (ar.last - ar.in) :
                                PAD_AVAIL_IN - (ar.in - ar.last));
    strm->avail_out = (unsigned)(ar.out < ar.end ?
                                 PAD_AVAIL_OUT + (ar.end - ar.out) :
                                 PAD_AVAIL_OUT - (ar.out - ar.end));
    state->hold = (unsigned long)ar.hold;
    state->bits = ar.bits;
    return;
}

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲香肠在线观看| 蜜臀va亚洲va欧美va天堂| 欧美一级黄色录像| www.亚洲色图| 九九在线精品视频| 亚洲超碰精品一区二区| 亚洲欧洲美洲综合色网| 日韩欧美综合在线| 欧美性受极品xxxx喷水| 99麻豆久久久国产精品免费| 毛片不卡一区二区| 亚洲国产乱码最新视频| ...xxx性欧美| 国产亚洲一区二区三区在线观看| 538prom精品视频线放| 在线亚洲+欧美+日本专区| 国产成人免费在线| 精彩视频一区二区三区| 天天色天天操综合| 亚洲国产视频一区二区| 亚洲日韩欧美一区二区在线| 国产婷婷一区二区| 精品国产乱码久久久久久1区2区 | 亚洲福利电影网| 国产精品区一区二区三| 久久久久久久久久久久电影| 欧美大片顶级少妇| 欧美成人在线直播| 91精品国产综合久久福利软件| 一本色道久久综合亚洲精品按摩| 成人精品视频网站| 成人爽a毛片一区二区免费| 国产成人免费视频网站| 国产九九视频一区二区三区| 国产一区二区影院| 国产一区二区三区在线观看精品| 极品少妇一区二区三区精品视频| 日韩av在线免费观看不卡| 午夜精品在线看| 日韩精品免费专区| 免费观看在线综合| 精品中文av资源站在线观看| 狂野欧美性猛交blacked| 老司机午夜精品| 久久精品久久久精品美女| 麻豆91精品视频| 激情综合一区二区三区| 国产成人av电影| 成人av电影观看| 在线视频欧美精品| 欧美放荡的少妇| 欧美不卡激情三级在线观看| 久久免费视频一区| 国产精品色眯眯| 亚洲精品日韩综合观看成人91| 一区二区三区免费看视频| 亚洲午夜国产一区99re久久| 日本视频中文字幕一区二区三区| 久久草av在线| 99麻豆久久久国产精品免费优播| 欧美在线小视频| 日韩一区二区精品葵司在线 | 亚洲影院久久精品| 午夜精品久久一牛影视| 黄一区二区三区| 成人免费精品视频| 欧美视频自拍偷拍| 精品国产3级a| 亚洲美女在线国产| 捆绑变态av一区二区三区 | 4438成人网| 欧美精品一区二区三区高清aⅴ| 国产精品毛片a∨一区二区三区| 亚洲免费观看在线观看| 日本不卡一区二区| 国产91综合网| 欧美日韩你懂得| 久久精品亚洲麻豆av一区二区 | 国产精品日产欧美久久久久| 五月天一区二区三区| 国产精品白丝jk黑袜喷水| 91色.com| 日韩免费观看高清完整版| 国产精品色哟哟| 石原莉奈一区二区三区在线观看| 国产乱人伦偷精品视频免下载 | 色综合视频一区二区三区高清| 精品视频全国免费看| 久久久综合视频| 亚洲福利视频一区| 成人精品视频一区| 日韩欧美一级在线播放| 亚洲丝袜制服诱惑| 看电视剧不卡顿的网站| 在线视频欧美精品| 国产日韩欧美亚洲| 男女男精品视频| 日本韩国精品一区二区在线观看| 精品国产免费人成电影在线观看四季 | 国产suv精品一区二区6| 欧美人体做爰大胆视频| 国产精品福利一区二区| 精品一区二区三区在线视频| 在线观看三级视频欧美| 国产精品私房写真福利视频| 免费久久精品视频| 欧美日韩国产另类一区| 亚洲天天做日日做天天谢日日欢| 国产尤物一区二区在线| 欧美一区国产二区| 亚洲国产日产av| 91在线观看地址| 中文在线资源观看网站视频免费不卡| 免费黄网站欧美| 欧美精品日韩一区| 亚洲精品免费播放| 不卡一区二区三区四区| 久久久久久麻豆| 韩国女主播成人在线| 91精品国产综合久久精品性色| 伊人色综合久久天天| 91小视频在线免费看| 日本一区二区不卡视频| 国产成人综合视频| 精品国产伦一区二区三区观看方式 | 精品久久99ma| 蜜桃在线一区二区三区| 欧美一区二区三区男人的天堂| 香蕉久久夜色精品国产使用方法| 色八戒一区二区三区| 亚洲美女偷拍久久| 色94色欧美sute亚洲线路一ni| 亚洲裸体xxx| 色呦呦日韩精品| 亚洲男人的天堂av| 欧美伊人久久大香线蕉综合69| 亚洲激情图片一区| 精品视频1区2区| 亚洲综合在线五月| 91成人在线免费观看| 一区二区三区.www| 欧美日韩精品一二三区| 午夜视频在线观看一区二区| 欧美妇女性影城| 日本不卡一二三| 精品国产乱码久久久久久浪潮| 国产永久精品大片wwwapp| 久久久久久久av麻豆果冻| 国产精品性做久久久久久| 国产精品久久久久9999吃药| av电影在线不卡| 亚洲综合丁香婷婷六月香| 欧美日韩国产综合久久| 91蜜桃婷婷狠狠久久综合9色| 日韩一区有码在线| 在线观看国产精品网站| 日韩中文字幕不卡| 久久综合久久综合久久综合| 从欧美一区二区三区| 一区二区三区四区五区视频在线观看| 欧美三级资源在线| 久久99国内精品| 亚洲欧洲国产专区| 欧美日韩不卡一区| 国产精品99久久久久久宅男| 亚洲色图.com| 日韩亚洲欧美综合| 成人在线视频一区二区| 亚洲一区二区三区小说| 精品日韩成人av| 91看片淫黄大片一级在线观看| 亚洲高清不卡在线观看| 久久久一区二区三区| 一本色道久久综合狠狠躁的推荐| 天涯成人国产亚洲精品一区av| 久久久综合九色合综国产精品| 972aa.com艺术欧美| 美国av一区二区| 日韩理论片中文av| 日韩欧美中文字幕公布| 99热在这里有精品免费| 蜜桃视频在线一区| 亚洲欧洲日产国产综合网| 日韩欧美二区三区| 色综合 综合色| 国产精品自拍在线| 婷婷开心久久网| 国产精品久久久久久妇女6080| 日韩一区二区在线观看视频| 94-欧美-setu| 国产麻豆成人传媒免费观看| 亚洲午夜激情网站| 国产精品传媒在线| 日韩午夜三级在线| 91国偷自产一区二区三区观看| 国产成人免费视| 蜜臀va亚洲va欧美va天堂| 亚洲最大的成人av| 中文字幕在线不卡一区二区三区 | 亚洲精品免费在线播放|