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

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

?? vs_compress.pas

?? KSDev.VirtualSream.v1.01.rar 虛擬文件系統,
?? PAS
?? 第 1 頁 / 共 5 頁
字號:

    next_out : pBytef;    { next output byte should be put there }
    avail_out : uInt;     { remaining free space at next_out }
    total_out : uLong;    { total nb of bytes output so far }

    msg : string;         { last error message, '' if no error }
    state : pInternal_state; { not visible by applications }

    zalloc : alloc_func;  { used to allocate the internal state }
    zfree : free_func;    { used to free the internal state }
    opaque : voidpf;      { private data object passed to zalloc and zfree }

    data_type : int;      { best guess about the data type: ascii or binary }
    adler : uLong;        { adler32 value of the uncompressed data }
    reserved : uLong;     { reserved for future use }
  end;


{  The application must update next_in and avail_in when avail_in has
   dropped to zero. It must update next_out and avail_out when avail_out
   has dropped to zero. The application must initialize zalloc, zfree and
   opaque before calling the init function. All other fields are set by the
   compression library and must not be updated by the application.

   The opaque value provided by the application will be passed as the first
   parameter for calls of zalloc and zfree. This can be useful for custom
   memory management. The compression library attaches no meaning to the
   opaque value.

   zalloc must return Z_NULL if there is not enough memory for the object.
   On 16-bit systems, the functions zalloc and zfree must be able to allocate
   exactly 65536 bytes, but will not be required to allocate more than this
   if the symbol MAXSEG_64K is defined (see zconf.h). WARNING: On MSDOS,
   pointers returned by zalloc for objects of exactly 65536 bytes *must*
   have their offset normalized to zero. The default allocation function
   provided by this library ensures this (see zutil.c). To reduce memory
   requirements and avoid any allocation of 64K objects, at the expense of
   compression ratio, compile the library with -DMAX_WBITS=14 (see zconf.h).

   The fields total_in and total_out can be used for statistics or
   progress reports. After compression, total_in holds the total size of
   the uncompressed data and may be saved for use in the decompressor
   (particularly if the decompressor wants to decompress everything in
   a single step). }

const  { constants }
   Z_NO_FLUSH      = 0;
   Z_PARTIAL_FLUSH = 1;
   Z_SYNC_FLUSH    = 2;
   Z_FULL_FLUSH    = 3;
   Z_FINISH        = 4;
{ Allowed flush values; see deflate() below for details }

   Z_OK            = 0;
   Z_STREAM_END    = 1;
   Z_NEED_DICT     = 2;
   Z_ERRNO         = (-1);
   Z_STREAM_ERROR  = (-2);
   Z_DATA_ERROR    = (-3);
   Z_MEM_ERROR     = (-4);
   Z_BUF_ERROR     = (-5);
   Z_VERSION_ERROR = (-6);
{ Return codes for the compression/decompression functions. Negative
  values are errors, positive values are used for special but normal events.}

   Z_NO_COMPRESSION         = 0;
   Z_BEST_SPEED             = 1;
   Z_BEST_COMPRESSION       = 9;
   Z_DEFAULT_COMPRESSION    = (-1);
{ compression levels }

   Z_FILTERED            = 1;
   Z_HUFFMAN_ONLY        = 2;
   Z_DEFAULT_STRATEGY    = 0;
{ compression strategy; see deflateInit2() below for details }

   Z_BINARY   = 0;
   Z_ASCII    = 1;
   Z_UNKNOWN  = 2;
{ Possible values of the data_type field }

   Z_DEFLATED   = 8;
{ The deflate compression method (the only one supported in this version) }

   Z_NULL  = NIL;  { for initializing zalloc, zfree, opaque }

  {$IFDEF GZIO}
var
  errno : int;
  {$ENDIF}

        { common constants }


{ The three kinds of block type }
const
  STORED_BLOCK = 0;
  STATIC_TREES = 1;
  DYN_TREES = 2;
{ The minimum and maximum match lengths }
const
  MIN_MATCH = 3;
{$ifdef MAX_MATCH_IS_258}
  MAX_MATCH = 258;
{$else}
  MAX_MATCH = ??;    { deliberate syntax error }
{$endif}

  MIN_LOOKAHEAD = (MAX_MATCH+MIN_MATCH+1);

const
  PRESET_DICT = $20; { preset dictionary flag in zlib header }


  {$IFDEF DEBUG}
  procedure Assert(cond : boolean; msg : string);
  {$ENDIF}

  procedure Trace(x : string);
  procedure Tracev(x : string);
  procedure Tracevv(x : string);
  procedure Tracevvv(x : string);
  procedure Tracec(c : boolean; x : string);
  procedure Tracecv(c : boolean; x : string);

function zlibVersion : string;
{ The application can compare zlibVersion and ZLIB_VERSION for consistency.
  If the first character differs, the library code actually used is
  not compatible with the zlib.h header file used by the application.
  This check is automatically made by deflateInit and inflateInit. }

function zError(err : int) : string;

function ZALLOC (var strm : z_stream; items : uInt; size : uInt) : voidpf;

procedure ZFREE (var strm : z_stream; ptr : voidpf);

procedure TRY_FREE (var strm : z_stream; ptr : voidpf);

const
  ZLIB_VERSION : string[10] = '1.1.2';

const
  z_errbase = Z_NEED_DICT;
  z_errmsg : Array[0..9] of string[21] = { indexed by 2-zlib_error }
           ('need dictionary',     { Z_NEED_DICT       2  }
            'stream end',          { Z_STREAM_END      1  }
            '',                    { Z_OK              0  }
            'file error',          { Z_ERRNO         (-1) }
            'stream error',        { Z_STREAM_ERROR  (-2) }
            'data error',          { Z_DATA_ERROR    (-3) }
            'insufficient memory', { Z_MEM_ERROR     (-4) }
            'buffer error',        { Z_BUF_ERROR     (-5) }
            'incompatible version',{ Z_VERSION_ERROR (-6) }
            '');
const
  z_verbose : int = 1;

{$IFDEF DEBUG}
procedure z_error (m : string);
{$ENDIF}


{ZKsAdler}
function adler32(adler : uLong; buf : pBytef; len : uInt) : uLong;

{    Update a running Adler-32 checksum with the bytes buf[0..len-1] and
   return the updated checksum. If buf is NIL, this function returns
   the required initial value for the checksum.
   An Adler-32 checksum is almost as reliable as a CRC32 but can be computed
   much faster. Usage example:

   var
     adler : uLong;
   begin
     adler := adler32(0, Z_NULL, 0);

     while (read_buffer(buffer, length) <> EOF) do
       adler := adler32(adler, buffer, length);

     if (adler <> original_adler) then
       error();
   end;
}


{ZKsDeflate}
{ Orginal: deflate.h -- internal compression state
           deflate.c -- compress data using the deflation algorithm
  Copyright (C) 1995-1996 Jean-loup Gailly.

  Pascal tranlastion
  Copyright (C) 1998 by Jacques Nomssi Nzali
  For conditions of distribution and use, see copyright notice in readme.txt
}


{  ALGORITHM

       The "deflation" process depends on being able to identify portions
       of the input text which are identical to earlier input (within a
       sliding window trailing behind the input currently being processed).

       The most straightforward technique turns out to be the fastest for
       most input files: try all possible matches and select the longest.
       The key feature of this algorithm is that insertions into the string
       dictionary are very simple and thus fast, and deletions are avoided
       completely. Insertions are performed at each input character, whereas
       string matches are performed only when the previous match ends. So it
       is preferable to spend more time in matches to allow very fast string
       insertions and avoid deletions. The matching algorithm for small
       strings is inspired from that of Rabin & Karp. A brute force approach
       is used to find longer strings when a small match has been found.
       A similar algorithm is used in comic (by Jan-Mark Wams) and freeze
       (by Leonid Broukhis).
          A previous version of this file used a more sophisticated algorithm
       (by Fiala and Greene) which is guaranteed to run in linear amortized
       time, but has a larger average cost, uses more memory and is patented.
       However the F&G algorithm may be faster for some highly redundant
       files if the parameter max_chain_length (described below) is too large.

   ACKNOWLEDGEMENTS

       The idea of lazy evaluation of matches is due to Jan-Mark Wams, and
       I found it in 'freeze' written by Leonid Broukhis.
       Thanks to many people for bug reports and testing.

   REFERENCES

       Deutsch, L.P.,"'Deflate' Compressed Data Format Specification".
       Available in ftp.uu.net:/pub/archiving/zip/doc/deflate-1.1.doc

       A description of the Rabin and Karp algorithm is given in the book
          "Algorithms" by R. Sedgewick, Addison-Wesley, p252.

       Fiala,E.R., and Greene,D.H.
          Data Compression with Finite Windows, Comm.ACM, 32,4 (1989) 490-595}

{ $Id: vs_compress.pas,v 1.1.1.1 2006/09/26 09:49:37 eugene Exp $ }

function deflateInit_(strm : z_streamp;
                      level : int;
                      const version : string;
                      stream_size : int) : int;


function deflateInit (var strm : z_stream; level : int) : int;

{  Initializes the internal stream state for compression. The fields
   zalloc, zfree and opaque must be initialized before by the caller.
   If zalloc and zfree are set to Z_NULL, deflateInit updates them to
   use default allocation functions.

     The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
   1 gives best speed, 9 gives best compression, 0 gives no compression at
   all (the input data is simply copied a block at a time).
   Z_DEFAULT_COMPRESSION requests a default compromise between speed and
   compression (currently equivalent to level 6).

     deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not
   enough memory, Z_STREAM_ERROR if level is not a valid compression level,
   Z_VERSION_ERROR if the zlib library version (zlib_version) is incompatible
   with the version assumed by the caller (ZLIB_VERSION).
   msg is set to null if there is no error message.  deflateInit does not
   perform any compression: this will be done by deflate(). }


{EXPORT}
function deflate (var strm : z_stream; flush : int) : int;

{ Performs one or both of the following actions:

  - Compress more input starting at next_in and update next_in and avail_in
    accordingly. If not all input can be processed (because there is not
    enough room in the output buffer), next_in and avail_in are updated and
    processing will resume at this point for the next call of deflate().

  - Provide more output starting at next_out and update next_out and avail_out
    accordingly. This action is forced if the parameter flush is non zero.
    Forcing flush frequently degrades the compression ratio, so this parameter
    should be set only when necessary (in interactive applications).
    Some output may be provided even if flush is not set.

  Before the call of deflate(), the application should ensure that at least
  one of the actions is possible, by providing more input and/or consuming
  more output, and updating avail_in or avail_out accordingly; avail_out
  should never be zero before the call. The application can consume the
  compressed output when it wants, for example when the output buffer is full
  (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
  and with zero avail_out, it must be called again after making room in the
  output buffer because there might be more output pending.

    If the parameter flush is set to Z_PARTIAL_FLUSH, the current compression
  block is terminated and flushed to the output buffer so that the
  decompressor can get all input data available so far. For method 9, a future
  variant on method 8, the current block will be flushed but not terminated.
  Z_SYNC_FLUSH has the same effect as partial flush except that the compressed
  output is byte aligned (the compressor can clear its internal bit buffer)
  and the current block is always terminated; this can be useful if the
  compressor has to be restarted from scratch after an interruption (in which
  case the internal state of the compressor may be lost).
    If flush is set to Z_FULL_FLUSH, the compression block is terminated, a
  special marker is output and the compression dictionary is discarded; this
  is useful to allow the decompressor to synchronize if one compressed block
  has been damaged (see inflateSync below).  Flushing degrades compression and
  so should be used only when necessary.  Using Z_FULL_FLUSH too often can
  seriously degrade the compression. If deflate returns with avail_out == 0,
  this function must be called again with the same value of the flush
  parameter and more output space (updated avail_out), until the flush is
  complete (deflate returns with non-zero avail_out).

    If the parameter flush is set to Z_FINISH, all pending input is processed,
  all pending output is flushed and deflate returns with Z_STREAM_END if there
  was enough output space; if deflate returns with Z_OK, this function must be
  called again with Z_FINISH and more output space (updated avail_out) but no
  more input data, until it returns with Z_STREAM_END or an error. After
  deflate has returned Z_STREAM_END, the only possible operations on the
  stream are deflateReset or deflateEnd.

    Z_FINISH can be used immediately after deflateInit if all the compression
  is to be done in a single step. In this case, avail_out must be at least
  0.1% larger than avail_in plus 12 bytes.  If deflate does not return
  Z_STREAM_END, then it must be called again as described above.

    deflate() may update data_type if it can make a good guess about
  the input data type (Z_ASCII or Z_BINARY). In doubt, the data is considered
  binary. This field is only for information purposes and does not affect
  the compression algorithm in any manner.

    deflate() returns Z_OK if some progress has been made (more input
  processed or more output produced), Z_STREAM_END if all input has been
  consumed and all output has been produced (only when flush is set to
  Z_FINISH), Z_STREAM_ERROR if the stream state was inconsistent (for example
  if next_in or next_out was NULL), Z_BUF_ERROR if no progress is possible. }


function deflateEnd (var strm : z_stream) : int;

{     All dynamically allocated data structures for this stream are freed.
   This function discards any unprocessed input and does not flush any
   pending output.

     deflateEnd returns Z_OK if success, Z_STREAM_ERROR if the
   stream state was inconsistent, Z_DATA_ERROR if the stream was freed
   prematurely (some input or output was discarded). In the error case,
   msg may be set but then points to a static string (which must not be
   deallocated). }


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99re在线精品| 在线观看网站黄不卡| 国产一区久久久| 日韩精品在线看片z| 色噜噜狠狠色综合中国| 激情久久五月天| 日韩一区欧美小说| 久久久久久免费| 欧美精品一区二区不卡| 日韩一区二区三区四区| 91精品国产乱| 欧美一区二区高清| 欧美精品一区二区三区很污很色的| 欧美日韩欧美一区二区| 欧美亚洲日本一区| 5858s免费视频成人| 日韩精品一区二区三区四区视频| 欧美一区午夜精品| 精品粉嫩超白一线天av| 中文av字幕一区| 亚洲国产精品成人久久综合一区 | 风间由美一区二区三区在线观看 | 1区2区3区欧美| 欧美日韩一区二区三区高清| 欧美日韩一级二级| 欧美大黄免费观看| 国产日韩欧美a| 亚洲男人的天堂一区二区| 亚洲综合丁香婷婷六月香| 日本成人在线不卡视频| 久久国产精品99久久久久久老狼| 国产成人无遮挡在线视频| 成人黄色综合网站| 欧美视频中文字幕| www国产精品av| 国产精品网站一区| 一区二区三区高清在线| 欧美一区二区黄| 国产99一区视频免费| 一本到三区不卡视频| 日韩一区二区三区在线视频| 国产精品无人区| 亚洲成人激情社区| 免费av成人在线| 成人性生交大片免费看视频在线| 欧美无乱码久久久免费午夜一区| 精品少妇一区二区三区日产乱码 | 日韩一区二区在线播放| 国产精品入口麻豆九色| 日韩激情视频在线观看| 99国产精品久久久| 久久精品水蜜桃av综合天堂| 亚洲最新视频在线观看| 国产不卡免费视频| 精品少妇一区二区| 日韩一区二区影院| 亚洲欧美激情小说另类| 亚洲国产一区二区视频| 国产综合成人久久大片91| 欧美色图免费看| 国产精品久久久久婷婷二区次| 免费观看久久久4p| 欧美日韩高清影院| 一区二区三区四区在线播放| 成人国产电影网| 久久久久久久久久久久久久久99| 日欧美一区二区| 色综合色狠狠综合色| 自拍偷在线精品自拍偷无码专区| 国产一区二区在线电影| 91精品国产综合久久精品app| 亚洲免费看黄网站| 91免费精品国自产拍在线不卡| 精品国产成人在线影院 | 免费国产亚洲视频| 欧美亚州韩日在线看免费版国语版| 久久久久久**毛片大全| 激情综合色综合久久| 日韩一区二区三区在线观看| 日本欧美加勒比视频| 91精品综合久久久久久| 五月婷婷激情综合| 欧美精品电影在线播放| 婷婷六月综合网| 欧美蜜桃一区二区三区| 天天综合色天天综合| 6080日韩午夜伦伦午夜伦| 午夜电影一区二区| 日韩免费视频一区| 国产麻豆精品在线观看| 国产日产精品一区| zzijzzij亚洲日本少妇熟睡| 亚洲伦理在线免费看| 欧美在线你懂的| 亚洲国产日韩综合久久精品| 日韩一级片网址| 国产精品一卡二| 亚洲免费在线视频一区 二区| 欧美性受xxxx| 久久激情五月婷婷| 中文字幕成人网| 欧美性生活一区| 国产一区二区三区在线观看免费视频| 国产亚洲欧美色| 欧美影片第一页| 久久国产精品第一页| 国产精品久久久一本精品| 欧美性视频一区二区三区| 激情图区综合网| 亚洲精品免费播放| 日韩欧美色电影| 色诱亚洲精品久久久久久| 欧美aⅴ一区二区三区视频| 国产区在线观看成人精品| 欧美系列一区二区| 国产精品一线二线三线| 亚洲综合偷拍欧美一区色| 日韩欧美www| 欧美性猛交xxxx乱大交退制版 | 成人做爰69片免费看网站| 亚洲精品国产高清久久伦理二区| 日韩欧美国产一区在线观看| av动漫一区二区| 国产美女精品人人做人人爽| 亚洲一区日韩精品中文字幕| 2020国产成人综合网| 欧美视频中文字幕| 成人激情文学综合网| 久久精品av麻豆的观看方式| 亚洲愉拍自拍另类高清精品| 国产午夜精品美女毛片视频| 精品国产一区a| 色先锋aa成人| 成人高清av在线| 国产一区福利在线| 美女高潮久久久| 性久久久久久久久久久久| 国产精品福利一区二区| 久久综合久久久久88| 欧美一区二区黄色| 制服丝袜亚洲色图| 欧美私人免费视频| 91黄视频在线| 色狠狠一区二区三区香蕉| av在线一区二区三区| 丁香另类激情小说| 粉嫩蜜臀av国产精品网站| 精品一区二区三区蜜桃| 免费视频一区二区| 日韩精品91亚洲二区在线观看| 亚洲亚洲精品在线观看| 亚洲精品日韩专区silk| 亚洲欧美激情小说另类| 亚洲老妇xxxxxx| 亚洲精品国产一区二区精华液 | 欧美一区二区视频在线观看 | 国产一区二区三区不卡在线观看 | 国产亚洲婷婷免费| 国产欧美一区二区三区沐欲| 久久久久久久综合狠狠综合| 欧美sm极限捆绑bd| 欧美国产丝袜视频| ...xxx性欧美| 亚洲亚洲人成综合网络| 日韩成人伦理电影在线观看| 精品一区二区三区香蕉蜜桃| 激情小说欧美图片| 成人污视频在线观看| 91免费精品国自产拍在线不卡| 欧美综合天天夜夜久久| 在线播放中文一区| 久久日韩精品一区二区五区| 国产欧美一二三区| 亚洲精品成人天堂一二三| 丝袜美腿亚洲综合| 老司机免费视频一区二区| 国产乱对白刺激视频不卡| 成人深夜视频在线观看| 欧美曰成人黄网| 精品国产乱码久久久久久图片| 国产婷婷色一区二区三区四区| 综合av第一页| 毛片一区二区三区| 成人精品视频一区二区三区| 欧美揉bbbbb揉bbbbb| 精品免费视频一区二区| 中文字幕一区在线观看| 天堂在线一区二区| 不卡一卡二卡三乱码免费网站| 欧美曰成人黄网| 国产日韩精品一区二区三区在线| 一区二区在线观看视频在线观看| 美女在线观看视频一区二区| 99久久婷婷国产综合精品电影| 欧美三级午夜理伦三级中视频| 久久精品亚洲一区二区三区浴池| 亚洲免费在线观看视频| 国产一区二区三区免费在线观看| 欧美丝袜自拍制服另类| 国产精品乱码一区二区三区软件 |