Home
last modified time | relevance | path

Searched defs:n (Results 1 – 25 of 27) sorted by relevance

12

/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Dsync.rs73 let mut n = mutex1.lock().await; in sdv_concurrency_with_mutex1() localVariable
81 let mut n = mutex2.lock().await; in sdv_concurrency_with_mutex1() localVariable
89 let mut n = mutex3.lock().await; in sdv_concurrency_with_mutex1() localVariable
97 let mut n = mutex4.lock().await; in sdv_concurrency_with_mutex1() localVariable
105 let mut n = mutex5.lock().await; in sdv_concurrency_with_mutex1() localVariable
128 let mut n = mutex.lock().await; in sdv_concurrency_with_mutex2() localVariable
135 let n = mutex.lock().await; in sdv_concurrency_with_mutex2() localVariable
153 let mut n = m1.lock().await; in sdv_concurrency_with_mutex3() localVariable
166 let n = mutex.lock().await; in sdv_concurrency_with_mutex3() localVariable
190 let mut n = mutex.lock().await; in sdv_concurrency_with_mutex4() localVariable
[all …]
Duds_test.rs43 let n = stream.write(b"hello client").await.unwrap(); in sdv_uds_stream_test() localVariable
45 let n = stream.read(&mut read_buf).await.unwrap(); in sdv_uds_stream_test() localVariable
57 let n = stream.read(&mut read_buf).await.unwrap(); in sdv_uds_stream_test() localVariable
64 let n = stream.write(b"hello server").await.unwrap(); in sdv_uds_stream_test() localVariable
Dudp_test.rs46 let n = connected_sender in sdv_udp_send_recv() localVariable
75 let n = sender in sdv_udp_send_to_recv_from() localVariable
115 let n = connected_sender in sdv_udp_recv() localVariable
288 let n = ylong_runtime::futures::poll_fn(|cx| connected_sender.poll_send(cx, b"Hello")) in sdv_udp_send_recv_poll() localVariable
391 let n = in sdv_udp_send_to_recv_from_poll() localVariable
424 let n = in sdv_udp_send_to_peek_from_poll() localVariable
Dtcp_test.rs203 let n = client in sdv_tcp_global_runtime() localVariable
210 let n = client in sdv_tcp_global_runtime() localVariable
308 let n = read_half.read(&mut buf).await.expect("server read err"); in sdv_tcp_split_borrow_half() localVariable
316 let n = read_half.read(&mut buf).await.expect("server read err"); in sdv_tcp_split_borrow_half() localVariable
378 let n = read_half.read(&mut buf).await.expect("server read err"); in sdv_tcp_split_owned_half() localVariable
387 let n = read_half.read(&mut buf).await.expect("server read err"); in sdv_tcp_split_owned_half() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
Dylong_runtime_async_benchmark.rs30 let n = client.write(&buf).await.unwrap(); in run_client() localVariable
33 let n = client.read(&mut buf).await.unwrap(); in run_client() localVariable
44 let n = server.read(&mut buf).await.unwrap(); in run_server() localVariable
48 let n = server.write(&buf).await.unwrap(); in run_server() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/tcp/
Dsplit.rs148 let n = read_half.read(&mut buf).await.expect("server read err"); in ut_test_borrow_half() localVariable
158 let n = stream.read(&mut buf).await.expect("server read err"); in ut_test_borrow_half() localVariable
195 let n = read_half.read(&mut buf).await.expect("server read err"); in ut_test_owned_half() localVariable
205 let n = stream.read(&mut buf).await.expect("server read err"); in ut_test_owned_half() localVariable
247 let n = read_half.read(&mut buf).await.expect("server read err"); in ut_test_borrow_half_vector() localVariable
254 let n = stream.read(&mut buf).await.expect("server read err"); in ut_test_borrow_half_vector() localVariable
297 let n = read_half.read(&mut buf).await.expect("server read err"); in ut_test_owned_half_vector() localVariable
304 let n = stream.read(&mut buf).await.expect("server read err"); in ut_test_owned_half_vector() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
Dstdio.rs69 let n = cmp::min(buf.len(), MAX_BUF); in clone_from() localVariable
75 let n = cmp::min(self.len(), buf.remaining()); in clone_into() localVariable
128 let n = buf_inner.clone_from(buf); localVariable
149 let n = res?; localVariable
223 let n = buf_inner.clone_into(&mut read_buf); in ut_test_stdio_basic() localVariable
Dread_task.rs502 let n = f.write(&buf).await.unwrap(); in ut_io_string_result() localVariable
/commonlibrary/rust/ylong_runtime/ylong_io/tests/
Duds_test.rs61 let n = stream.write_vectored(&[slice]).unwrap(); in sdv_uds_stream_test() localVariable
150 let n = sender2.send(b"Hello"); in sdv_uds_send_recv() localVariable
154 let n = sender.send(b"Hello").expect("sender send failed"); in sdv_uds_send_recv() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
Dylong_tokio_mutex.rs52 let n = mutex.lock().await; localVariable
82 let n = mutex.lock().await; localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/
Dfile_buf.rs38 let n = std::cmp::min(self.remaining(), buf.remaining()); in append_to() localVariable
53 let n = std::cmp::min(other.len(), buf_size_limit); in append() localVariable
Dasync_file.rs512 let n = w_buf.append(buf, file.buf_size_limit); in poll_write() localVariable
/commonlibrary/c_utils/base/src/
Dtimer_event_handler.cpp100 ssize_t n = ::read(GetHandle(), &expirations, sizeof(expirations)); in TimeOut() local
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
Dconnector.rs174 let n = conn in tunnel() localVariable
/commonlibrary/ets_utils/js_util_module/util/
Djs_uuid.cpp113 int n = 0xb; // down of numerical range in GenerateUuid() local
/commonlibrary/ets_utils/js_concurrent_module/utils/locks/
Dgraph.h105 size_t n = e_.size(); in IsValid() local
/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
Dmod.rs276 n: Option<bool>, field
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/
Dudp.rs1604 let n = poll_fn(|cx| connected_sender.poll_send(cx, b"Hello")) in ut_send_recv_poll() localVariable
1636 let n = poll_fn(|cx| sender.poll_send_to(cx, b"Hello", receiver_addr)) in ut_send_to_recv_from_poll() localVariable
1808 let n = poll_fn(|cx| sender.poll_send_to(cx, b"Hello", receiver_addr)) in ut_send_to_peek_from_poll() localVariable
/commonlibrary/c_utils/base/test/unittest/common/
Dutils_event_test.cpp302 ssize_t n = ::read(GetFd(), &expirations, sizeof(expirations)); in TimeOut() local
901 ssize_t n = ::read(handler_->GetFd(), &expirations, sizeof(expirations)); in TimeOut() local
Dutils_refbase_test.cpp323 for (int n = 0; n < 1; n++) { variable
/commonlibrary/c_utils/base/test/benchmarktest/event_benchmark_test/
Devent_benchmark_test.cpp405 ssize_t n = ::read(GetFd(), &expirations, sizeof(expirations)); in TimeOut() local
1050 ssize_t n = ::read(handler_->GetFd(), &expirations, expirationSize); in TimeOut() local
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/connector/
Dmod.rs363 let n = conn.read(&mut buf[pos..]).await?; in tunnel() localVariable
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/
Dsimple.rs581 let mut n = rng.get(); in xor_shift() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
Dqueue.rs364 let mut n = src_rear.wrapping_sub(src_front_real); in steal_into() localVariable
/commonlibrary/rust/ylong_json/src/
Dserializer_compact.rs646 let n = E::Newtype(-1); in ut_serialize_enum() localVariable

12