Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 353 Bytes
#include "City.h"
void CityHash64_test ( const void * key, int len, uint32_t seed, void * out )
{
*(uint64*)out = CityHash64WithSeed((const char *)key,len,seed);
}
void CityHash128_test ( const void * key, int len, uint32_t seed, void * out )
{
uint128 s(0,0);
s.first = seed;
*(uint128*)out = CityHash128WithSeed((const char*)key,len,s);
}