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

Function cf_entry_compound

config.c:80–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80static void
81cf_entry_compound(char *key, char *subkey, char *val)
82{
83 if (strncmp(key, "box", 3))
84 cf_err("Unknown configuration section");
85 int box_id = cf_int(key + 3);
86 struct cf_per_box *c = cf_per_box(box_id);
87
88 if (!strcmp(subkey, "cpus"))
89 c->cpus = cf_string(val);
90 else if (!strcmp(subkey, "mems"))
91 c->mems = cf_string(val);
92 else
93 cf_err("Unknown per-box configuration item");
94}
95
96static void
97cf_entry(char *key, char *val)

Callers 1

cf_entryFunction · 0.85

Calls 4

cf_errFunction · 0.85
cf_intFunction · 0.85
cf_stringFunction · 0.85
cf_per_boxFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…