MCPcopy Create free account
hub / github.com/Samsung/UTopia / compare

Method compare

external/jsoncpp/jsoncpp.cpp:2878–2884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2876}
2877
2878int Value::compare(const Value &other) const {
2879 if (*this < other)
2880 return -1;
2881 if (*this > other)
2882 return 1;
2883 return 0;
2884}
2885
2886bool Value::operator<(const Value &other) const {
2887 int typeDelta = type() - other.type();

Callers 10

isDescendantOfMethod · 0.80
isTestBodyMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 8

isDescendantOfMethod · 0.64
isTestBodyMethod · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64
TEST_FFunction · 0.64