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

Function HashTableExpand

src/util/dict.c:246–252  ·  view source on GitHub ↗

return DICT_ERR if expand was not performed */

Source from the content-addressed store, hash-verified

244
245/* return DICT_ERR if expand was not performed */
246int HashTableExpand
247(
248 dict *d,
249 unsigned long size
250) {
251 return _HashTableExpand(d, size, NULL);
252}
253
254/* Performs N steps of incremental rehashing. Returns 1 if there are still
255 * keys to move from the old to the new hash table, otherwise 0 is returned.

Callers 4

HashTableResizeFunction · 0.85
_HashTableExpandIfNeededFunction · 0.85
NewAggregateOpFunction · 0.85
AggregateResetFunction · 0.85

Calls 1

_HashTableExpandFunction · 0.85

Tested by

no test coverage detected