Export of internal Abseil changes.
-- ed3a3431eee9e48e6553b0320e0308d2dde6725c by Derek Mauro <dmauro@google.com>: Project import generated by Copybara. PiperOrigin-RevId: 258631680 GitOrigin-RevId: ed3a3431eee9e48e6553b0320e0308d2dde6725c Change-Id: I1d7ae86a79783842092d29504605ba039c369603
This commit is contained in:
parent
44efe96dfc
commit
c6c3c1b498
32 changed files with 1168 additions and 657 deletions
|
|
@ -288,7 +288,6 @@ TEST(HashValueTest, Strings) {
|
|||
// Also check that nested types maintain the same hash.
|
||||
const WrapInTuple t{};
|
||||
EXPECT_TRUE(absl::VerifyTypeImplementsAbslHashCorrectly(std::make_tuple(
|
||||
//
|
||||
t(std::string()), t(absl::string_view()),
|
||||
t(std::string("")), t(absl::string_view("")),
|
||||
t(std::string(small)), t(absl::string_view(small)),
|
||||
|
|
|
|||
|
|
@ -640,7 +640,8 @@ class CityHashState : public HashStateBase<CityHashState> {
|
|||
#endif // ABSL_HAVE_INTRINSIC_INT128
|
||||
|
||||
static constexpr uint64_t kMul =
|
||||
sizeof(size_t) == 4 ? uint64_t{0xcc9e2d51} : uint64_t{0x9ddfea08eb382d69};
|
||||
sizeof(size_t) == 4 ? uint64_t{0xcc9e2d51}
|
||||
: uint64_t{0x9ddfea08eb382d69};
|
||||
|
||||
template <typename T>
|
||||
using IntegralFastPath =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue