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

Function c_block_index

internal/cbm/doclink_c.c:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243 "endmsc", "enduml", NULL};
244
245static int c_block_index(const char *const *list, const char *w, size_t n) {
246 for (int i = 0; list[i]; i++) {
247 if (c_word_is(w, n, list[i])) {
248 return i;
249 }
250 }
251 return CBM_NOT_FOUND;
252}
253
254/* The end of the next non-space position of p[j, n). */
255static size_t c_skip_space(const char *p, size_t j, size_t n) {

Callers 1

c_lineFunction · 0.85

Calls 1

c_word_isFunction · 0.85

Tested by

no test coverage detected