MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / createIntsetObject

Function createIntsetObject

src/object.cpp:276–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276robj *createIntsetObject(void) {
277 intset *is = intsetNew();
278 robj *o = createObject(OBJ_SET,is);
279 o->encoding = OBJ_ENCODING_INTSET;
280 return o;
281}
282
283robj *createHashObject(void) {
284 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