)]}'
{
  "commit": "ea234320f59c33d33cb68247df520bb60d65b483",
  "tree": "4b57fcac79bef72787ce62667b8f88d1a6b9fd4c",
  "parents": [
    "8306ce002d4f280a331870fe7953c0a1ac4d15b1"
  ],
  "author": {
    "name": "Han-Kuan Chen",
    "email": "hankuan.chen@sifive.com",
    "time": "Tue Apr 21 07:53:11 2026 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Apr 20 16:53:11 2026 -0700"
  },
  "message": "samples: Refactor input handling with data-driven approach (#23955)\n\n- Introduce `input_buffer_descriptor_t` struct to describe input buffer\nmetadata (shape, element type, data pointer, size).\n- Add `push_back_buffer_view()` helper function to encapsulate buffer\nview allocation and input pushing logic, eliminating code duplication.\n- Use array of descriptors with a loop to process inputs, making it\neasier to add or modify inputs without repeating code.\n\nThis refactoring improves code maintainability and makes it simpler to\nwork with different element types (e.g., float32, float16, uint8).\n\n---------\n\nSigned-off-by: Han-Kuan Chen \u003chankuan.chen@sifive.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "628447edb4b58c9c19277263a608ed049e3e2113",
      "old_mode": 33188,
      "old_path": "samples/static_library/static_library_demo.c",
      "new_id": "dc161c78a6e5bea602a06a55039f89951c981d05",
      "new_mode": 33188,
      "new_path": "samples/static_library/static_library_demo.c"
    }
  ]
}
