Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ Clear
Method
Clear
src/brpc/redis.cpp:60–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
void RedisRequest::Clear() {
61
_ncommand = 0;
62
_has_error = false;
63
_buf.clear();
64
}
65
66
size_t RedisRequest::ByteSizeLong() const {
67
int total_size = static_cast<int>(_buf.size());
Callers
nothing calls this directly
Calls
2
clear
Method · 0.45
Reset
Method · 0.45
Tested by
no test coverage detected