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

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

?? lh_stats.c

?? openssl包含TLS
?? C
字號:
/* crypto/lhash/lh_stats.c *//* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. *  * This library is free for commercial and non-commercial use as long as * the following conditions are aheared to.  The following conditions * apply to all code found in this distribution, be it the RC4, RSA, * lhash, DES, etc., code; not just the SSL code.  The SSL documentation * included with this distribution is covered by the same copyright terms * except that the holder is Tim Hudson (tjh@cryptsoft.com). *  * Copyright remains Eric Young's, and as such any Copyright notices in * the code are not to be removed. * If this package is used in a product, Eric Young should be given attribution * as the author of the parts of the library used. * This can be in the form of a textual message at program startup or * in documentation (online or textual) provided with the package. *  * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software *    must display the following acknowledgement: *    "This product includes cryptographic software written by *     Eric Young (eay@cryptsoft.com)" *    The word 'cryptographic' can be left out if the rouines from the library *    being used are not cryptographic related :-). * 4. If you include any Windows specific code (or a derivative thereof) from  *    the apps directory (application code) you must include an acknowledgement: *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" *  * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. *  * The licence and distribution terms for any publically available version or * derivative of this code cannot be changed.  i.e. this code cannot simply be * copied and put under another distribution licence * [including the GNU Public Licence.] */#include <stdio.h>#include <string.h>#include <stdlib.h>/* If you wish to build this outside of SSLeay, remove the following lines * and things should work as expected */#include "cryptlib.h"#ifndef OPENSSL_NO_BIO#include <openssl/bio.h>#endif#include <openssl/lhash.h>#ifdef OPENSSL_NO_BIOvoid lh_stats(LHASH *lh, FILE *out)	{	fprintf(out,"num_items             = %lu\n",lh->num_items);	fprintf(out,"num_nodes             = %u\n",lh->num_nodes);	fprintf(out,"num_alloc_nodes       = %u\n",lh->num_alloc_nodes);	fprintf(out,"num_expands           = %lu\n",lh->num_expands);	fprintf(out,"num_expand_reallocs   = %lu\n",lh->num_expand_reallocs);	fprintf(out,"num_contracts         = %lu\n",lh->num_contracts);	fprintf(out,"num_contract_reallocs = %lu\n",lh->num_contract_reallocs);	fprintf(out,"num_hash_calls        = %lu\n",lh->num_hash_calls);	fprintf(out,"num_comp_calls        = %lu\n",lh->num_comp_calls);	fprintf(out,"num_insert            = %lu\n",lh->num_insert);	fprintf(out,"num_replace           = %lu\n",lh->num_replace);	fprintf(out,"num_delete            = %lu\n",lh->num_delete);	fprintf(out,"num_no_delete         = %lu\n",lh->num_no_delete);	fprintf(out,"num_retrieve          = %lu\n",lh->num_retrieve);	fprintf(out,"num_retrieve_miss     = %lu\n",lh->num_retrieve_miss);	fprintf(out,"num_hash_comps        = %lu\n",lh->num_hash_comps);#if 0	fprintf(out,"p                     = %u\n",lh->p);	fprintf(out,"pmax                  = %u\n",lh->pmax);	fprintf(out,"up_load               = %lu\n",lh->up_load);	fprintf(out,"down_load             = %lu\n",lh->down_load);#endif	}void lh_node_stats(LHASH *lh, FILE *out)	{	LHASH_NODE *n;	unsigned int i,num;	for (i=0; i<lh->num_nodes; i++)		{		for (n=lh->b[i],num=0; n != NULL; n=n->next)			num++;		fprintf(out,"node %6u -> %3u\n",i,num);		}	}void lh_node_usage_stats(LHASH *lh, FILE *out)	{	LHASH_NODE *n;	unsigned long num;	unsigned int i;	unsigned long total=0,n_used=0;	for (i=0; i<lh->num_nodes; i++)		{		for (n=lh->b[i],num=0; n != NULL; n=n->next)			num++;		if (num != 0)			{			n_used++;			total+=num;			}		}	fprintf(out,"%lu nodes used out of %u\n",n_used,lh->num_nodes);	fprintf(out,"%lu items\n",total);	if (n_used == 0) return;	fprintf(out,"load %d.%02d  actual load %d.%02d\n",		(int)(total/lh->num_nodes),		(int)((total%lh->num_nodes)*100/lh->num_nodes),		(int)(total/n_used),		(int)((total%n_used)*100/n_used));	}#else#ifndef OPENSSL_NO_FP_APIvoid lh_stats(const LHASH *lh, FILE *fp)	{	BIO *bp;	bp=BIO_new(BIO_s_file());	if (bp == NULL) goto end;	BIO_set_fp(bp,fp,BIO_NOCLOSE);	lh_stats_bio(lh,bp);	BIO_free(bp);end:;	}void lh_node_stats(const LHASH *lh, FILE *fp)	{	BIO *bp;	bp=BIO_new(BIO_s_file());	if (bp == NULL) goto end;	BIO_set_fp(bp,fp,BIO_NOCLOSE);	lh_node_stats_bio(lh,bp);	BIO_free(bp);end:;	}void lh_node_usage_stats(const LHASH *lh, FILE *fp)	{	BIO *bp;	bp=BIO_new(BIO_s_file());	if (bp == NULL) goto end;	BIO_set_fp(bp,fp,BIO_NOCLOSE);	lh_node_usage_stats_bio(lh,bp);	BIO_free(bp);end:;	}#endifvoid lh_stats_bio(const LHASH *lh, BIO *out)	{	BIO_printf(out,"num_items             = %lu\n",lh->num_items);	BIO_printf(out,"num_nodes             = %u\n",lh->num_nodes);	BIO_printf(out,"num_alloc_nodes       = %u\n",lh->num_alloc_nodes);	BIO_printf(out,"num_expands           = %lu\n",lh->num_expands);	BIO_printf(out,"num_expand_reallocs   = %lu\n",		   lh->num_expand_reallocs);	BIO_printf(out,"num_contracts         = %lu\n",lh->num_contracts);	BIO_printf(out,"num_contract_reallocs = %lu\n",		   lh->num_contract_reallocs);	BIO_printf(out,"num_hash_calls        = %lu\n",lh->num_hash_calls);	BIO_printf(out,"num_comp_calls        = %lu\n",lh->num_comp_calls);	BIO_printf(out,"num_insert            = %lu\n",lh->num_insert);	BIO_printf(out,"num_replace           = %lu\n",lh->num_replace);	BIO_printf(out,"num_delete            = %lu\n",lh->num_delete);	BIO_printf(out,"num_no_delete         = %lu\n",lh->num_no_delete);	BIO_printf(out,"num_retrieve          = %lu\n",lh->num_retrieve);	BIO_printf(out,"num_retrieve_miss     = %lu\n",lh->num_retrieve_miss);	BIO_printf(out,"num_hash_comps        = %lu\n",lh->num_hash_comps);#if 0	BIO_printf(out,"p                     = %u\n",lh->p);	BIO_printf(out,"pmax                  = %u\n",lh->pmax);	BIO_printf(out,"up_load               = %lu\n",lh->up_load);	BIO_printf(out,"down_load             = %lu\n",lh->down_load);#endif	}void lh_node_stats_bio(const LHASH *lh, BIO *out)	{	LHASH_NODE *n;	unsigned int i,num;	for (i=0; i<lh->num_nodes; i++)		{		for (n=lh->b[i],num=0; n != NULL; n=n->next)			num++;		BIO_printf(out,"node %6u -> %3u\n",i,num);		}	}void lh_node_usage_stats_bio(const LHASH *lh, BIO *out)	{	LHASH_NODE *n;	unsigned long num;	unsigned int i;	unsigned long total=0,n_used=0;	for (i=0; i<lh->num_nodes; i++)		{		for (n=lh->b[i],num=0; n != NULL; n=n->next)			num++;		if (num != 0)			{			n_used++;			total+=num;			}		}	BIO_printf(out,"%lu nodes used out of %u\n",n_used,lh->num_nodes);	BIO_printf(out,"%lu items\n",total);	if (n_used == 0) return;	BIO_printf(out,"load %d.%02d  actual load %d.%02d\n",		   (int)(total/lh->num_nodes),		   (int)((total%lh->num_nodes)*100/lh->num_nodes),		   (int)(total/n_used),		   (int)((total%n_used)*100/n_used));	}#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产日韩精品| 日本一区二区三区免费乱视频| 欧美日韩精品一区二区三区四区| 欧美一区二区三区视频在线| 国产欧美日韩视频在线观看| 欧美aⅴ一区二区三区视频| 成人av在线影院| 欧美成人一区二区三区片免费 | 亚洲综合激情小说| 久久99精品视频| 日本精品裸体写真集在线观看| 国产亚洲污的网站| 美女视频黄免费的久久| 欧美人牲a欧美精品| 亚洲男人的天堂一区二区| 激情综合色综合久久| 欧美日韩日本视频| 亚洲欧美日韩在线不卡| 成人精品国产一区二区4080| 精品欧美久久久| 免费成人在线影院| 337p亚洲精品色噜噜| 亚洲一区成人在线| 欧美午夜宅男影院| 亚洲国产色一区| 91看片淫黄大片一级| 中文字幕一区在线观看| 国产成a人亚洲精品| 精品99一区二区| 亚洲欧美中日韩| 91免费精品国自产拍在线不卡| 国产精品女人毛片| voyeur盗摄精品| 亚洲三级电影网站| 色婷婷亚洲综合| 亚洲色图丝袜美腿| 在线观看网站黄不卡| 一区二区三区四区在线播放| 日本高清不卡一区| 一二三四社区欧美黄| 欧美日韩精品一区二区三区蜜桃| 亚洲国产精品一区二区www在线| 欧美专区亚洲专区| 水蜜桃久久夜色精品一区的特点| 欧美日韩午夜精品| 免费黄网站欧美| 久久这里只有精品视频网| 国产露脸91国语对白| 国产精品久久久久一区 | 国产一区二区按摩在线观看| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 91浏览器在线视频| 五月综合激情日本mⅴ| 欧美日韩精品专区| 看国产成人h片视频| 国产亚洲视频系列| 日本精品视频一区二区| 美国毛片一区二区| 国产农村妇女毛片精品久久麻豆 | 欧美精品一级二级| 精品中文av资源站在线观看| 国产视频不卡一区| 日本精品一级二级| 久久99精品国产.久久久久久| 日本一区二区三区国色天香| 色综合久久六月婷婷中文字幕| 午夜电影网一区| 国产日产欧美一区二区视频| 色狠狠一区二区| 国产一区在线精品| 亚洲电影一级片| 国产日韩欧美不卡| 欧美日韩国产在线观看| 国产a视频精品免费观看| 亚洲午夜一区二区三区| 精品成人一区二区三区| 欧美视频在线观看一区二区| 韩国女主播成人在线观看| 亚洲人成人一区二区在线观看| 日韩手机在线导航| 91女人视频在线观看| 精品一区二区三区免费播放| 亚洲人快播电影网| 久久久久99精品一区| 欧美一级夜夜爽| 在线观看亚洲成人| 成人福利视频在线| 狠狠色丁香久久婷婷综合丁香| 一片黄亚洲嫩模| 国产精品久久99| 久久精品亚洲乱码伦伦中文| 欧美日韩国产不卡| 一本色道久久综合亚洲91| 国产一区二区按摩在线观看| 奇米影视在线99精品| 亚洲最新视频在线播放| 中文字幕五月欧美| 久久久精品中文字幕麻豆发布| 欧美一级日韩一级| 欧美日韩国产高清一区二区| 色综合视频一区二区三区高清| 成人做爰69片免费看网站| 国产在线一区二区综合免费视频| 日本伊人精品一区二区三区观看方式| 亚洲三级免费电影| 亚洲私人影院在线观看| 国产精品欧美久久久久一区二区 | 亚洲不卡av一区二区三区| 中文字幕日韩一区二区| 国产欧美一区二区精品性| 久久综合久久鬼色| 精品美女在线播放| 久久色中文字幕| 久久人人爽爽爽人久久久| 亚洲精品一区二区三区99| 日韩精品综合一本久道在线视频| 欧美日韩的一区二区| 欧美日产国产精品| 欧美精品 日韩| 91精品国产综合久久久久| 欧美一区二区视频在线观看2022 | 欧美日韩亚洲不卡| 91精品国产综合久久精品性色| 欧美精品第1页| 欧美一区二区三级| 精品国精品国产| 久久影院午夜论| 国产午夜亚洲精品不卡| 国产精品短视频| 亚洲欧美一区二区三区国产精品| 自拍av一区二区三区| 亚洲在线观看免费| 日本91福利区| 国产精品一区二区在线播放| 成人免费福利片| 91国偷自产一区二区开放时间| 欧美主播一区二区三区美女| 日韩亚洲欧美在线观看| 国产视频一区二区三区在线观看 | 久久超碰97人人做人人爱| 国产一区免费电影| av成人动漫在线观看| 欧美日韩精品一区视频| 精品国产在天天线2019| 一区二区中文视频| 日本欧美在线观看| 国产成人高清在线| 欧洲色大大久久| 精品国产一区二区在线观看| 日韩理论片在线| 免费一级片91| aaa亚洲精品一二三区| 欧美另类久久久品| 国产日本欧美一区二区| 曰韩精品一区二区| 国产一区二区福利视频| 欧美性做爰猛烈叫床潮| 久久香蕉国产线看观看99| 亚洲日本一区二区| 老司机一区二区| 91麻豆蜜桃一区二区三区| 欧美大片在线观看一区二区| 亚洲欧美一区二区三区极速播放| 蜜桃久久久久久久| 色婷婷综合视频在线观看| 欧美不卡一区二区| 亚洲午夜久久久久久久久电影网| 国产乱妇无码大片在线观看| 欧美日韩另类一区| 17c精品麻豆一区二区免费| 另类小说色综合网站| 欧亚一区二区三区| 久久亚洲二区三区| 日韩av一区二区三区四区| 日本乱人伦一区| 中文字幕一区视频| 国产精品99久久久久| 日韩亚洲欧美综合| 亚洲成人免费在线| 99热国产精品| 欧美激情中文不卡| 久久99久久久欧美国产| 欧美日韩视频不卡| 亚洲精品综合在线| 成a人片亚洲日本久久| 国产亚洲欧美色| 国产在线观看一区二区| 欧美一区二区三区视频在线观看| 亚洲国产欧美日韩另类综合| 91污片在线观看| 亚洲欧美一区二区视频| 国产成人av网站| 久久久www免费人成精品| 久久99久久久欧美国产| 日韩一区二区免费电影| 日韩精品91亚洲二区在线观看| 欧美色图天堂网| 婷婷综合在线观看| 在线播放欧美女士性生活| 视频一区中文字幕|