MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getContext

Method getContext

valdi/src/valdi/runtime/Context/ContextManager.cpp:133–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133SharedContext ContextManager::getContext(ContextId contextId) const {
134 std::lock_guard<std::mutex> lock(_mutex);
135
136 return lockFreeGetContext(contextId);
137}
138
139std::vector<SharedContext> ContextManager::getAllContexts() const {
140 std::lock_guard<std::mutex> lock(_mutex);

Callers 15

TEST_PFunction · 0.45
TEST_PMethod · 0.45
TEST_PFunction · 0.45
TEST_PFunction · 0.45
operator()Method · 0.45
callActionMethod · 0.45
createViewNodeWrapperMethod · 0.45
setValueForAttributeMethod · 0.45
moveViewToTreeMethod · 0.45
doCreateViewMethod · 0.45

Calls

no outgoing calls

Tested by 4

TEST_PFunction · 0.36
TEST_PMethod · 0.36
TEST_PFunction · 0.36
TEST_PFunction · 0.36