Home
last modified time | relevance | path

Searched refs:Ref (Results 1 - 6 of 6) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Ddriver_handle.rs28 use crate::util::slab::Ref;
66 ) -> io::Result<Ref<ScheduleIO>> {
119 use crate::util::slab::Ref;
138 ) -> io::Result<Ref<ScheduleIO>> {
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Dforeign.rs22 type Ref: ForeignRef<CStruct = Self::CStruct>; types
72 type Ref = $borrowed; types
H A Dstack.rs86 type Item = &'a T::Ref;
88 fn next(&mut self) -> Option<&'a T::Ref> { in next()
92 .map(|i| T::Ref::from_ptr(OPENSSL_sk_value(self.stack.as_stack(), i) as *mut _)) in next()
130 type Ref = StackRef<T>; types
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/
H A Dslab.rs75 pub struct Ref<T> { structure names
81 impl<T> Drop for Ref<T> {
90 impl<T> Deref for Ref<T> {
98 unsafe impl<T: Sync> Sync for Ref<T> {}
99 unsafe impl<T: Sync> Send for Ref<T> {}
185 pub unsafe fn allocate(&self) -> Option<(Address, Ref<T>)> { in allocate()
329 unsafe fn allocate(me: &Arc<Page<T>>) -> Option<(Address, Ref<T>)> { in allocate()
428 fn gen_ref(&self, page: &Arc<Page<T>>) -> Ref<T> { in gen_ref()
433 Ref { value } in gen_ref()
526 // Find the first available `slot` and return its `addr` and `Ref` in ut_slab_for_each()
[all...]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Dasync_source.rs29 use crate::util::slab::Ref;
39 pub(crate) entry: Ref<ScheduleIO>,
H A Ddriver.rs24 use crate::util::slab::{Address, Ref, Slab};
351 fn allocate_schedule_io_pair(&self) -> io::Result<(Ref<ScheduleIO>, usize)> { in allocate_schedule_io_pair()
384 ) -> io::Result<Ref<ScheduleIO>> {
429 ) -> io::Result<Ref<ScheduleIO>> {

Completed in 6 milliseconds