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

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

?? zip.c

?? 一款用來進行網絡模擬的軟件
?? C
?? 第 1 頁 / 共 3 頁
字號:
              size_extrafield_global+i) = *(comment+i);    if (zi->ci.central_header == NULL)        return ZIP_INTERNALERROR;    /* write the local header */    err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)LOCALHEADERMAGIC,4);    if (err==ZIP_OK)        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)20,2);/* version needed to extract */    if (err==ZIP_OK)        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.flag,2);    if (err==ZIP_OK)        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.method,2);    if (err==ZIP_OK)        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->ci.dosDate,4);    if (err==ZIP_OK)        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* crc 32, unknown */    if (err==ZIP_OK)        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* compressed size, unknown */    if (err==ZIP_OK)        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,4); /* uncompressed size, unknown */    if (err==ZIP_OK)        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_filename,2);    if (err==ZIP_OK)        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_extrafield_local,2);    if ((err==ZIP_OK) && (size_filename>0))        if (ZWRITE(zi->z_filefunc,zi->filestream,filename,size_filename)!=size_filename)                err = ZIP_ERRNO;    if ((err==ZIP_OK) && (size_extrafield_local>0))        if (ZWRITE(zi->z_filefunc,zi->filestream,extrafield_local,size_extrafield_local)                                                                           !=size_extrafield_local)                err = ZIP_ERRNO;    zi->ci.stream.avail_in = (uInt)0;    zi->ci.stream.avail_out = (uInt)Z_BUFSIZE;    zi->ci.stream.next_out = zi->ci.buffered_data;    zi->ci.stream.total_in = 0;    zi->ci.stream.total_out = 0;    if ((err==ZIP_OK) && (zi->ci.method == Z_DEFLATED) && (!zi->ci.raw))    {        zi->ci.stream.zalloc = (alloc_func)0;        zi->ci.stream.zfree = (free_func)0;        zi->ci.stream.opaque = (voidpf)0;        if (windowBits>0)            windowBits = -windowBits;        err = deflateInit2(&zi->ci.stream, level,               Z_DEFLATED, windowBits, memLevel, strategy);        if (err==Z_OK)            zi->ci.stream_initialised = 1;    }#    ifndef NOCRYPT    zi->ci.crypt_header_size = 0;    if ((err==Z_OK) && (password != NULL))    {        unsigned char bufHead[RAND_HEAD_LEN];        unsigned int sizeHead;        zi->ci.encrypt = 1;        zi->ci.pcrc_32_tab = get_crc_table();        /*init_keys(password,zi->ci.keys,zi->ci.pcrc_32_tab);*/        sizeHead=crypthead(password,bufHead,RAND_HEAD_LEN,zi->ci.keys,zi->ci.pcrc_32_tab,crcForCrypting);        zi->ci.crypt_header_size = sizeHead;        if (ZWRITE(zi->z_filefunc,zi->filestream,bufHead,sizeHead) != sizeHead)                err = ZIP_ERRNO;    }#    endif    if (err==Z_OK)        zi->in_opened_file_inzip = 1;    return err;}extern int ZEXPORT zipOpenNewFileInZip2(file, filename, zipfi,                                        extrafield_local, size_extrafield_local,                                        extrafield_global, size_extrafield_global,                                        comment, method, level, raw)    zipFile file;    const char* filename;    const zip_fileinfo* zipfi;    const void* extrafield_local;    uInt size_extrafield_local;    const void* extrafield_global;    uInt size_extrafield_global;    const char* comment;    int method;    int level;    int raw;{    return zipOpenNewFileInZip3 (file, filename, zipfi,                                 extrafield_local, size_extrafield_local,                                 extrafield_global, size_extrafield_global,                                 comment, method, level, raw,                                 -MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY,                                 NULL, 0);}extern int ZEXPORT zipOpenNewFileInZip (file, filename, zipfi,                                        extrafield_local, size_extrafield_local,                                        extrafield_global, size_extrafield_global,                                        comment, method, level)    zipFile file;    const char* filename;    const zip_fileinfo* zipfi;    const void* extrafield_local;    uInt size_extrafield_local;    const void* extrafield_global;    uInt size_extrafield_global;    const char* comment;    int method;    int level;{    return zipOpenNewFileInZip2 (file, filename, zipfi,                                 extrafield_local, size_extrafield_local,                                 extrafield_global, size_extrafield_global,                                 comment, method, level, 0);}local int zipFlushWriteBuffer(zi)  zip_internal* zi;{    int err=ZIP_OK;    if (zi->ci.encrypt != 0)    {#ifndef NOCRYPT        uInt i;        int t;        for (i=0;i<zi->ci.pos_in_buffered_data;i++)            zi->ci.buffered_data[i] = zencode(zi->ci.keys, zi->ci.pcrc_32_tab,                                       zi->ci.buffered_data[i],t);#endif    }    if (ZWRITE(zi->z_filefunc,zi->filestream,zi->ci.buffered_data,zi->ci.pos_in_buffered_data)                                                                    !=zi->ci.pos_in_buffered_data)      err = ZIP_ERRNO;    zi->ci.pos_in_buffered_data = 0;    return err;}extern int ZEXPORT zipWriteInFileInZip (file, buf, len)    zipFile file;    const void* buf;    unsigned len;{    zip_internal* zi;    int err=ZIP_OK;    if (file == NULL)        return ZIP_PARAMERROR;    zi = (zip_internal*)file;    if (zi->in_opened_file_inzip == 0)        return ZIP_PARAMERROR;    zi->ci.stream.next_in = (void*)buf;    zi->ci.stream.avail_in = len;    zi->ci.crc32 = crc32(zi->ci.crc32,buf,len);    while ((err==ZIP_OK) && (zi->ci.stream.avail_in>0))    {        if (zi->ci.stream.avail_out == 0)        {            if (zipFlushWriteBuffer(zi) == ZIP_ERRNO)                err = ZIP_ERRNO;            zi->ci.stream.avail_out = (uInt)Z_BUFSIZE;            zi->ci.stream.next_out = zi->ci.buffered_data;        }        if(err != ZIP_OK)            break;        if ((zi->ci.method == Z_DEFLATED) && (!zi->ci.raw))        {            uLong uTotalOutBefore = zi->ci.stream.total_out;            err=deflate(&zi->ci.stream,  Z_NO_FLUSH);            zi->ci.pos_in_buffered_data += (uInt)(zi->ci.stream.total_out - uTotalOutBefore) ;        }        else        {            uInt copy_this,i;            if (zi->ci.stream.avail_in < zi->ci.stream.avail_out)                copy_this = zi->ci.stream.avail_in;            else                copy_this = zi->ci.stream.avail_out;            for (i=0;i<copy_this;i++)                *(((char*)zi->ci.stream.next_out)+i) =                    *(((const char*)zi->ci.stream.next_in)+i);            {                zi->ci.stream.avail_in -= copy_this;                zi->ci.stream.avail_out-= copy_this;                zi->ci.stream.next_in+= copy_this;                zi->ci.stream.next_out+= copy_this;                zi->ci.stream.total_in+= copy_this;                zi->ci.stream.total_out+= copy_this;                zi->ci.pos_in_buffered_data += copy_this;            }        }    }    return err;}extern int ZEXPORT zipCloseFileInZipRaw (file, uncompressed_size, crc32)    zipFile file;    uLong uncompressed_size;    uLong crc32;{    zip_internal* zi;    uLong compressed_size;    int err=ZIP_OK;    if (file == NULL)        return ZIP_PARAMERROR;    zi = (zip_internal*)file;    if (zi->in_opened_file_inzip == 0)        return ZIP_PARAMERROR;    zi->ci.stream.avail_in = 0;    if ((zi->ci.method == Z_DEFLATED) && (!zi->ci.raw))        while (err==ZIP_OK)    {        uLong uTotalOutBefore;        if (zi->ci.stream.avail_out == 0)        {            if (zipFlushWriteBuffer(zi) == ZIP_ERRNO)                err = ZIP_ERRNO;            zi->ci.stream.avail_out = (uInt)Z_BUFSIZE;            zi->ci.stream.next_out = zi->ci.buffered_data;        }        uTotalOutBefore = zi->ci.stream.total_out;        err=deflate(&zi->ci.stream,  Z_FINISH);        zi->ci.pos_in_buffered_data += (uInt)(zi->ci.stream.total_out - uTotalOutBefore) ;    }    if (err==Z_STREAM_END)        err=ZIP_OK; /* this is normal */    if ((zi->ci.pos_in_buffered_data>0) && (err==ZIP_OK))        if (zipFlushWriteBuffer(zi)==ZIP_ERRNO)            err = ZIP_ERRNO;    if ((zi->ci.method == Z_DEFLATED) && (!zi->ci.raw))    {        err=deflateEnd(&zi->ci.stream);        zi->ci.stream_initialised = 0;    }    if (!zi->ci.raw)    {        crc32 = (uLong)zi->ci.crc32;        uncompressed_size = (uLong)zi->ci.stream.total_in;    }    compressed_size = (uLong)zi->ci.stream.total_out;#    ifndef NOCRYPT    compressed_size += zi->ci.crypt_header_size;#    endif    ziplocal_putValue_inmemory(zi->ci.central_header+16,crc32,4); /*crc*/    ziplocal_putValue_inmemory(zi->ci.central_header+20,                                compressed_size,4); /*compr size*/    if (zi->ci.stream.data_type == Z_ASCII)        ziplocal_putValue_inmemory(zi->ci.central_header+36,(uLong)Z_ASCII,2);    ziplocal_putValue_inmemory(zi->ci.central_header+24,                                uncompressed_size,4); /*uncompr size*/    if (err==ZIP_OK)        err = add_data_in_datablock(&zi->central_dir,zi->ci.central_header,                                       (uLong)zi->ci.size_centralheader);    free(zi->ci.central_header);    if (err==ZIP_OK)    {        long cur_pos_inzip = ZTELL(zi->z_filefunc,zi->filestream);        if (ZSEEK(zi->z_filefunc,zi->filestream,                  zi->ci.pos_local_header + 14,ZLIB_FILEFUNC_SEEK_SET)!=0)            err = ZIP_ERRNO;        if (err==ZIP_OK)            err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,crc32,4); /* crc 32, unknown */        if (err==ZIP_OK) /* compressed size, unknown */            err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,compressed_size,4);        if (err==ZIP_OK) /* uncompressed size, unknown */            err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,uncompressed_size,4);        if (ZSEEK(zi->z_filefunc,zi->filestream,                  cur_pos_inzip,ZLIB_FILEFUNC_SEEK_SET)!=0)            err = ZIP_ERRNO;    }    zi->number_entry ++;    zi->in_opened_file_inzip = 0;    return err;}extern int ZEXPORT zipCloseFileInZip (file)    zipFile file;{    return zipCloseFileInZipRaw (file,0,0);}extern int ZEXPORT zipClose (file, global_comment)    zipFile file;    const char* global_comment;{    zip_internal* zi;    int err = 0;    uLong size_centraldir = 0;    uLong centraldir_pos_inzip;    uInt size_global_comment;    if (file == NULL)        return ZIP_PARAMERROR;    zi = (zip_internal*)file;    if (zi->in_opened_file_inzip == 1)    {        err = zipCloseFileInZip (file);    }#ifndef NO_ADDFILEINEXISTINGZIP    if (global_comment==NULL)        global_comment = zi->globalcomment;#endif    if (global_comment==NULL)        size_global_comment = 0;    else        size_global_comment = (uInt)strlen(global_comment);    centraldir_pos_inzip = ZTELL(zi->z_filefunc,zi->filestream);    if (err==ZIP_OK)    {        linkedlist_datablock_internal* ldi = zi->central_dir.first_block ;        while (ldi!=NULL)        {            if ((err==ZIP_OK) && (ldi->filled_in_this_block>0))                if (ZWRITE(zi->z_filefunc,zi->filestream,                           ldi->data,ldi->filled_in_this_block)                              !=ldi->filled_in_this_block )                    err = ZIP_ERRNO;            size_centraldir += ldi->filled_in_this_block;            ldi = ldi->next_datablock;        }    }    free_datablock(zi->central_dir.first_block);    if (err==ZIP_OK) /* Magic End */        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)ENDHEADERMAGIC,4);    if (err==ZIP_OK) /* number of this disk */        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,2);    if (err==ZIP_OK) /* number of the disk with the start of the central directory */        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)0,2);    if (err==ZIP_OK) /* total number of entries in the central dir on this disk */        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->number_entry,2);    if (err==ZIP_OK) /* total number of entries in the central dir */        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)zi->number_entry,2);    if (err==ZIP_OK) /* size of the central directory */        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_centraldir,4);    if (err==ZIP_OK) /* offset of start of central directory with respect to the                            starting disk number */        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,                                (uLong)(centraldir_pos_inzip - zi->add_position_when_writting_offset),4);    if (err==ZIP_OK) /* zipfile comment length */        err = ziplocal_putValue(&zi->z_filefunc,zi->filestream,(uLong)size_global_comment,2);    if ((err==ZIP_OK) && (size_global_comment>0))        if (ZWRITE(zi->z_filefunc,zi->filestream,                   global_comment,size_global_comment) != size_global_comment)                err = ZIP_ERRNO;    if (ZCLOSE(zi->z_filefunc,zi->filestream) != 0)        if (err == ZIP_OK)            err = ZIP_ERRNO;#ifndef NO_ADDFILEINEXISTINGZIP    TRYFREE(zi->globalcomment);#endif    TRYFREE(zi);    return err;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品99久久久久久似苏梦涵| 欧美日韩在线观看一区二区| 91一区二区在线| 欧美一级在线视频| 亚洲欧美一区二区三区孕妇| 久久97超碰色| 欧美日韩在线播放三区四区| 国产精品欧美极品| 国产在线精品一区二区夜色 | 日本最新不卡在线| 色综合久久中文字幕| 精品欧美久久久| 午夜精品一区在线观看| 97久久精品人人做人人爽50路| 精品奇米国产一区二区三区| 午夜视频一区在线观看| 9i在线看片成人免费| 亚洲精品在线免费观看视频| 亚欧色一区w666天堂| 不卡av电影在线播放| 久久久不卡影院| 美国十次综合导航| 欧美一级xxx| 日韩高清在线一区| 欧美亚洲一区三区| 一级精品视频在线观看宜春院| 国产成人在线色| 久久精品一区蜜桃臀影院| 国产在线精品一区二区不卡了| 日韩西西人体444www| 麻豆精品视频在线观看| 日韩女优av电影在线观看| 日韩精品欧美精品| 日韩欧美国产综合一区| 久久国产精品色| 久久久午夜精品| 懂色一区二区三区免费观看| 亚洲国产成人私人影院tom| 丰满亚洲少妇av| 亚洲同性gay激情无套| 色婷婷亚洲婷婷| 亚洲国产精品欧美一二99| 欧美久久免费观看| 蜜臀va亚洲va欧美va天堂| 精品国产乱码久久久久久夜甘婷婷 | 欧美自拍偷拍午夜视频| 亚洲午夜精品久久久久久久久| 欧美日韩高清一区二区三区| 日韩电影在线免费| 欧美成人伊人久久综合网| 国产精品一区二区91| 国产精品理论片| 欧美在线观看视频在线| 日本在线不卡视频| 国产天堂亚洲国产碰碰| 日本韩国欧美一区二区三区| 天天av天天翘天天综合网色鬼国产| 日韩欧美中文字幕精品| 国产激情视频一区二区在线观看| 中文字幕乱码日本亚洲一区二区 | 91精品视频网| 国产精品18久久久久久vr| 国产精品超碰97尤物18| 欧美日韩视频在线观看一区二区三区 | 亚洲欧美一区二区三区国产精品 | 精品区一区二区| 91性感美女视频| 日本免费在线视频不卡一不卡二| 久久综合资源网| 在线观看91视频| 国产精品白丝jk黑袜喷水| 亚洲综合999| 国产嫩草影院久久久久| 7777精品伊人久久久大香线蕉超级流畅 | 国产真实精品久久二三区| 亚洲人成网站色在线观看| 4438x亚洲最大成人网| 丰满亚洲少妇av| 免费xxxx性欧美18vr| 综合婷婷亚洲小说| 精品日韩一区二区三区| 欧美丝袜丝交足nylons图片| 精品一区二区精品| 午夜影院久久久| 亚洲丝袜自拍清纯另类| 这里只有精品99re| 在线日韩一区二区| 成人美女在线观看| 久久99久久精品欧美| 亚洲高清在线精品| 亚洲精品国产精华液| 中文av一区特黄| 欧美r级在线观看| 欧美一区二区三区四区久久| 色欧美乱欧美15图片| 成人aaaa免费全部观看| 国产原创一区二区| 美女被吸乳得到大胸91| 国产成人精品免费网站| 丝袜亚洲另类欧美| 一区二区三区在线看| 国产精品国产三级国产| 国产婷婷一区二区| 欧美精品一区在线观看| 欧美成人综合网站| 精品国产一区二区三区忘忧草 | 美国一区二区三区在线播放| 亚洲福利一区二区| 亚洲国产人成综合网站| 亚洲超碰精品一区二区| 亚洲综合激情网| 性做久久久久久久免费看| 午夜精品aaa| 无码av免费一区二区三区试看| 亚洲成人动漫av| 视频在线观看一区二区三区| 日韩av中文字幕一区二区| 奇米四色…亚洲| 蜜乳av一区二区三区| 久久精品久久99精品久久| 久久99精品视频| 国产精品99久久久| 成人国产精品免费观看| 中文字幕国产一区| 国产精品卡一卡二| 亚洲欧洲色图综合| 一区二区视频免费在线观看| 亚洲一区av在线| 奇米精品一区二区三区在线观看| 老司机精品视频线观看86| 国产成人在线观看免费网站| 丁香五精品蜜臀久久久久99网站| 91污在线观看| 7777精品伊人久久久大香线蕉| 欧美一区二区三区免费大片| 国产偷国产偷精品高清尤物 | 国产亚洲短视频| 自拍偷在线精品自拍偷无码专区| 有码一区二区三区| 蜜桃视频在线一区| 国产99久久久国产精品潘金| 91网上在线视频| 8v天堂国产在线一区二区| 久久精品亚洲麻豆av一区二区| 亚洲激情图片qvod| 奇米色777欧美一区二区| 成人免费电影视频| 9191精品国产综合久久久久久| 久久综合丝袜日本网| 亚洲一本大道在线| 国产精品一区二区三区网站| 色网站国产精品| 精品免费日韩av| 亚洲制服丝袜一区| 成人性生交大片免费看视频在线| 色菇凉天天综合网| 久久久久久夜精品精品免费| 亚洲欧美精品午睡沙发| 九九久久精品视频| 在线欧美一区二区| 国产亚洲欧美中文| 天堂成人国产精品一区| fc2成人免费人成在线观看播放| 欧美日韩在线播放三区| 亚洲国产精品传媒在线观看| 日本伊人精品一区二区三区观看方式| 国产91对白在线观看九色| 91麻豆精品国产91久久久久| 亚洲欧洲av另类| 精品在线播放午夜| 欧美中文字幕不卡| 中文字幕一区二区三区四区不卡| 激情综合五月婷婷| 91精品国产入口| 一区二区三区加勒比av| 成人福利视频网站| 久久久精品日韩欧美| 日韩不卡一区二区三区| 欧美丝袜第三区| 亚洲精品国产无套在线观| 成人毛片老司机大片| 精品久久人人做人人爽| 三级在线观看一区二区| 欧美日韩三级视频| 一区二区三区日韩欧美精品| 99热精品国产| 国产精品欧美久久久久一区二区 | 在线观看日韩一区| 国产精品国产三级国产普通话三级| 国产一区在线不卡| 精品国产污污免费网站入口| 青青国产91久久久久久| 欧美一级二级三级乱码| 日韩福利视频导航| 日韩午夜在线观看视频| 久久精品国产亚洲5555| 精品国产髙清在线看国产毛片 | 日本高清不卡一区| 亚洲综合色视频| 欧洲生活片亚洲生活在线观看|