Home
last modified time | relevance | path

Searched refs:rehashidx (Results 1 – 3 of 3) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Ddict.c128 d->rehashidx = -1; in _dictInit()
175 d->rehashidx = 0; in dictExpand()
197 assert(d->ht[0].size > (unsigned long)d->rehashidx); in dictRehash()
198 while(d->ht[0].table[d->rehashidx] == NULL) { in dictRehash()
199 d->rehashidx++; in dictRehash()
202 de = d->ht[0].table[d->rehashidx]; in dictRehash()
216 d->ht[0].table[d->rehashidx] = NULL; in dictRehash()
217 d->rehashidx++; in dictRehash()
225 d->rehashidx = -1; in dictRehash()
709 i = d->rehashidx; in dictGetSomeKeys()
[all …]
H A Ddict.h80 long rehashidx; /* rehashing not in progress if rehashidx == -1 */ member
148 #define dictIsRehashing(d) ((d)->rehashidx != -1)
/f-stack/app/redis-5.0.5/utils/hashtable/
H A Drehashing.c50 if (d->rehashidx != -1) { in show()
52 for (j = 0; j < d->rehashidx; j++) in show()