mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-27 20:45:13 +08:00
hashset.hpp
This commit is contained in:
parent
80d74f33bb
commit
dea533aa47
@ -35,7 +35,7 @@ inline
|
||||
uint64_t
|
||||
vt_hash_const_string(const char *key_)
|
||||
{
|
||||
int64_t hash = 0xcbf29ce484222325ull;
|
||||
uint64_t hash = 0xcbf29ce484222325ull;
|
||||
while( *key )
|
||||
hash = ( (unsigned char)*key++ ^ hash ) * 0x100000001b3ull;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user