)]}'
{
  "commit": "bd7e0ec4e697b0770b6dce7eca8e07479bae9d4c",
  "tree": "35bf4983079c67508635cd76974fededa3de91b0",
  "parents": [
    "4b1eabeeedbfa06b4ec28476da12ed823c60e5b9"
  ],
  "author": {
    "name": "Evan Brown CA",
    "email": "ezb@google.com",
    "time": "Tue Nov 17 08:57:37 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Nov 18 09:11:15 2026 -0800"
  },
  "message": "Fix 64-bit slot-size threshold in MaxValidSizeForSlotSize().\n\nOn 64-bit platforms, MaxValidSizeForSlotSize() returned MaxStorableSize() (2^40 - 1, whose SizeToCapacity() is 2^41 - 1) whenever `slot_size \u003c 1 \u003c\u003c 24`. Because kMaxValidCapacity shifts `~uint64_t{}` right by 2 and SizeToCapacity() rounds up to the next power-of-two capacity minus one, any slot_size in (3670016, 2^24) produced a MaxValidSize() exceeding MaxSizeAtMaxValidCapacity(slot_size), and slot sizes in [2^23, 2^24) overflowed 64-bit alloc_size_ calculation in RawHashSetLayout.\n\nCompare slot_size against `CapacityToGrowth(~uint64_t{} \u003e\u003e 2) / MaxStorableSize()` so MaxValidSizeForSlotSize() preserves its division-free fast path for normal slot sizes while matching `(std::min)(MaxStorableSize(), MaxSizeAtMaxValidCapacity(slot_size))` across all slot sizes.\n\nPiperOrigin-RevId: 1023784831\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "94bbfd19b707844d5ca35f0f75377f95b271cb77",
      "old_mode": 33188,
      "old_path": "absl/container/internal/raw_hash_set.h",
      "new_id": "0036bb81e0e9a40c1c7d0f98d96d6a2831983975",
      "new_mode": 33188,
      "new_path": "absl/container/internal/raw_hash_set.h"
    },
    {
      "type": "modify",
      "old_id": "e0a6cb15aca0a8a6f473c7dd6c614825091dd495",
      "old_mode": 33188,
      "old_path": "absl/container/internal/raw_hash_set_test.cc",
      "new_id": "32ce6350cec6728618b8ac1e87b975433dc60fa5",
      "new_mode": 33188,
      "new_path": "absl/container/internal/raw_hash_set_test.cc"
    }
  ]
}
