MCPcopy Create free account
hub / github.com/boostorg/asio / write_some

Method write_some

test/write.cpp:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97 template <typename Const_Buffers>
98 size_t write_some(const Const_Buffers& buffers)
99 {
100 size_t n = boost::asio::buffer_copy(
101 boost::asio::buffer(data_, length_) + position_,
102 buffers, next_write_length_);
103 position_ += n;
104 return n;
105 }
106
107 template <typename Const_Buffers>
108 size_t write_some(const Const_Buffers& buffers, boost::system::error_code& ec)

Callers 15

do_writeMethod · 0.45
testFunction · 0.45
testFunction · 0.45
testFunction · 0.45
test_compileFunction · 0.45
test_sync_operationsFunction · 0.45
test_compileFunction · 0.45
test_sync_operationsFunction · 0.45
test_compileFunction · 0.45
test_sync_operationsFunction · 0.45
testFunction · 0.45
testFunction · 0.45

Calls 3

buffer_copyFunction · 0.85
bufferFunction · 0.85
write_someFunction · 0.50

Tested by 6

test_compileFunction · 0.36
test_sync_operationsFunction · 0.36
test_compileFunction · 0.36
test_sync_operationsFunction · 0.36
test_compileFunction · 0.36
test_sync_operationsFunction · 0.36