MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / is_word_char

Function is_word_char

subprojects/llama.cpp/src/llama-grammar.cpp:97–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97static bool is_word_char(char c) {
98 return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '-' || is_digit_char(c);
99}
100
101static std::pair<uint32_t, const char *> parse_hex(const char * src, int size) {
102 const char * pos = src;

Callers 2

parse_nameFunction · 0.85
parse_sequenceMethod · 0.85

Calls 1

is_digit_charFunction · 0.85

Tested by

no test coverage detected