Home
last modified time | relevance | path

Searched defs:_ (Results 1 – 25 of 107) sorted by relevance

12345

/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Dmpsc_test.rs38 let _ = ylong_runtime::block_on(handle); in sdv_unbounded_send_recv_test() localVariable
74 let _ = ylong_runtime::block_on(handle); in sdv_unbounded_send_recv_timeout_test() localVariable
96 let _ = ylong_runtime::block_on(handle); in sdv_bounded_send_recv_test() localVariable
138 let _ = ylong_runtime::block_on(handle); in sdv_bounded_send_timeout_recv_timeout_test() localVariable
198 let _ = tx.send(i); in sdv_mpsc_len() localVariable
202 let _ = rx.try_recv(); in sdv_mpsc_len() localVariable
206 let _ = rx.try_recv(); in sdv_mpsc_len() localVariable
212 let _ = tx.try_send(i); in sdv_mpsc_len() localVariable
216 let _ = rx.try_recv(); in sdv_mpsc_len() localVariable
220 let _ = rx.try_recv(); in sdv_mpsc_len() localVariable
[all …]
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
Dylong_runtime_async_benchmark.rs101 let _ = runtime.block_on(handle1); in main() localVariable
102 let _ = runtime.block_on(handle2); in main() localVariable
103 let _ = runtime.block_on(handle3); in main() localVariable
104 let _ = runtime.block_on(handle4); in main() localVariable
105 let _ = runtime.block_on(handle5); in main() localVariable
106 let _ = runtime.block_on(handle6); in main() localVariable
107 let _ = runtime.block_on(handle7); in main() localVariable
108 let _ = runtime.block_on(handle8); in main() localVariable
109 let _ = runtime.block_on(handle9); in main() localVariable
110 let _ = runtime.block_on(handle10); in main() localVariable
Dylong_tokio_tcp_perf.rs120 let _ = match socket.read(&mut buf).await { in main() localVariable
135 let _ = socket.write(b"hello client").await.unwrap(); in main() localVariable
164 let _ = match socket.read(&mut buf).await { in main() localVariable
179 let _ = socket.write(b"hello client").await.unwrap(); in main() localVariable
Dylong_tokio_spawn.rs60 let _ = ylong_runtime::block_on(handle); in ylong_spawn() localVariable
78 let _ = runtime.block_on(handle); in tokio_spawn() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
Dasync_read.rs43 cx: &mut Context<'_>, in poll_read()
44 buf: &mut ReadBuf<'_>, in poll_read()
52 cx: &mut Context<'_>, in poll_read()
53 buf: &mut ReadBuf<'_>, in poll_read()
63 cx: &mut Context<'_>, in poll_read()
64 buf: &mut ReadBuf<'_>, in poll_read()
78 cx: &mut Context<'_>, in poll_read()
79 buf: &mut ReadBuf<'_>, in poll_read()
212 _cx: &mut Context<'_>, in poll_read()
213 buf: &mut ReadBuf<'_>, in poll_read()
Dasync_seek.rs40 cx: &mut Context<'_>, in poll_seek()
51 cx: &mut Context<'_>, in poll_seek()
61 cx: &mut Context<'_>, in poll_seek()
71 cx: &mut Context<'_>, in poll_seek()
138 fn rewind(&mut self) -> SeekTask<'_, Self> in rewind()
169 fn stream_position(&mut self) -> SeekTask<'_, Self> in stream_position()
Dasync_write.rs42 cx: &mut Context<'_>, in poll_write()
52 cx: &mut Context<'_>, in poll_write_vectored()
53 bufs: &[IoSlice<'_>], in poll_write_vectored()
153 cx: &mut Context<'_>, in poll_write()
161 cx: &mut Context<'_>, in poll_write_vectored()
162 bufs: &[IoSlice<'_>], in poll_write_vectored()
274 fn flush(&mut self) -> FlushTask<'_, Self> in flush()
290 fn shutdown(&mut self) -> ShutdownTask<'_, Self> in shutdown()
Dstdin.rs48 cx: &mut Context<'_>, in poll_read()
49 buf: &mut ReadBuf<'_>, in poll_read()
109 fn as_fd(&self) -> BorrowedFd<'_> { in as_fd()
126 fn as_handle(&self) -> BorrowedHandle<'_> { in as_handle()
Dstderr.rs64 fn as_fd(&self) -> BorrowedFd<'_> { in as_fd()
81 fn as_handle(&self) -> BorrowedHandle<'_> { in as_handle()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
Dsplit.rs32 cx: &mut Context<'_>, in poll_read()
33 buf: &mut ReadBuf<'_>, in poll_read()
42 cx: &mut Context<'_>, in poll_write()
50 cx: &mut Context<'_>, in poll_write_vectored()
51 bufs: &[IoSlice<'_>], in poll_write_vectored()
78 cx: &mut Context<'_>, in poll_read()
79 buf: &mut ReadBuf<'_>, in poll_read()
88 cx: &mut Context<'_>, in poll_write()
96 cx: &mut Context<'_>, in poll_write_vectored()
97 bufs: &[IoSlice<'_>], in poll_write_vectored()
/commonlibrary/rust/ylong_http/ylong_http_client/examples/
Dasync_http.rs23 let _ = client_send().await.unwrap(); in main() localVariable
26 let _ = ylong_runtime::block_on(handle); in main() localVariable
43 let _ = Downloader::console(response).download().await; in client_send() localVariable
Dasync_http_multi.rs34 let _ = Downloader::console(response).download().await; in main() localVariable
38 let _ = ylong_runtime::block_on(handle); in main() localVariable
Dasync_https_outside.rs33 let _ = h.await; in main() localVariable
64 let _ = Downloader::console(response).download().await; in req() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/ssl_stream/
Dmix.rs35 cx: &mut Context<'_>, in poll_read()
36 buf: &mut ReadBuf<'_>, in poll_read()
52 ctx: &mut Context<'_>, in poll_write()
Dc_ssl_stream.rs29 fn with_context<F, R>(self: Pin<&mut Self>, ctx: &mut Context<'_>, f: F) -> R in with_context()
86 ctx: &mut Context<'_>, in poll_read()
87 buf: &mut ReadBuf<'_>, in poll_read()
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
Dylong_tokio_schedule.rs36 let _ = runtime.block_on(handler).unwrap(); localVariable
58 let _ = ylong_runtime::block_on(handler).unwrap(); localVariable
Dylong_tokio_mutex.rs47 let _ = runtime.block_on(handler).unwrap(); localVariable
75 let _ = ylong_runtime::block_on(handler).unwrap(); localVariable
Dylong_tokio_rwlock.rs75 let _ = ylong_runtime::block_on(handle); in ylong_rwlock_read() localVariable
124 let _ = ylong_runtime::block_on(handle); in ylong_rwlock_write() localVariable
181 let _ = ylong_runtime::block_on(handle); in ylong_rwlock_write_read() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
Doperator.rs29 cx: &mut Context<'_>, in poll_download()
39 _cx: &mut Context<'_>, in poll_progress()
82 cx: &mut Context<'_>, in poll_download()
90 cx: &mut Context<'_>, in poll_progress()
139 _cx: &mut Context<'_>, in poll_download()
148 _cx: &mut Context<'_>, in poll_progress()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/buffered/
Dasync_buf_writer.rs208 cx: &mut Context<'_>, in poll_write()
226 cx: &mut Context<'_>, in poll_write_vectored()
227 mut bufs: &[IoSlice<'_>], in poll_write_vectored()
298 cx: &mut Context<'_>, in poll_seek()
310 cx: &mut Context<'_>, in poll_read()
311 buf: &mut ReadBuf<'_>, in poll_read()
Dasync_buf_reader.rs183 cx: &mut Context<'_>, in poll_read()
184 buf: &mut ReadBuf<'_>, in poll_read()
223 cx: &mut Context<'_>, in poll_seek()
254 cx: &mut Context<'_>, in poll_write()
263 cx: &mut Context<'_>, in poll_write_vectored()
264 bufs: &[IoSlice<'_>], in poll_write_vectored()
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
Dsocket.rs53 let _ = unsafe { closesocket(socket) }; in create_socket() localVariable
77 let _ = unsafe { net::UdpSocket::from_raw_socket(self.socket as RawSocket) }; in close() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
Derror.rs84 let bytes = CStr::from_ptr(data as *const _).to_bytes(); in get() constant
109 let bytes = CStr::from_ptr(data as *const _).to_bytes(); in get() constant
151 let bytes = CStr::from_ptr(lib_error as *const _).to_bytes(); in fmt() constant
162 let bytes = unsafe { core::ffi::CStr::from_ptr(func_error as *const _).to_bytes() }; in fmt() constant
181 let bytes = CStr::from_ptr(reason_error as *const _).to_bytes(); in fmt() constant
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
Doperator.rs55 _cx: &mut Context<'_>, in poll_progress()
81 cx: &mut Context<'_>, in poll_progress()
114 _cx: &mut Context<'_>, in poll_progress()
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
Dredirect.rs216 let _ = headers.remove("authorization"); in remove_sensitive_headers() localVariable
217 let _ = headers.remove("cookie"); in remove_sensitive_headers() localVariable
218 let _ = headers.remove("cookie2"); in remove_sensitive_headers() localVariable
219 let _ = headers.remove("proxy_authorization"); in remove_sensitive_headers() localVariable
220 let _ = headers.remove("www_authenticate"); in remove_sensitive_headers() localVariable
247 let _ = request.headers_mut().remove(header_name); in update_header_and_method() localVariable

12345