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

Function jl_hex_value

src/cli/config_json_like.c:192–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192static unsigned jl_hex_value(unsigned char c) {
193 if (c >= '0' && c <= '9') {
194 return (unsigned)(c - '0');
195 }
196 if (c >= 'a' && c <= 'f') {
197 return (unsigned)(c - 'a') + 10U;
198 }
199 return (unsigned)(c - 'A') + 10U;
200}
201
202static bool jl_is_identifier_start(unsigned char c) {
203 return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c == '_' || c == '$' || c >= 0x80U;

Callers 3

jl_decode_hex4Function · 0.85
jl_key_equalsFunction · 0.85
jl_decode_string_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected