Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
city.cc File Reference
#include "../interface/city.h"
#include <algorithm>
#include <string.h>

Go to the source code of this file.

Macros

#define uint32_in_expected_order(x)   (x)
 
#define uint64_in_expected_order(x)   (x)
 
#define LIKELY(x)   (x)
 

Functions

uint64 CityHash64 (const char *s, size_t len)
 
uint64 CityHash64 (std::string str)
 
uint64 CityHash64WithSeed (const char *s, size_t len, uint64 seed)
 
uint64 CityHash64WithSeeds (const char *s, size_t len, uint64 seed0, uint64 seed1)
 
uint128 CityHash128WithSeed (const char *s, size_t len, uint128 seed)
 
uint128 CityHash128 (const char *s, size_t len)
 

Macro Definition Documentation

#define uint32_in_expected_order (   x)    (x)

Definition at line 51 of file city.cc.

#define uint64_in_expected_order (   x)    (x)

Definition at line 52 of file city.cc.

#define LIKELY (   x)    (x)

Definition at line 80 of file city.cc.

Function Documentation

uint64 CityHash64 ( const char *  s,
size_t  len 
)

Definition at line 200 of file city.cc.

uint64 CityHash64 ( std::string  str)

Definition at line 238 of file city.cc.

uint64 CityHash64WithSeed ( const char *  s,
size_t  len,
uint64  seed 
)

Definition at line 242 of file city.cc.

uint64 CityHash64WithSeeds ( const char *  s,
size_t  len,
uint64  seed0,
uint64  seed1 
)

Definition at line 246 of file city.cc.

uint128 CityHash128WithSeed ( const char *  s,
size_t  len,
uint128  seed 
)

Definition at line 283 of file city.cc.

uint128 CityHash128 ( const char *  s,
size_t  len 
)

Definition at line 342 of file city.cc.