MCPcopy Create free account

hub / github.com/EVaillant/lockfree-object-pool / functions

Functions90 in github.com/EVaillant/lockfree-object-pool

↓ 12 callersMethodpull
(&self)
src/none_object_pool.rs:53
↓ 9 callersMethodlock
(&self)
src/spin_lock.rs:21
↓ 7 callersMethodalloc
(&self)
src/page.rs:69
↓ 5 callersMethodfree
(&self, id: &PageId)
src/page.rs:83
↓ 5 callersMethodget
(&self, id: &PageId)
src/page.rs:89
↓ 5 callersMethodpush
(&self, value: T)
benches/bench_tools.rs:20
↓ 4 callersMethodattach
(&self, mut data: T)
src/mutex_object_pool.rs:119
↓ 4 callersFunctionbench_forward_multi_thread
(c: &mut Criterion, nb_writter: usize, nb_readder: usize)
benches/bench.rs:329
↓ 4 callersMethodget_mut
the function is marked as unsafe for a reason
src/page.rs:95
↓ 4 callersMethodpop
(&self)
benches/bench_tools.rs:35
↓ 2 callersMethodexchange
(&self, from: bool, to: bool)
src/spin_lock.rs:37
↓ 2 callersMethodget_reset_callback
(&self)
src/linear_object_pool.rs:108
↓ 2 callersFunctionmake_pool
()
tests/test_linear.rs:6
↓ 1 callersMethodacquire
(&self)
src/spin_lock.rs:27
↓ 1 callersMethodget_or_create_next
(&self, init: I)
src/linear_page.rs:23
↓ 1 callersMethodrelease
(&self)
src/spin_lock.rs:32
Methodalloc
(&self, init: I)
src/linear_page.rs:53
Methodattach
(&self, mut data: T)
src/spin_lock_object_pool.rs:117
Functionbench_alloc
(c: &mut Criterion)
benches/bench.rs:27
Functionbench_alloc_mt
(c: &mut Criterion)
benches/bench.rs:229
Functionbench_forward_multi_thread11
(c: &mut Criterion)
benches/bench.rs:397
Functionbench_forward_multi_thread15
(c: &mut Criterion)
benches/bench.rs:389
Functionbench_forward_multi_thread51
(c: &mut Criterion)
benches/bench.rs:393
Functionbench_forward_multi_thread55
(c: &mut Criterion)
benches/bench.rs:385
Functionbench_free
(c: &mut Criterion)
benches/bench.rs:77
Functionbench_free_mt
(c: &mut Criterion)
benches/bench.rs:279
Functionbench_reuse
(c: &mut Criterion)
benches/bench.rs:127
Methodclear
(&mut self)
benches/bench.rs:24
Methoddefault
()
benches/bench.rs:16
Methoddefault
()
benches/bench_tools.rs:53
Methodderef
(&self)
src/spin_lock.rs:73
Methodderef
(&self)
src/spin_lock_owned_reusable.rs:53
Methodderef
(&self)
src/spin_lock_reusable.rs:51
Methodderef
(&self)
src/mutex_reusable.rs:51
Methodderef
(&self)
src/none_reusable.rs:45
Methodderef
(&self)
src/linear_owned_reusable.rs:69
Methodderef
(&self)
src/linear_reusable.rs:67
Methodderef
(&self)
src/mutex_owned_reusable.rs:53
Methodderef_mut
(&mut self)
src/spin_lock.rs:61
Methodderef_mut
(&mut self)
src/spin_lock_owned_reusable.rs:44
Methodderef_mut
(&mut self)
src/spin_lock_reusable.rs:42
Methodderef_mut
(&mut self)
src/mutex_reusable.rs:42
Methodderef_mut
(&mut self)
src/none_reusable.rs:36
Methodderef_mut
(&mut self)
src/linear_owned_reusable.rs:57
Methodderef_mut
(&mut self)
src/linear_reusable.rs:55
Methodderef_mut
(&mut self)
src/mutex_owned_reusable.rs:44
Methoddrop
(&mut self)
src/spin_lock.rs:83
Methoddrop
(&mut self)
src/linear_page.rs:73
Methoddrop
(&mut self)
src/spin_lock_owned_reusable.rs:60
Methoddrop
(&mut self)
src/spin_lock_reusable.rs:58
Methoddrop
(&mut self)
src/mutex_reusable.rs:58
Methoddrop
(&mut self)
src/linear_owned_reusable.rs:79
Methoddrop
(&mut self)
src/linear_reusable.rs:77
Methoddrop
(&mut self)
src/mutex_owned_reusable.rs:60
Methodget_mask
(&self)
src/page.rs:64
Methodis_full
(&self)
src/page.rs:59
Functionmake_pool
()
tests/test_mutex.rs:6
Functionmake_pool
()
tests/test_spin_lock.rs:6
Functionmake_recycle_pool
()
tests/test_mutex.rs:12
Functionmake_recycle_pool
()
tests/test_linear.rs:12
Functionmake_recycle_pool
()
tests/test_spin_lock.rs:12
Methodnew
()
benches/bench_tools.rs:12
Methodnew
(data: T)
src/spin_lock.rs:13
Methodnew
(init: I)
src/linear_page.rs:12
Methodnew
(pool: Arc<SpinLockObjectPool<T>>, data: ManuallyDrop<T>)
src/spin_lock_owned_reusable.rs:37
Methodnew
(pool: &'a SpinLockObjectPool<T>, data: ManuallyDrop<T>)
src/spin_lock_reusable.rs:35
Methodnew
(init: I, reset: R)
src/mutex_object_pool.rs:47
Methodnew
(init: I, reset: R)
src/spin_lock_object_pool.rs:57
Methodnew
(pool: &'a MutexObjectPool<T>, data: ManuallyDrop<T>)
src/mutex_reusable.rs:35
Methodnew
(init: I)
src/page.rs:15
Methodnew
(data: T)
src/none_reusable.rs:29
Methodnew
( pool: Arc<LinearObjectPool<T>>, page_id: PageId, page: &Page<T>, )
src/linear_owned_reusable.rs:42
Methodnew
( pool: &'a LinearObjectPool<T>, page_id: PageId, page: &'a Page<T>, )
src/linear_reusable.rs:40
Methodnew
(pool: Arc<MutexObjectPool<T>>, data: ManuallyDrop<T>)
src/mutex_owned_reusable.rs:37
Methodnew
(init: I, reset: R)
src/linear_object_pool.rs:52
Methodnew
(init: I)
src/none_object_pool.rs:33
Methodpull
(&self)
src/mutex_object_pool.rs:75
Methodpull
(&self)
src/spin_lock_object_pool.rs:85
Methodpull
(&self)
src/linear_object_pool.rs:80
Methodpull_owned
(self: &Arc<Self>)
src/mutex_object_pool.rs:105
Methodpull_owned
(self: &Arc<Self>)
src/spin_lock_object_pool.rs:109
Methodpull_owned
(self: &Arc<Self>)
src/linear_object_pool.rs:102
Methodpull_owned
(self: &Arc<Self>)
src/none_object_pool.rs:69
Methodstop
(&self)
benches/bench_tools.rs:29
Functiontest_linear_03
()
tests/test_linear.rs:21
Functiontest_linear_04
()
tests/test_linear.rs:50
Functiontest_none
()
tests/test_none.rs:4
Functiontest_page_01
()
src/page.rs:107
Functiontest_page_02
()
src/page.rs:114
Functiontest_page_03
()
src/page.rs:161