#include <stdlib.h>
#include <stdint.h>
#include <utility>
Go to the source code of this file.
Typedefs | |
typedef std::pair< uint64, uint64 > | uint128 |
typedef uint32_t | uint32 |
typedef uint64_t | uint64 |
typedef uint8_t | uint8 |
Functions | |
uint128 | CityHash128 (const char *s, size_t len) |
uint128 | CityHash128WithSeed (const char *s, size_t len, uint128 seed) |
uint32 | CityHash32 (const char *buf, size_t len) |
uint64 | CityHash64 (const char *buf, size_t len) |
uint64 | CityHash64WithSeed (const char *buf, size_t len, uint64 seed) |
uint64 | CityHash64WithSeeds (const char *buf, size_t len, uint64 seed0, uint64 seed1) |
uint64 | Hash128to64 (const uint128 &x) |
uint64 | Uint128High64 (const uint128 &x) |
uint64 | Uint128Low64 (const uint128 &x) |
Definition at line 72 of file city-hash.hpp.
typedef uint32_t uint32 |
Definition at line 70 of file city-hash.hpp.
typedef uint64_t uint64 |
Definition at line 71 of file city-hash.hpp.
typedef uint8_t uint8 |
Definition at line 69 of file city-hash.hpp.
uint128 CityHash128 | ( | const char * | s, |
size_t | len | ||
) |
Definition at line 501 of file city-hash.cpp.
Definition at line 438 of file city-hash.cpp.
uint32 CityHash32 | ( | const char * | buf, |
size_t | len | ||
) |
Definition at line 182 of file city-hash.cpp.
uint64 CityHash64 | ( | const char * | buf, |
size_t | len | ||
) |
Definition at line 359 of file city-hash.cpp.
Definition at line 397 of file city-hash.cpp.
Definition at line 401 of file city-hash.cpp.
Definition at line 101 of file city-hash.hpp.
Definition at line 75 of file city-hash.hpp.
Definition at line 74 of file city-hash.hpp.