MCPcopy Create free account
hub / github.com/chen3feng/toft / Clear

Method Clear

container/lru_cache.h:166–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164
165template<typename KeyType, typename ValueType, typename LockType>
166void LruCache<KeyType, ValueType, LockType>::Clear() {
167 typename LockType::Locker locker(&m_mutex);
168 value_list_.clear();
169 index_.clear();
170}
171
172} // namespace toft
173

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected