MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dictEmpty

Function dictEmpty

app/redis-6.2.6/src/dict.c:1053–1058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1051}
1052
1053void dictEmpty(dict *d, void(callback)(void*)) {
1054 _dictClear(d,&d->ht[0],callback);
1055 _dictClear(d,&d->ht[1],callback);
1056 d->rehashidx = -1;
1057 d->pauserehash = 0;
1058}
1059
1060void dictEnableResize(void) {
1061 dict_can_resize = 1;

Callers 4

unblockClientWaitingDataFunction · 0.85
initSentinelFunction · 0.85
emptyDbStructureFunction · 0.85

Calls 1

_dictClearFunction · 0.70

Tested by

no test coverage detected