Home
last modified time | relevance | path

Searched refs:LinkedList (Results 1 - 9 of 9) sorted by relevance

/commonlibrary/rust/ylong_json/src/
H A Dlinked_list.rs22 pub(crate) struct LinkedList<T> {
29 impl<T> LinkedList<T> { impls
30 /// Creates LinkedList.
32 LinkedList {
56 // Sets prev to LinkedList.tail
199 node.parent = self as *const LinkedList<T>;
225 impl<T> Default for LinkedList<T> {
231 impl<T: Debug> Debug for LinkedList<T> {
243 impl<T: PartialEq> PartialEq for LinkedList<T> {
257 impl<T: Clone> Clone for LinkedList<
[all...]
H A Dlib.rs79 pub(crate) use linked_list::{Cursor, CursorMut, LinkedList};
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/
H A Dlinked_list.rs62 pub(crate) struct LinkedList<L: Link + Default> {
66 unsafe impl<L: Link + Default + Send> Send for LinkedList<L> {}
67 unsafe impl<L: Link + Default + Sync> Sync for LinkedList<L> {}
82 impl<L: Link + Default> LinkedList<L> { impls
84 pub(crate) fn new() -> LinkedList<L> {
90 LinkedList { head: head_ptr }
164 impl<L: Link + Default> Default for LinkedList<L> {
166 LinkedList::new() in default()
170 impl<L: Link + Default> Drop for LinkedList<L> {
180 use crate::util::linked_list::{Link, LinkedList, Nod
[all...]
/commonlibrary/rust/ylong_json/src/value/object/
H A Dlinked_list.rs14 use crate::{Cursor, CursorMut, Iter, IterMut, JsonValue, LinkedList, Node};
18 /// Object type, implemented using LinkedList.
41 inner: LinkedList<(String, JsonValue)>,
56 inner: LinkedList::new(), in new()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/
H A Dwheel.rs23 use crate::util::linked_list::{Link, LinkedList, Node};
166 trigger: LinkedList<Clock>,
313 slots: [LinkedList<Clock>; SLOTS_NUM],
319 let mut slots: [MaybeUninit<LinkedList<Clock>>; SLOTS_NUM] =
327 let slots = mem::transmute::<_, [LinkedList<Clock>; SLOTS_NUM]>(slots);
417 pub(crate) fn take_slot(&mut self, slot: usize) -> LinkedList<Clock> {
/commonlibrary/rust/ylong_json/src/value/array/
H A Dlinked_list.rs14 use crate::{Cursor, CursorMut, Iter, IterMut, JsonValue, LinkedList, Node};
17 /// Array type, implemented using LinkedList.
35 inner: LinkedList<JsonValue>,
49 inner: LinkedList::new(), in new()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Djoin_set.rs15 use std::collections::{HashSet, LinkedList};
64 done_list: LinkedList<Arc<JoinEntry<R>>>,
74 done_list: LinkedList::default(), in default()
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/
H A Dschedule_io.rs30 use crate::util::linked_list::{Link, LinkedList, Node};
52 list: LinkedList<Waiter>,
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dqueue.rs27 use crate::util::linked_list::LinkedList;
431 globals: Mutex<LinkedList<Header>>,
450 globals: Mutex::new(LinkedList::new()),

Completed in 6 milliseconds