mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-02-01 04:39:35 +08:00
trival
This commit is contained in:
parent
956bc5ab06
commit
343c7b2a29
@ -57,7 +57,7 @@ unsigned int crc32h(unsigned char *message,int len) {
|
|||||||
return ;
|
return ;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
void simple_hash(unsigned char *str,int len,unsigned char* res) //djb2+ sdb
|
void simple_hash(unsigned char *str,int len,unsigned char* res) //djb2+ sdbm
|
||||||
{
|
{
|
||||||
u32_t hash = 5381;
|
u32_t hash = 5381;
|
||||||
u32_t hash2 = 0;
|
u32_t hash2 = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user