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

Method get

external/jsoncpp/jsoncpp.cpp:3480–3483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3478}
3479
3480Value Value::get(ArrayIndex index, const Value &defaultValue) const {
3481 const Value *value = &((*this)[index]);
3482 return value == &nullSingleton() ? defaultValue : *value;
3483}
3484
3485bool Value::isValidIndex(ArrayIndex index) const { return index < size(); }
3486

Callers 15

set_default_valuesFunction · 0.45
build_fuzz_driverFunction · 0.45
from_dictMethod · 0.45
__keywordsMethod · 0.45
TEST_FFunction · 0.45
ASSERT_DEATHFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
getASTUnitsMethod · 0.45
getLLVMModuleMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 2

dataMethod · 0.80
lengthMethod · 0.80

Tested by 15

TEST_FFunction · 0.36
ASSERT_DEATHFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
SetUpMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
SetUpMethod · 0.36
SetUpMethod · 0.36
TESTFunction · 0.36