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

Function ha_is_utf8_continuation

src/cli/hook_augment.c:220–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220static bool ha_is_utf8_continuation(unsigned char ch) {
221 return (ch & 0xc0U) == 0x80U;
222}
223
224static size_t ha_utf8_sequence_length(const unsigned char *input, size_t remaining) {
225 if (!input || remaining == 0U) {

Callers 1

ha_utf8_sequence_lengthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected