MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / _dictReset

Function _dictReset

src/util/dict.c:123–132  ·  view source on GitHub ↗

Reset hash table parameters already initialized with _dictInit()*/

Source from the content-addressed store, hash-verified

121
122/* Reset hash table parameters already initialized with _dictInit()*/
123static void _dictReset
124(
125 dict *d,
126 int htidx
127)
128{
129 d->ht_table[htidx] = NULL;
130 d->ht_size_exp[htidx] = -1;
131 d->ht_used[htidx] = 0;
132}
133
134/* Create a new hash table */
135dict *HashTableCreate

Callers 3

_dictInitFunction · 0.85
HashTableRehashFunction · 0.85
_dictClearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected