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

Function dump_num

tests/test_parse_coverage.c:1707–1712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1705}
1706
1707static void dump_num(dump_buf_t *b, const char *tag, long v) {
1708 int n = snprintf(b->buf + b->len, b->cap - b->len, " %s=%ld", tag, v);
1709 if (n > 0 && (size_t)n < b->cap - b->len) {
1710 b->len += (size_t)n;
1711 }
1712}
1713
1714/* The Module def spans the whole file, and its end line follows the line
1715 * convention for a terminated last line (#1967), so it is compared on its own

Callers 1

dump_extractionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected