Namespaces | Defines | Functions | Variables
city.cc File Reference
#include "absl/hash/internal/city.h"
#include <string.h>
#include <algorithm>
#include "absl/base/config.h"
#include "absl/base/internal/endian.h"
#include "absl/base/internal/unaligned_access.h"
#include "absl/base/optimization.h"
Include dependency graph for city.cc:

Go to the source code of this file.

Namespaces

namespace  absl
namespace  absl::hash_internal

Defines

#define PERMUTE3(a, b, c)
#define uint32_in_expected_order(x)   (x)
#define uint64_in_expected_order(x)   (x)

Functions

uint32_t absl::hash_internal::CityHash32 (const char *s, size_t len)
uint64_t absl::hash_internal::CityHash64 (const char *s, size_t len)
uint64_t absl::hash_internal::CityHash64WithSeed (const char *s, size_t len, uint64_t seed)
uint64_t absl::hash_internal::CityHash64WithSeeds (const char *s, size_t len, uint64_t seed0, uint64_t seed1)
static uint32_t absl::hash_internal::Fetch32 (const char *p)
static uint64_t absl::hash_internal::Fetch64 (const char *p)
static uint32_t absl::hash_internal::fmix (uint32_t h)
static uint32_t absl::hash_internal::Hash32Len0to4 (const char *s, size_t len)
static uint32_t absl::hash_internal::Hash32Len13to24 (const char *s, size_t len)
static uint32_t absl::hash_internal::Hash32Len5to12 (const char *s, size_t len)
static uint64_t absl::hash_internal::HashLen0to16 (const char *s, size_t len)
static uint64_t absl::hash_internal::HashLen16 (uint64_t u, uint64_t v)
static uint64_t absl::hash_internal::HashLen16 (uint64_t u, uint64_t v, uint64_t mul)
static uint64_t absl::hash_internal::HashLen17to32 (const char *s, size_t len)
static uint64_t absl::hash_internal::HashLen33to64 (const char *s, size_t len)
static uint32_t absl::hash_internal::Mur (uint32_t a, uint32_t h)
static uint64_t absl::hash_internal::Rotate (uint64_t val, int shift)
static uint32_t absl::hash_internal::Rotate32 (uint32_t val, int shift)
static uint64_t absl::hash_internal::ShiftMix (uint64_t val)
static std::pair< uint64_t,
uint64_t > 
absl::hash_internal::WeakHashLen32WithSeeds (uint64_t w, uint64_t x, uint64_t y, uint64_t z, uint64_t a, uint64_t b)
static std::pair< uint64_t,
uint64_t > 
absl::hash_internal::WeakHashLen32WithSeeds (const char *s, uint64_t a, uint64_t b)

Variables

static const uint32_t absl::hash_internal::c1 = 0xcc9e2d51
static const uint32_t absl::hash_internal::c2 = 0x1b873593
static const uint64_t absl::hash_internal::k0 = 0xc3a5c85c97cb3127ULL
static const uint64_t absl::hash_internal::k1 = 0xb492b66fbe98f273ULL
static const uint64_t absl::hash_internal::k2 = 0x9ae16a3b2f90404fULL

Define Documentation

#define PERMUTE3 (   a,
  b,
 
)
Value:
do {                    \
    std::swap(a, b);      \
    std::swap(a, c);      \
  } while (0)

Definition at line 76 of file city.cc.

#define uint32_in_expected_order (   x)    (x)

Definition at line 39 of file city.cc.

#define uint64_in_expected_order (   x)    (x)

Definition at line 40 of file city.cc.



abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:16