MCPcopy Create free account
hub / github.com/apache/brpc / SetNullString

Method SetNullString

src/brpc/redis_reply.h:213–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213inline void RedisReply::SetNullString() {
214 if (_type != REDIS_REPLY_NIL) {
215 Reset();
216 }
217 _type = REDIS_REPLY_STRING;
218 _length = npos;
219}
220
221inline void RedisReply::SetStatus(const butil::StringPiece& str) {
222 return SetStringImpl(str, REDIS_REPLY_STATUS);

Callers 5

RunMethod · 0.80
TEST_FFunction · 0.80
DoGetMethod · 0.80
DoGetMethod · 0.80
RunMethod · 0.80

Calls

no outgoing calls

Tested by 4

TEST_FFunction · 0.64
DoGetMethod · 0.64
DoGetMethod · 0.64
RunMethod · 0.64