MCPcopy 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

runMethod · 0.45
popMethod · 0.45
flush_to_diskMethod · 0.45
pushMethod · 0.45
popMethod · 0.45
id_statusFunction · 0.45
id_create_implFunction · 0.45
id_create_ranged_implFunction · 0.45
butex_wakeFunction · 0.45
butex_wake_nFunction · 0.45
butex_wake_exceptFunction · 0.45
butex_requeueFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected