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

Method ByteSizeLong

src/brpc/redis.cpp:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66size_t RedisRequest::ByteSizeLong() const {
67 int total_size = static_cast<int>(_buf.size());
68 _cached_size_ = total_size;
69 return total_size;
70}
71
72void RedisRequest::MergeFrom(const RedisRequest& from) {
73 CHECK_NE(&from, this);

Callers 1

GetProtobufByteSizeFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected