| 326 | } |
| 327 | |
| 328 | static bool work_row(cbm_work_kind_t kind, void *site, cbm_work_row_t *out) { |
| 329 | static cbm_work_row_t rows[128]; |
| 330 | size_t n = cbm_work_rows(rows, 128); |
| 331 | for (size_t i = 0; i < n; i++) { |
| 332 | if (rows[i].kind == kind && rows[i].site == (uintptr_t)site) { |
| 333 | *out = rows[i]; |
| 334 | return true; |
| 335 | } |
| 336 | } |
| 337 | return false; |
| 338 | } |
| 339 | |
| 340 | /* The fill pattern is how the layer sees memory nobody wrote. A 4 KB block |
| 341 | * that got 100 bytes: 3,996 bytes never written, and of the 1,000 requested |
no test coverage detected