MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / striequals

Function striequals

tools/quantize/quantize.cpp:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84static const char * const LLM_KV_IMATRIX_CHUNK_SIZE = "imatrix.chunk_size";
85
86static bool striequals(const char * a, const char * b) {
87 while (*a && *b) {
88 if (std::tolower(*a) != std::tolower(*b)) {
89 return false;
90 }
91 a++; b++;
92 }
93 return *a == *b;
94}
95
96static bool try_parse_ftype(const std::string & ftype_str_in, llama_ftype & ftype, std::string & ftype_str_out) {
97 std::string ftype_str;

Callers 2

try_parse_ftypeFunction · 0.70
parse_ggml_typeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected