MCPcopy Create free account
hub / github.com/BabitMF/bmf / clear_queue

Method clear_queue

bmf/engine/c_engine/src/input_stream.cpp:171–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169std::string InputStream::get_notify() { return notify_; }
170
171void InputStream::clear_queue() {
172 Packet pkt;
173 while (not queue_->empty()) {
174 queue_->pop(pkt);
175 }
176}
177
178bool InputStream::get_min_timestamp(int64_t &min_timestamp) {
179 if (queue_->empty()) {

Callers 1

closeMethod · 0.80

Calls 2

emptyMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected