MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / append

Method append

libcaf_net/caf/net/lp/framing.test.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33class buffer {
34public:
35 void append(std::string str) {
36 std::scoped_lock guard{mtx_};
37 entries_.emplace_back(std::move(str));
38 cv_.notify_all();
39 }
40
41 void set_error(error err) {
42 std::scoped_lock guard{mtx_};

Callers 2

parse_request_targetFunction · 0.45
consumeMethod · 0.45

Calls 1

emplace_backMethod · 0.45

Tested by

no test coverage detected