Home | History | Annotate | Download | only in src
      1 #include "City.h"
      2 
      3 void CityHash64_test ( const void * key, int len, uint32_t seed, void * out )
      4 {
      5   *(uint64*)out = CityHash64WithSeed((const char *)key,len,seed);
      6 }
      7 
      8 void CityHash128_test ( const void * key, int len, uint32_t seed, void * out )
      9 {
     10   uint128 s(0,0);
     11 
     12   s.first = seed;
     13 
     14   *(uint128*)out = CityHash128WithSeed((const char*)key,len,s);
     15 }
     16