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

Function addReplyLongLong

app/redis-6.2.6/src/networking.c:747–754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745}
746
747void addReplyLongLong(client *c, long long ll) {
748 if (ll == 0)
749 addReply(c,shared.czero);
750 else if (ll == 1)
751 addReply(c,shared.cone);
752 else
753 addReplyLongLongWithPrefix(c,ll,':');
754}
755
756void addReplyAggregateLen(client *c, long length, int prefix) {
757 serverAssert(length >= 0);

Callers 15

luaReplyToRedisReplyFunction · 0.85
addReplyPubsubSubscribedFunction · 0.85
publishCommandFunction · 0.85
pubsubCommandFunction · 0.85
sentinelCommandFunction · 0.85
sentinelPublishCommandFunction · 0.85
ttlGenericCommandFunction · 0.85
touchCommandFunction · 0.85

Calls 2

addReplyFunction · 0.85

Tested by

no test coverage detected