MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / is_word_char

Function is_word_char

common/grammar-parser.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 static bool is_word_char(char c) {
50 return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '-' || ('0' <= c && c <= '9');
51 }
52
53 static std::pair<uint32_t, const char *> parse_hex(const char * src, int size) {
54 const char * pos = src;

Callers 2

parse_nameFunction · 0.70
parse_sequenceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected