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

Function addReplyDeferredLen

src/networking.cpp:705–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703}
704
705void *addReplyDeferredLen(client *c) {
706 if (FCorrectThread(c))
707 return addReplyDeferredLenCore(c);
708
709 return (void*)((ssize_t)(c->replyAsync ? c->replyAsync->used : 0));
710}
711
712void setDeferredReply(client *c, void *node, const char *s, size_t length) {
713 listNode *ln = (listNode*)node;

Callers 15

keysCommandCoreFunction · 0.85
pubsubCommandFunction · 0.85
roleCommandFunction · 0.85
zrangeResultBeginClientFunction · 0.85
genericZpopCommandFunction · 0.85
streamReplyWithRangeFunction · 0.85
xreadCommandFunction · 0.85
xpendingCommandFunction · 0.85

Calls 2

FCorrectThreadFunction · 0.85
addReplyDeferredLenCoreFunction · 0.85

Tested by

no test coverage detected