)]}'
{
  "commit": "6fdbe43d89616f3594fb8a0c0421fe20deebc190",
  "tree": "7db99a68509528ffc54673338440235252e928d4",
  "parents": [
    "7944488702ba99e7a261f5e191070691758a7a71"
  ],
  "author": {
    "name": "Evan Brown CA",
    "email": "ezb@google.com",
    "time": "Wed Nov 18 11:10:38 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Nov 18 11:11:48 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: 1024826968\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6257b948c64ea830d969f5bc1b8c4aad17487233",
      "old_mode": 33188,
      "old_path": "absl/container/internal/raw_hash_set.h",
      "new_id": "6ee6d3e0171e372cf8be9a11cdedf0270324a3a4",
      "new_mode": 33188,
      "new_path": "absl/container/internal/raw_hash_set.h"
    },
    {
      "type": "modify",
      "old_id": "7432a2c038b4671d371803848e6ac3ef489204df",
      "old_mode": 33188,
      "old_path": "absl/container/internal/raw_hash_set_test.cc",
      "new_id": "970420e05f304b62ec84360c6d2c00e443fdfe76",
      "new_mode": 33188,
      "new_path": "absl/container/internal/raw_hash_set_test.cc"
    }
  ]
}
