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

Method read_some

test/read.cpp:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96 template <typename Mutable_Buffers>
97 size_t read_some(const Mutable_Buffers& buffers)
98 {
99 size_t n = boost::asio::buffer_copy(buffers,
100 boost::asio::buffer(data_, length_) + position_,
101 next_read_length_);
102 position_ += n;
103 return n;
104 }
105
106 template <typename Mutable_Buffers>
107 size_t read_some(const Mutable_Buffers& buffers,

Callers 15

sessionFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
sessionFunction · 0.45
do_readMethod · 0.45
testFunction · 0.45
testFunction · 0.45
test_compileFunction · 0.45
test_sync_operationsFunction · 0.45
testFunction · 0.45
test_compileFunction · 0.45

Calls 3

buffer_copyFunction · 0.85
bufferFunction · 0.85
read_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