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

Function createIntsetObject

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

Source from the content-addressed store, hash-verified

248}
249
250robj *createIntsetObject(void) {
251 intset *is = intsetNew();
252 robj *o = createObject(OBJ_SET,is);
253 o->encoding = OBJ_ENCODING_INTSET;
254 return o;
255}
256
257robj *createHashObject(void) {
258 unsigned char *zl = ziplistNew();

Callers 4

rdbLoadObjectFunction · 0.85
setTypeCreateFunction · 0.85
sinterGenericCommandFunction · 0.85
sunionDiffGenericCommandFunction · 0.85

Calls 2

intsetNewFunction · 0.85
createObjectFunction · 0.85

Tested by

no test coverage detected