Home
last modified time | relevance | path

Searched defs:server (Results 1 – 11 of 11) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Dasync_buf_read.rs32 let server = ylong_runtime::spawn(async move { in sdv_buf_reader_read_until() localVariable
76 let server = ylong_runtime::spawn(async move { in sdv_buf_reader_read_line() localVariable
117 let server = ylong_runtime::spawn(async move { in sdv_buf_reader_split() localVariable
156 let server = ylong_runtime::spawn(async move { in sdv_buf_reader_lines() localVariable
Dtcp_test.rs107 let server = runtime.spawn(async move { in sdv_tcp_multi_runtime() localVariable
175 let server = ylong_runtime::block_on(handle1).unwrap(); in sdv_tcp_drop_out_context() localVariable
Dasync_buf_write.rs30 let server = ylong_runtime::spawn(async move { in sdv_buf_writer_write() localVariable
69 let server = ylong_runtime::spawn(async move { in sdv_buf_writer_write_vectored() localVariable
Dasync_read.rs63 let server = ylong_runtime::spawn(async move { in sdv_buf_reader_read_to_string() localVariable
Djoin_set.rs100 let mut server = listener.accept().await.unwrap().0; in sdv_join_set_spawn_io() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
Dylong_runtime_tcp_server_perf.rs27 let server = match TcpListener::bind(addr).await { in main() localVariable
Dylong_runtime_async_benchmark.rs40 let mut server = socket.accept().await.unwrap().0; in run_server() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/tests/tcp_server/
Dmod.rs67 …let server = TcpListener::bind("127.0.0.1:0").await.expect("server is failed to bind a address !"); localVariable
164 … let server = TcpListener::bind("127.0.0.1:0").expect("server is failed to bind a address !"); localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/examples/
Dylong_io_tcp_server.rs30 let mut server = TcpListener::bind(addr)?; in main() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/tests/common/
Dmod.rs128 …let server = hyper::Server::from_tcp(tcp_listener).expect("build hyper server from tcp listener fa… localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
Dlistener.rs239 let server = TcpListener::bind(addr).await.unwrap(); in ut_tcp_listener_basic() localVariable