MCPcopy Create free account
hub / github.com/ablab/spades / get

Method get

ext/src/llvm/JSON.cpp:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 return try_emplace(std::move(K), nullptr).first->getSecond();
22}
23Value *Object::get(StringRef K) {
24 auto I = find(K);
25 if (I == end())
26 return nullptr;
27 return &I->second;
28}
29const Value *Object::get(StringRef K) const {
30 auto I = find(K);
31 if (I == end())

Callers 15

setCurrentDocumentMethod · 0.45
preflightKeyMethod · 0.45
endMappingMethod · 0.45
preflightElementMethod · 0.45
preflightFlowElementMethod · 0.45
bitSetMatchMethod · 0.45
endBitSetScalarMethod · 0.45
~CrashRecoveryContextMethod · 0.45
isRecoveringFromCrashMethod · 0.45
GetCurrentMethod · 0.45

Calls 2

endFunction · 0.70
findFunction · 0.50

Tested by

no test coverage detected