MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / expand

Method expand

src/StorageCache.cpp:188–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void StorageCache::expand(uint64_t slots)
189{
190 std::unique_lock<fastlock> ul(m_lock);
191 if (m_pdict) {
192 dictExpand(m_pdict, slots);
193 }
194}
195
196void StorageCache::retrieve(sds key, IStorage::callbackSingle fn) const
197{

Callers 3

rdbLoadRioFunction · 0.45
pushArrayMethod · 0.45
debugCommandFunction · 0.45

Calls 1

dictExpandFunction · 0.70

Tested by

no test coverage detected