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

Method getContextsSize

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

Source from the content-addressed store, hash-verified

149}
150
151size_t ContextManager::getContextsSize() const {
152 std::lock_guard<std::mutex> lock(_mutex);
153 return _contextById.size();
154}
155
156void ContextManager::setListener(IContextManagerListener* listener) {
157 _listener = listener;

Callers 1

onContextDestroyedMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected