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

Function lit_at

internal/cbm/doc_pdf.c:336–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334} url_cache_t;
335
336static bool lit_at(const uint32_t *t, int n, int p, const char *lit) {
337 for (int i = 0; lit[i]; i++) {
338 if (p + i >= n || t[p + i] != (uint32_t)(unsigned char)lit[i]) {
339 return false;
340 }
341 }
342 return true;
343}
344
345static int run_end_from(const uint32_t *t, int n, int p) {
346 while (p < n && !pdf_u_space(t[p])) {

Callers 3

url_atFunction · 0.85
path_candidateFunction · 0.85
join_kindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected