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

Function createSetObject

app/redis-6.2.6/src/object.c:243–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243robj *createSetObject(void) {
244 dict *d = dictCreate(&setDictType,NULL);
245 robj *o = createObject(OBJ_SET,d);
246 o->encoding = OBJ_ENCODING_HT;
247 return o;
248}
249
250robj *createIntsetObject(void) {
251 intset *is = intsetNew();

Callers 3

rdbLoadObjectFunction · 0.85
setTypeCreateFunction · 0.85
setTypeDupFunction · 0.85

Calls 2

createObjectFunction · 0.85
dictCreateFunction · 0.70

Tested by

no test coverage detected