MCPcopy Create free account
hub / github.com/baidu/tera / Push

Method Push

src/common/base/bounded_queue.h:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 explicit BoundedQueue(size_type limit) : limit_{limit} {}
20
21 void Push(const value_type& v) {
22 qu_.push_back(v);
23 Drop();
24 }
25
26 void Push(value_type&& v) {
27 qu_.push_back(std::move(v));

Callers 1

TEST_FFunction · 0.45

Calls 1

push_backMethod · 0.80

Tested by 1

TEST_FFunction · 0.36