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

Function ap_parameter_array

src/store/architecture_projection.c:836–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836static bool ap_parameter_array(yyjson_val *value) {
837 if (!yyjson_is_arr(value) || yyjson_arr_size(value) > AP_PARAMETER_LIMIT)
838 return false;
839 size_t index, maximum;
840 yyjson_val *item;
841 yyjson_arr_foreach(value, index, maximum,
842 item) if (!ap_bounded_string(item, AP_VALUE_BYTES)) return false;
843 return true;
844}
845
846/* Optional copies must leave room for the base graph and its serialized copy.
847 * Charge mutable values plus worst-case JSON escaping before allocation. The

Callers 1

ap_declaration_evidenceFunction · 0.85

Calls 1

ap_bounded_stringFunction · 0.85

Tested by

no test coverage detected