MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / CityHash128

Function CityHash128

extern/libcds/test/stress/framework/city.cpp:491–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489}
490
491uint128 CityHash128(const char *s, size_t len) {
492 return len >= 16 ?
493 CityHash128WithSeed(s + 16, len - 16,
494 uint128(Fetch64(s), Fetch64(s + 8) + k0)) :
495 CityHash128WithSeed(s, len, uint128(k0, k1));
496}
497
498#ifdef __SSE4_2__
499#include "citycrc.h"

Callers 2

CityHashCrc128Function · 0.85
operator()Method · 0.85

Calls 2

CityHash128WithSeedFunction · 0.85
Fetch64Function · 0.85

Tested by

no test coverage detected