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

Function dictEmpty

src/dict.cpp:1421–1426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1419}
1420
1421void dictEmpty(dict *d, void(callback)(void*)) {
1422 _dictClear(d,&d->ht[0],callback);
1423 _dictClear(d,&d->ht[1],callback);
1424 d->rehashidx = -1;
1425 d->pauserehash = 0;
1426}
1427
1428void dictEnableResize(void) {
1429 dict_can_resize = 1;

Callers 11

clearMethod · 0.85
processChangesMethod · 0.85
processChangesAsyncMethod · 0.85
removeAllCachedValuesMethod · 0.85
clearMethod · 0.85
clearAsyncMethod · 0.85
restoreSnapshotMethod · 0.85
endSnapshotMethod · 0.85
unblockClientWaitingDataFunction · 0.85
initSentinelFunction · 0.85

Calls 1

_dictClearFunction · 0.70

Tested by

no test coverage detected