You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
415 B

4 years ago
  1. from libc.stdint cimport uint64_t, int64_t, uint32_t
  2. cdef uint32_t hash32(void* key, int length, uint32_t seed) nogil
  3. cdef uint64_t hash64(void* key, int length, uint64_t seed) nogil
  4. cdef uint64_t real_hash64(void* key, int length, uint64_t seed) nogil
  5. cdef void hash128_x86(const void* key, int len, uint32_t seed, void* out) nogil
  6. cdef void hash128_x64(const void* key, int len, uint32_t seed, void* out) nogil