Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ reset
Method
reset
test/write_at.cpp:52–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
}
51
52
void reset()
53
{
54
memset(data_, 0, max_length);
55
next_write_length_ = max_length;
56
}
57
58
void next_write_length(size_t length)
59
{
Callers
15
test_3_arg_const_buffer_write_at
Function · 0.45
test_3_arg_mutable_buffer_write_at
Function · 0.45
test_3_arg_vector_buffers_write_at
Function · 0.45
test_4_arg_nothrow_const_buffer_write_at
Function · 0.45
test_4_arg_nothrow_mutable_buffer_write_at
Function · 0.45
test_4_arg_nothrow_vector_buffers_write_at
Function · 0.45
test_4_arg_const_buffer_write_at
Function · 0.45
test_4_arg_mutable_buffer_write_at
Function · 0.45
test_4_arg_vector_buffers_write_at
Function · 0.45
test_5_arg_const_buffer_write_at
Function · 0.45
test_5_arg_mutable_buffer_write_at
Function · 0.45
test_5_arg_vector_buffers_write_at
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_3_arg_const_buffer_write_at
Function · 0.36
test_3_arg_mutable_buffer_write_at
Function · 0.36
test_3_arg_vector_buffers_write_at
Function · 0.36
test_4_arg_nothrow_const_buffer_write_at
Function · 0.36
test_4_arg_nothrow_mutable_buffer_write_at
Function · 0.36
test_4_arg_nothrow_vector_buffers_write_at
Function · 0.36
test_4_arg_const_buffer_write_at
Function · 0.36
test_4_arg_mutable_buffer_write_at
Function · 0.36
test_4_arg_vector_buffers_write_at
Function · 0.36
test_5_arg_const_buffer_write_at
Function · 0.36
test_5_arg_mutable_buffer_write_at
Function · 0.36
test_5_arg_vector_buffers_write_at
Function · 0.36