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

Function is_bool_arg

subprojects/llama.cpp/common/preset.cpp:283–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283static bool is_bool_arg(const common_arg & arg) {
284 return !arg.args_neg.empty();
285}
286
287static std::string parse_bool_arg(const common_arg & arg, const std::string & key, const std::string & value) {
288 // if this is a negated arg, we need to reverse the value

Callers 1

load_from_iniMethod · 0.85

Calls 1

emptyMethod · 0.65

Tested by

no test coverage detected