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

Function dictCreate

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

Create a new hash table */

Source from the content-addressed store, hash-verified

105
106/* Create a new hash table */
107dict *dictCreate(dictType *type,
108 void *privDataPtr)
109{
110 dict *d = zmalloc(sizeof(*d));
111
112 _dictInit(d,type,privDataPtr);
113 return d;
114}
115
116/* Initialize the hash table */
117int _dictInit(dict *d, dictType *type,

Callers 15

rewriteConfigReadOldFileFunction · 0.70
dictTestFunction · 0.70
findBigKeysFunction · 0.70
scriptingInitFunction · 0.70
initSentinelFunction · 0.70
sentinelResetMasterFunction · 0.70
sentinelCommandFunction · 0.70
sentinelGetLeaderFunction · 0.70

Calls 2

zmallocFunction · 0.85
_dictInitFunction · 0.70

Tested by

no test coverage detected