Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ clear
Method
clear
src/bthread/id.cpp:79–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
}
78
79
void clear() {
80
_size = 0;
81
_begin = 0;
82
if (_full) {
83
_full->clear();
84
}
85
}
86
87
~SmallQueue() {
88
delete _full;
Callers
3
flush_to_disk
Method · 0.45
bthread_id_unlock_and_destroy
Function · 0.45
~KeyTable
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected