📄 string_hash.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 + -