Helper for no_duplicates test */
| 311 | |
| 312 | /* Helper for no_duplicates test */ |
| 313 | static void count_visit_worker(int idx, void *ctx) { |
| 314 | _Atomic int *c = ctx; |
| 315 | atomic_fetch_add(&c[idx], 1); |
| 316 | } |
| 317 | |
| 318 | TEST(parallel_for_no_duplicates) { |
| 319 | /* Verify no index is visited more than once (atomic increment per slot) */ |
nothing calls this directly
no outgoing calls
no test coverage detected