MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / get

Method get

edrav2/eprj/jsoncpp/src/lib_json/json_value.cpp:1145–1148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1143}
1144
1145Value Value::get(ArrayIndex index, const Value& defaultValue) const {
1146 const Value* value = &((*this)[index]);
1147 return value == &nullSingleton() ? defaultValue : *value;
1148}
1149
1150bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
1151

Callers 5

check_no_pending_commitFunction · 0.45
find_programFunction · 0.45
JSONTEST_FIXTUREFunction · 0.45
generate_html_reportFunction · 0.45

Calls 6

strlenFunction · 0.85
findFunction · 0.50
getFunction · 0.50
dataMethod · 0.45
lengthMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected