Searched refs:ht (Results 1 – 8 of 8) sorted by relevance
| /redis-3.2.3/deps/hiredis/ |
| H A D | dict.c | 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 97 _dictInit(&n, ht->type, ht->privdata); in dictExpand() 106 for (i = 0; i < ht->size && ht->used > 0; i++) { in dictExpand() 130 *ht = n; in dictExpand() 188 h = dictHashKey(ht, key) & ht->sizemask; in dictDelete() 217 for (i = 0; i < ht->size && ht->used > 0; i++) { in _dictClear() 248 h = dictHashKey(ht, key) & ht->sizemask; in dictFind() 261 iter->ht = ht; in dictGetIterator() 300 if (ht->used == ht->size) in _dictExpandIfNeeded() 301 return dictExpand(ht, ht->size*2); in _dictExpandIfNeeded() [all …]
|
| H A D | dict.h | 70 dict *ht; member 81 (ht)->type->valDestructor((ht)->privdata, (entry)->val) 84 if ((ht)->type->valDup) \ 85 entry->val = (ht)->type->valDup((ht)->privdata, _val_); \ 92 (ht)->type->keyDestructor((ht)->privdata, (entry)->key) 95 if ((ht)->type->keyDup) \ 96 entry->key = (ht)->type->keyDup((ht)->privdata, _key_); \ 103 (ht)->type->keyCompare((ht)->privdata, key1, key2) : \ 106 #define dictHashKey(ht, key) (ht)->type->hashFunction(key) argument 110 #define dictSlots(ht) ((ht)->size) argument [all …]
|
| /redis-3.2.3/src/ |
| H A D | dict.c | 162 ht->size = 0; in _dictReset() 280 d->ht[0] = d->ht[1]; in dictRehash() 350 dictht *ht; in dictAddRaw() local 363 ht = dictIsRehashing(d) ? &d->ht[1] : &d->ht[0]; in dictAddRaw() 367 ht->used++; in dictAddRaw() 462 for (i = 0; i < ht->size && ht->used > 0; i++) { in _dictClear() 582 dictht *ht = &iter->d->ht[iter->table]; in dictNext() local 594 ht = &iter->d->ht[1]; in dictNext() 641 he = (h >= d->ht[0].size) ? d->ht[1].table[h - d->ht[0].size] : in dictGetRandomKey() 938 if (d->ht[0].used >= d->ht[0].size && in _dictExpandIfNeeded() [all …]
|
| H A D | dict.h | 79 dictht ht[2]; member 145 #define dictSlots(d) ((d)->ht[0].size+(d)->ht[1].size) 146 #define dictSize(d) ((d)->ht[0].used+(d)->ht[1].used)
|
| H A D | db.c | 498 dict *ht; in scanGenericCommand() local 548 ht = NULL; in scanGenericCommand() 550 ht = c->db->dict; in scanGenericCommand() 552 ht = o->ptr; in scanGenericCommand() 554 ht = o->ptr; in scanGenericCommand() 558 ht = zs->dict; in scanGenericCommand() 562 if (ht) { in scanGenericCommand() 576 cursor = dictScan(ht, cursor, scanCallback, privdata); in scanGenericCommand()
|
| H A D | t_zset.c | 1604 } ht; member 1656 it->ht.dict = op->subject->ptr; in zuiInitIterator() 1658 it->ht.de = dictNext(it->ht.di); in zuiInitIterator() 1691 dictReleaseIterator(it->ht.di); in zuiClearIterator() 1717 dict *ht = op->subject->ptr; in zuiLength() local 1718 return dictSize(ht); in zuiLength() 1761 if (it->ht.de == NULL) in zuiNext() 1763 val->ele = dictGetKey(it->ht.de); in zuiNext() 1767 it->ht.de = dictNext(it->ht.di); in zuiNext() 1873 dict *ht = op->subject->ptr; in zuiFind() local [all …]
|
| /redis-3.2.3/utils/hashtable/ |
| H A D | rehashing.c | 36 void showBuckets(dictht ht) { in showBuckets() argument 37 if (ht.table == NULL) { in showBuckets() 41 for (j = 0; j < ht.size; j++) { in showBuckets() 42 printf("%c", ht.table[j] ? '1' : '0'); in showBuckets() 57 showBuckets(d->ht[0]); in show() 59 showBuckets(d->ht[1]); in show()
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | configure | 969 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 972 | --ht=*)
|