MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / sl_array

Function sl_array

src/mcp/test_impact_select.c:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21} sl_reach_t;
22
23static void *sl_array(cbm_test_selection_t *result, int count, size_t size) {
24 if (count <= 0 || (size_t)count > SIZE_MAX / size)
25 return NULL;
26 return cbm_arena_calloc(&result->arena, (size_t)count * size);
27}
28
29static int sl_key(const char *af, const char *an, const char *bf, const char *bn) {
30 int cmp = strcmp(af, bf);

Callers 1

cbm_test_selectFunction · 0.85

Calls 1

cbm_arena_callocFunction · 0.85

Tested by

no test coverage detected