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

Method expand

src/server.h:1121–1126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1119 size_t slots() const { return dictSlots(m_pdict); }
1120 size_t size(bool fCachedOnly = false) const;
1121 void expand(uint64_t slots) {
1122 if (m_spstorage)
1123 m_spstorage->expand(slots);
1124 else
1125 dictExpand(m_pdict, slots);
1126 }
1127
1128 void trackkey(robj_roptr o, bool fUpdate)
1129 {

Callers

nothing calls this directly

Calls 1

dictExpandFunction · 0.70

Tested by

no test coverage detected