)]}'
{
  "commit": "f23726da623b15bf0d2d377ea667ab1bb774e5b3",
  "tree": "b73db4071b2614839a66aec9c55dc29e4a2c787e",
  "parents": [
    "43038f2908332226feb3ac791bc816eb4cb81133"
  ],
  "author": {
    "name": "Protobuf Team Bot",
    "email": "protobuf-github-bot@google.com",
    "time": "Sat Nov 21 16:25:37 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Nov 23 09:52:05 2026 -0800"
  },
  "message": "Access upb_Array\u0027s size and capacity only through accessor functions.\n\nThis prepares for making these fields narrower than size_t. All reads and writes\nnow go through force-inlined accessors that take and return size_t:\n\n- _upb_Array_GetSize() and _upb_Array_GetCapacity() UPB_ASSUME() the\n  invariants that the setters maintain, so the optimizer can rely on them: the\n  size never exceeds the capacity, and neither one\u0027s size in bytes overflows a\n  size_t. (In debug builds these are checked.)\n- _upb_Array_SetSize() asserts that the size does not exceed the capacity, and\n  _upb_Array_SetCapacity() asserts that the capacity is not less than the size\n  and that its size in bytes fits in a size_t. Callers already guarantee these\n  (e.g. by reserving room before growing the size, and by range-checking\n  capacities before allocating).\n- _upb_Array_Init() initializes a new array\u0027s size and capacity.\n\nGenerated code now uses upb_Array_Size() instead of reading the field directly.\n\nPiperOrigin-RevId: 1027315164\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "61b78103acbc8f9283c8484525f649e309b00343",
      "old_mode": 33188,
      "old_path": "upb/message/array.c",
      "new_id": "31233342f14bf9388a4e17f07769b292f2b82d5e",
      "new_mode": 33188,
      "new_path": "upb/message/array.c"
    },
    {
      "type": "modify",
      "old_id": "92b18cfafafc64ce9459bd44e806ab09b6bc1157",
      "old_mode": 33188,
      "old_path": "upb/message/internal/array.h",
      "new_id": "84528f141fd817abd2f022d1e40415a9312ead0d",
      "new_mode": 33188,
      "new_path": "upb/message/internal/array.h"
    },
    {
      "type": "modify",
      "old_id": "d023fbd81a89cbea19de5a3f615591669d48f691",
      "old_mode": 33188,
      "old_path": "upb/reflection/stage0/google/protobuf/descriptor.upb.h",
      "new_id": "46ebf13bfe7d049eddef1a9ca77f0701cbd19fe0",
      "new_mode": 33188,
      "new_path": "upb/reflection/stage0/google/protobuf/descriptor.upb.h"
    },
    {
      "type": "modify",
      "old_id": "c2cfe5adc5f61c12edd37959e44b007a91f95588",
      "old_mode": 33188,
      "old_path": "upb/wire/BUILD",
      "new_id": "80b9d46d26f05df76ba36153d03453743897bf36",
      "new_mode": 33188,
      "new_path": "upb/wire/BUILD"
    },
    {
      "type": "modify",
      "old_id": "9e33a5ba0415ac0f6dcc8cc6aff2e424a898f614",
      "old_mode": 33188,
      "old_path": "upb/wire/decode.c",
      "new_id": "19c78306e5c2d20367fdf26728c26f894a04d9e4",
      "new_mode": 33188,
      "new_path": "upb/wire/decode.c"
    },
    {
      "type": "modify",
      "old_id": "8465f21286783edbceb52130690dbded96979ae2",
      "old_mode": 33188,
      "old_path": "upb/wire/decode_fast/cardinality.c",
      "new_id": "b7ec4c493340ccdd8f9b4e11444155b94bffb92c",
      "new_mode": 33188,
      "new_path": "upb/wire/decode_fast/cardinality.c"
    },
    {
      "type": "modify",
      "old_id": "3e2975202ca9df2674219dbcc73510d0d60be78f",
      "old_mode": 33188,
      "old_path": "upb/wire/decode_fast/cardinality.h",
      "new_id": "43e0306f94daaa41af4dcea1d13a058249d0f671",
      "new_mode": 33188,
      "new_path": "upb/wire/decode_fast/cardinality.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4ca0c806b919b5ea2b30083c9cf1d4992d1dca96",
      "new_mode": 33188,
      "new_path": "upb/wire/decode_large_array_test.cc"
    },
    {
      "type": "modify",
      "old_id": "1cbed99affda8eef516ef9a8413279d3283c3fd3",
      "old_mode": 33188,
      "old_path": "upb_generator/c/generator.cc",
      "new_id": "da235941aa2e896cc3da48a2baa743ec2de68cf2",
      "new_mode": 33188,
      "new_path": "upb_generator/c/generator.cc"
    },
    {
      "type": "modify",
      "old_id": "6244a55a6e07c61f182274f35a072cac2dd087bc",
      "old_mode": 33188,
      "old_path": "upb_generator/stage0/google/protobuf/compiler/plugin.upb.h",
      "new_id": "183f134d4dce84d16c96e05405019ab2c0501e87",
      "new_mode": 33188,
      "new_path": "upb_generator/stage0/google/protobuf/compiler/plugin.upb.h"
    }
  ]
}
