| 605 | } |
| 606 | |
| 607 | uint128 CityHashCrc128WithSeed(const char *s, size_t len, uint128 seed) { |
| 608 | if (len <= 900) { |
| 609 | return CityHash128WithSeed(s, len, seed); |
| 610 | } else { |
| 611 | uint64 result[4]; |
| 612 | CityHashCrc256(s, len, result); |
| 613 | uint64 u = Uint128High64(seed) + result[0]; |
| 614 | uint64 v = Uint128Low64(seed) + result[1]; |
| 615 | return uint128(HashLen16(u, v + result[2]), |
| 616 | HashLen16(Rotate(v, 32), u * k0 + result[3])); |
| 617 | } |
| 618 | } |
| 619 | |
| 620 | uint128 CityHashCrc128(const char *s, size_t len) { |
| 621 | if (len <= 900) { |
nothing calls this directly
no test coverage detected