Searched refs:close_after (Results 1 – 5 of 5) sorted by relevance
/third_party/boost/libs/asio/example/cpp11/timeouts/ |
D | blocking_token_tcp_client.cpp | 33 struct close_after struct 35 close_after(std::chrono::steady_clock::duration t, tcp_socket& s) in close_after() argument 55 class async_result<close_after, void(boost::system::error_code, T)> 64 completion_handler_type(const close_after& token) in completion_handler_type() 77 close_after token_; 162 close_after(std::chrono::seconds(10), socket)); in main() 169 close_after(std::chrono::seconds(10), socket)); in main() 176 close_after(std::chrono::seconds(10), socket)); in main()
|
/third_party/boost/doc/html/boost_asio/example/cpp11/timeouts/ |
D | blocking_token_tcp_client.cpp | 33 struct close_after struct 35 close_after(std::chrono::steady_clock::duration t, tcp_socket& s) in close_after() argument 55 class async_result<close_after, void(boost::system::error_code, T)> 64 completion_handler_type(const close_after& token) in completion_handler_type() 77 close_after token_; 162 close_after(std::chrono::seconds(10), socket)); in main() 169 close_after(std::chrono::seconds(10), socket)); in main() 176 close_after(std::chrono::seconds(10), socket)); in main()
|
/third_party/boost/libs/asio/example/cpp03/timeouts/ |
D | blocking_token_tcp_client.cpp | 33 struct close_after struct 35 close_after(boost::asio::chrono::steady_clock::duration t, tcp_socket& s) in close_after() function 55 class async_result<close_after, void(boost::system::error_code, T)> 64 completion_handler_type(const close_after& token) in completion_handler_type() 77 close_after token_; 163 close_after(boost::asio::chrono::seconds(10), socket)); in main() 171 close_after(boost::asio::chrono::seconds(10), socket)); in main() 178 close_after(boost::asio::chrono::seconds(10), socket)); in main()
|
/third_party/boost/doc/html/boost_asio/example/cpp03/timeouts/ |
D | blocking_token_tcp_client.cpp | 33 struct close_after struct 35 close_after(boost::asio::chrono::steady_clock::duration t, tcp_socket& s) in close_after() function 55 class async_result<close_after, void(boost::system::error_code, T)> 64 completion_handler_type(const close_after& token) in completion_handler_type() 77 close_after token_; 163 close_after(boost::asio::chrono::seconds(10), socket)); in main() 171 close_after(boost::asio::chrono::seconds(10), socket)); in main() 178 close_after(boost::asio::chrono::seconds(10), socket)); in main()
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_sendfile.py | 29 def __init__(self, loop=None, close_after=0): argument 37 self.close_after = close_after 65 if self.close_after and self.nbytes >= self.close_after: 248 def prepare_sendfile(self, *, is_ssl=False, close_after=0): argument 251 close_after=close_after) 432 close_after=len(self.DATA)) 444 is_ssl=True, close_after=len(self.DATA)) 460 srv_proto, cli_proto = self.prepare_sendfile(close_after=1024) 481 srv_proto, cli_proto = self.prepare_sendfile(close_after=1024)
|