Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ empty
Method
empty
src/bthread/id.cpp:71–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
return false;
70
}
71
bool empty() const {
72
return _size == 0 && (_full == NULL || _full->empty());
73
}
74
75
size_t size() const {
76
return _size + (_full ? _full->size() : 0);
Callers
15
run
Method · 0.45
pop
Method · 0.45
flush_to_disk
Method · 0.45
push
Method · 0.45
pop
Method · 0.45
id_status
Function · 0.45
id_create_impl
Function · 0.45
id_create_ranged_impl
Function · 0.45
butex_wake
Function · 0.45
butex_wake_n
Function · 0.45
butex_wake_except
Function · 0.45
butex_requeue
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected