Fix long lines.

This commit is contained in:
chris_kohlhoff 2008-08-28 08:56:17 +00:00
parent 598d424132
commit 2fb9971805
2 changed files with 48 additions and 24 deletions

View File

@ -940,7 +940,8 @@ void test_5_arg_async_read_at()
s.reset(read_data, sizeof(read_data));
memset(read_buf, 0, sizeof(read_buf));
bool called = false;
asio::async_read_at(s, 0, buffers, asio::transfer_all(),
asio::async_read_at(s, 0, buffers,
asio::transfer_all(),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -953,7 +954,8 @@ void test_5_arg_async_read_at()
s.reset(read_data, sizeof(read_data));
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 1234, buffers, asio::transfer_all(),
asio::async_read_at(s, 1234, buffers,
asio::transfer_all(),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -967,7 +969,8 @@ void test_5_arg_async_read_at()
s.next_read_length(1);
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 0, buffers, asio::transfer_all(),
asio::async_read_at(s, 0, buffers,
asio::transfer_all(),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -981,7 +984,8 @@ void test_5_arg_async_read_at()
s.next_read_length(1);
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 1234, buffers, asio::transfer_all(),
asio::async_read_at(s, 1234, buffers,
asio::transfer_all(),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -995,7 +999,8 @@ void test_5_arg_async_read_at()
s.next_read_length(10);
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 0, buffers, asio::transfer_all(),
asio::async_read_at(s, 0, buffers,
asio::transfer_all(),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -1009,7 +1014,8 @@ void test_5_arg_async_read_at()
s.next_read_length(10);
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 1234, buffers, asio::transfer_all(),
asio::async_read_at(s, 1234, buffers,
asio::transfer_all(),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -1022,7 +1028,8 @@ void test_5_arg_async_read_at()
s.reset(read_data, sizeof(read_data));
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 0, buffers, asio::transfer_at_least(1),
asio::async_read_at(s, 0, buffers,
asio::transfer_at_least(1),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -1035,7 +1042,8 @@ void test_5_arg_async_read_at()
s.reset(read_data, sizeof(read_data));
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 1234, buffers, asio::transfer_at_least(1),
asio::async_read_at(s, 1234, buffers,
asio::transfer_at_least(1),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -1049,7 +1057,8 @@ void test_5_arg_async_read_at()
s.next_read_length(1);
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 0, buffers, asio::transfer_at_least(1),
asio::async_read_at(s, 0, buffers,
asio::transfer_at_least(1),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -1063,7 +1072,8 @@ void test_5_arg_async_read_at()
s.next_read_length(1);
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 1234, buffers, asio::transfer_at_least(1),
asio::async_read_at(s, 1234, buffers,
asio::transfer_at_least(1),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -1077,7 +1087,8 @@ void test_5_arg_async_read_at()
s.next_read_length(10);
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 0, buffers, asio::transfer_at_least(1),
asio::async_read_at(s, 0, buffers,
asio::transfer_at_least(1),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -1091,7 +1102,8 @@ void test_5_arg_async_read_at()
s.next_read_length(10);
memset(read_buf, 0, sizeof(read_buf));
called = false;
asio::async_read_at(s, 1234, buffers, asio::transfer_at_least(1),
asio::async_read_at(s, 1234, buffers,
asio::transfer_at_least(1),
boost::bind(async_read_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,

View File

@ -855,7 +855,8 @@ void test_5_arg_async_write_at()
s.reset();
bool called = false;
asio::async_write_at(s, 0, buffers, asio::transfer_all(),
asio::async_write_at(s, 0, buffers,
asio::transfer_all(),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -867,7 +868,8 @@ void test_5_arg_async_write_at()
s.reset();
called = false;
asio::async_write_at(s, 1234, buffers, asio::transfer_all(),
asio::async_write_at(s, 1234, buffers,
asio::transfer_all(),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -880,7 +882,8 @@ void test_5_arg_async_write_at()
s.reset();
s.next_write_length(1);
called = false;
asio::async_write_at(s, 0, buffers, asio::transfer_all(),
asio::async_write_at(s, 0, buffers,
asio::transfer_all(),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -893,7 +896,8 @@ void test_5_arg_async_write_at()
s.reset();
s.next_write_length(1);
called = false;
asio::async_write_at(s, 1234, buffers, asio::transfer_all(),
asio::async_write_at(s, 1234, buffers,
asio::transfer_all(),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -906,7 +910,8 @@ void test_5_arg_async_write_at()
s.reset();
s.next_write_length(10);
called = false;
asio::async_write_at(s, 0, buffers, asio::transfer_all(),
asio::async_write_at(s, 0, buffers,
asio::transfer_all(),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -919,7 +924,8 @@ void test_5_arg_async_write_at()
s.reset();
s.next_write_length(10);
called = false;
asio::async_write_at(s, 1234, buffers, asio::transfer_all(),
asio::async_write_at(s, 1234, buffers,
asio::transfer_all(),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -931,7 +937,8 @@ void test_5_arg_async_write_at()
s.reset();
called = false;
asio::async_write_at(s, 0, buffers, asio::transfer_at_least(1),
asio::async_write_at(s, 0, buffers,
asio::transfer_at_least(1),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -943,7 +950,8 @@ void test_5_arg_async_write_at()
s.reset();
called = false;
asio::async_write_at(s, 1234, buffers, asio::transfer_at_least(1),
asio::async_write_at(s, 1234, buffers,
asio::transfer_at_least(1),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -956,7 +964,8 @@ void test_5_arg_async_write_at()
s.reset();
s.next_write_length(1);
called = false;
asio::async_write_at(s, 0, buffers, asio::transfer_at_least(1),
asio::async_write_at(s, 0, buffers,
asio::transfer_at_least(1),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -969,7 +978,8 @@ void test_5_arg_async_write_at()
s.reset();
s.next_write_length(1);
called = false;
asio::async_write_at(s, 1234, buffers, asio::transfer_at_least(1),
asio::async_write_at(s, 1234, buffers,
asio::transfer_at_least(1),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -982,7 +992,8 @@ void test_5_arg_async_write_at()
s.reset();
s.next_write_length(10);
called = false;
asio::async_write_at(s, 0, buffers, asio::transfer_at_least(1),
asio::async_write_at(s, 0, buffers,
asio::transfer_at_least(1),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,
@ -995,7 +1006,8 @@ void test_5_arg_async_write_at()
s.reset();
s.next_write_length(10);
called = false;
asio::async_write_at(s, 1234, buffers, asio::transfer_at_least(1),
asio::async_write_at(s, 1234, buffers,
asio::transfer_at_least(1),
boost::bind(async_write_handler,
asio::placeholders::error,
asio::placeholders::bytes_transferred,