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

Method put

bmf/python/py_module_sdk.cpp:199–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 bool empty() const { return q_->empty(); }
198
199 int put(const bmf_sdk::Packet &pkt) {
200 q_->push(pkt);
201 return 0;
202 }
203
204 bmf_sdk::Packet get() {
205 auto pkt = q_->front();

Callers 15

createMProgramMethod · 0.80
initMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
processMethod · 0.80
process_pktMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected