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

Function test_compare_fn

subprojects/llama.cpp/common/jinja/value.cpp:151–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150template<value_compare_op op>
151static value test_compare_fn(const func_args & args) {
152 args.ensure_count(2, 2);
153 return mk_val<value_bool>(value_compare(args.get_pos(0), args.get_pos(1), op));
154}
155
156static value tojson(const func_args & args) {
157 args.ensure_count(1, 5);

Callers

nothing calls this directly

Calls 3

value_compareFunction · 0.85
ensure_countMethod · 0.80
get_posMethod · 0.80

Tested by

no test coverage detected