MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / compare

Method compare

AgentBench.old/src/tasks/card_game/logic/src/jsoncpp/jsoncpp.cpp:2969–2975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2967ValueType Value::type() const { return type_; }
2968
2969int Value::compare(const Value& other) const {
2970 if (*this < other)
2971 return -1;
2972 if (*this > other)
2973 return 1;
2974 return 0;
2975}
2976
2977bool Value::operator<(const Value& other) const {
2978 int typeDelta = type_ - other.type_;

Callers 1

quill.min.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected