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

Function createZsetZiplistObject

src/object.cpp:301–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301robj *createZsetZiplistObject(void) {
302 unsigned char *zl = ziplistNew();
303 robj *o = createObject(OBJ_ZSET,zl);
304 o->encoding = OBJ_ENCODING_ZIPLIST;
305 return o;
306}
307
308robj *createStreamObject(void) {
309 stream *s = streamNew();

Callers 3

zaddGenericCommandFunction · 0.85
zrangeResultBeginStoreFunction · 0.85
moduleCreateEmptyKeyFunction · 0.85

Calls 2

ziplistNewFunction · 0.85
createObjectFunction · 0.85

Tested by

no test coverage detected