automotive-dlt
city_c.h File Reference
#include <stddef.h>
#include <stdint.h>
Include dependency graph for city_c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  uint128
 

Macros

#define Uint128Low64(x)   ((x).first)
 
#define Uint128High64(x)   ((x).second)
 

Typedefs

typedef uint8_t uint8
 
typedef uint32_t uint32
 
typedef uint64_t uint64
 

Functions

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)
 
uint128 CityHash128 (const char *s, size_t len)
 
uint128 CityHash128WithSeed (const char *s, size_t len, uint128 seed)
 

Macro Definition Documentation

#define Uint128High64 (   x)    ((x).second)

Definition at line 70 of file city_c.h.

Referenced by CityHash128(), CityHash128WithSeed(), CityMurmur(), and Test().

#define Uint128Low64 (   x)    ((x).first)

Definition at line 69 of file city_c.h.

Referenced by CityHash128(), CityHash128WithSeed(), CityMurmur(), and Test().

Typedef Documentation

typedef uint32_t uint32

Definition at line 54 of file city_c.h.

typedef uint64_t uint64

Definition at line 55 of file city_c.h.

typedef uint8_t uint8

Definition at line 53 of file city_c.h.

Function Documentation

uint128 CityHash128 ( const char *  s,
size_t  len 
)
uint128 CityHash128WithSeed ( const char *  s,
size_t  len,
uint128  seed 
)
uint64 CityHash64 ( const char *  buf,
size_t  len 
)
uint64 CityHash64WithSeed ( const char *  buf,
size_t  len,
uint64  seed 
)

Definition at line 273 of file city_c.c.

References CityHash64WithSeeds(), and k2.

Referenced by Test().

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

Definition at line 277 of file city_c.c.

References CityHash64(), and HashLen16().

Referenced by CityHash64WithSeed(), and Test().