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

Function CityHashCrc128

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

Source from the content-addressed store, hash-verified

618}
619
620uint128 CityHashCrc128(const char *s, size_t len) {
621 if (len <= 900) {
622 return CityHash128(s, len);
623 } else {
624 uint64 result[4];
625 CityHashCrc256(s, len, result);
626 return uint128(result[2], result[3]);
627 }
628}
629
630#endif
631#endif // #if CDS_BUILD_BITS == 64

Callers

nothing calls this directly

Calls 2

CityHash128Function · 0.85
CityHashCrc256Function · 0.85

Tested by

no test coverage detected