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

Method getAllContexts

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

Source from the content-addressed store, hash-verified

137}
138
139std::vector<SharedContext> ContextManager::getAllContexts() const {
140 std::lock_guard<std::mutex> lock(_mutex);
141
142 std::vector<SharedContext> out;
143
144 for (const auto& it : _contextById) {
145 out.push_back(it.second);
146 }
147
148 return out;
149}
150
151size_t ContextManager::getContextsSize() const {
152 std::lock_guard<std::mutex> lock(_mutex);

Callers 4

dumpContextsLogsMethod · 0.45
setAutoRenderDisabledMethod · 0.45
getAllUsedModulesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected