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

Function addReplyLongLong

src/networking.cpp:906–913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

904}
905
906void addReplyLongLong(client *c, long long ll) {
907 if (ll == 0)
908 addReply(c,shared.czero);
909 else if (ll == 1)
910 addReply(c,shared.cone);
911 else
912 addReplyLongLongWithPrefix(c,ll,':');
913}
914
915void addReplyAggregateLen(client *c, long length, int prefix) {
916 serverAssert(length >= 0);

Callers 15

delGenericCommandFunction · 0.85
existsCommandFunction · 0.85
dbsizeCommandFunction · 0.85
lastsaveCommandFunction · 0.85
addReplyPubsubSubscribedFunction · 0.85
publishCommandFunction · 0.85
pubsubCommandFunction · 0.85

Calls 2

addReplyFunction · 0.85

Tested by

no test coverage detected