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

Function cpp_line_end

internal/cbm/cpp_branch_views.c:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static int cpp_line_end(const char *src, int pos, int len) {
53 const char *nl = memchr(src + pos, '\n', (size_t)(len - pos));
54 return nl ? (int)(nl - src) : len;
55}
56
57typedef struct {
58 int group; // groups are numbered in order of their #if line

Callers 2

cpp_group_branchesFunction · 0.85
cbm_cpp_branch_viewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected