MCPcopy Create free account
hub / github.com/Icinga/icinga2 / read_some

Method read_some

plugins/check_nscp_api.cpp:252–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250
251 template<class MutableBufferSequence>
252 size_t read_some(const MutableBufferSequence& mbs)
253 {
254 boost::system::error_code ec;
255 size_t amount = read_some(mbs, ec);
256
257 if (ec) {
258 throw boost::system::system_error(ec);
259 }
260
261 return amount;
262 }
263
264 template<class MutableBufferSequence>
265 size_t read_some(const MutableBufferSequence& mbs, boost::system::error_code& ec)

Callers

nothing calls this directly

Calls 2

GetFirstNonZeroBufferFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected