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

Function itoa_log

src/pipeline/pass_tests.c:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35#include <string.h>
36
37static const char *itoa_log(int val) {
38 static char bufs[PT_RING][CBM_SZ_32];
39 static int idx = 0;
40 int i = idx;
41 idx = (idx + SKIP_ONE) & PT_RING_MASK;
42 snprintf(bufs[i], sizeof(bufs[i]), "%d", val);
43 return bufs[i];
44}
45
46/* Check if a node has is_test:true in its properties JSON. */
47static bool node_is_test(const cbm_gbuf_node_t *n) {

Callers 1

cbm_pipeline_pass_testsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected