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

Function dictExpand

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

return DICT_ERR if expand was not performed */

Source from the content-addressed store, hash-verified

189
190/* return DICT_ERR if expand was not performed */
191int dictExpand(dict *d, unsigned long size) {
192 return _dictExpand(d, size, NULL);
193}
194
195/* return DICT_ERR if expand failed due to memory allocation failure */
196int dictTryExpand(dict *d, unsigned long size) {

Callers 12

dictResizeFunction · 0.70
_dictExpandIfNeededFunction · 0.70
hashTypeDupFunction · 0.70
rdbLoadRioFunction · 0.70
setTypeConvertFunction · 0.70
setTypeDupFunction · 0.70
zsetDupFunction · 0.70
debugCommandFunction · 0.70

Calls 1

_dictExpandFunction · 0.85

Tested by

no test coverage detected