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

Function str_isupper

internal/cbm/doc_pdf.c:576–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576static bool str_isupper(const uint32_t *s, int n) {
577 bool cased = false;
578 for (int i = 0; i < n; i++) {
579 if (pdf_u_lower(s[i]) || pdf_u_title(s[i])) {
580 return false;
581 }
582 cased = cased || pdf_u_upper(s[i]);
583 }
584 return cased;
585}
586
587static bool is_camel(const uint32_t *t, int n) {
588 if (n < 3 || str_isupper(t, n) || str_islower(t, n)) {

Callers 2

is_camelFunction · 0.85
tok_candidateFunction · 0.85

Calls 3

pdf_u_lowerFunction · 0.85
pdf_u_titleFunction · 0.85
pdf_u_upperFunction · 0.85

Tested by

no test coverage detected