MCPcopy Create free account
hub / github.com/ioi/isolate / cf_per_box

Function cf_per_box

config.c:244–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244struct cf_per_box *
245cf_per_box(int box_id)
246{
247 struct cf_per_box *c;
248
249 for (c = per_box_configs; c; c = c->next)
250 if (c->box_id == box_id)
251 return c;
252
253 c = xmalloc(sizeof(*c));
254 memset(c, 0, sizeof(*c));
255 c->next = per_box_configs;
256 per_box_configs = c;
257 c->box_id = box_id;
258 return c;
259}

Callers 1

cf_entry_compoundFunction · 0.70

Calls 1

xmallocFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…