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

Function php_eq_nocase

internal/cbm/doclink_php.c:73–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71/* ── Names ───────────────────────────────────────────────────────── */
72
73static bool php_eq_nocase(const char *a, size_t an, const char *b, size_t bn) {
74 if (an != bn) {
75 return false;
76 }
77 for (size_t i = 0; i < an; i++) {
78 if (tolower((unsigned char)a[i]) != tolower((unsigned char)b[i])) {
79 return false;
80 }
81 }
82 return true;
83}
84
85/* out[*w..] += s[0, n); false when it does not fit. */
86static bool php_put(char *out, size_t cap, size_t *w, const char *s, size_t n) {

Callers 1

cbm_doclink_php_qualifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected