⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 string_hash.h

📁 Firestorm NIDS是一个性能非常高的网络入侵检测系统 (NIDS)。目前
💻 H
字号:
/** This file is part of Firestorm NIDS* Copyright (c) 2001 Gianni Tedesco* This program is released under the terms of the GNU GPL version 2*//* Fowler/Noll/Vo hash * Its fast to compute, its obvious code, it performs well... */static inline u_int32_t string_hash(char *str){	u_int32_t h=2166136261UL;	u_int8_t *data=(u_int8_t *)str;	while(*data) {		h = (h*16777619UL) ^ *data++;	}	return h;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -