LCOV - code coverage report
Current view:
top level
-
libs/utils/src/sync
- heavier_once_cell.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
7eb96e224e685167ad85f58f858387d8cf253f63.info
Lines:
94.8 %
422
400
Test Date:
2024-09-23 21:23:07
Functions:
93.8 %
130
122
Function Name
Hit count
<utils::sync::heavier_once_cell::InitPermit as core::fmt::Debug>::fmt
0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0}
0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0}
0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0}::{closure#0}
0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#1}
0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#1}
0
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#1}::{closure#0}
0
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>
1
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>::{closure#0}
1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#0}
1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#0}::{closure#0}
1
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0}::{closure#0}
1
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0}::{closure#0}::{closure#0}
1
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#0}
1
utils::sync::heavier_once_cell::tests::reinit_with_deinit_permit
1
utils::sync::heavier_once_cell::tests::detached_init_smoke
2
utils::sync::heavier_once_cell::tests::detached_init_smoke
1
utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}
1
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>::{closure#0}::{closure#0}
2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::
::{closure#0}::{closure#0}
1
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::
::{closure#0}::{closure#0}::{closure#0}
1
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::<utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}>::{closure#0}::{closure#1}
2
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::
::{closure#0}::{closure#1}
1
utils::sync::heavier_once_cell::tests::init_take_deinit_scenario::
::{closure#0}::{closure#1}::{closure#0}
1
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok
2
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok
1
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}
1
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#1}
2
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#1}
1
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#1}::{closure#0}
1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe
2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe
1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}
1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#1}
2
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#1}
1
utils::sync::heavier_once_cell::tests::initialization_is_cancellation_safe::{closure#0}::{closure#1}::{closure#0}
1
utils::sync::heavier_once_cell::tests::many_initializers
2
utils::sync::heavier_once_cell::tests::many_initializers
1
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}
1
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit
2
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit
1
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}
1
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#1}
2
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#1}
1
utils::sync::heavier_once_cell::tests::reinit_waits_for_deinit::{closure#0}::{closure#1}::{closure#0}
1
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race
2
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race
1
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}
1
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}
2
utils::sync::heavier_once_cell::tests::reproduce_init_take_deinit_race::{closure#0}::{closure#0}::{closure#0}
2
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut
2
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut
1
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut::{closure#0}
1
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut::{closure#0}::{closure#0}
2
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut::{closure#0}::{closure#0}
1
utils::sync::heavier_once_cell::tests::take_and_deinit_on_mut::{closure#0}::{closure#0}::{closure#0}
1
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#0}
20
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#0}
10
utils::sync::heavier_once_cell::tests::initialization_attemptable_until_ok::{closure#0}::{closure#0}::{closure#0}
10
<utils::sync::heavier_once_cell::OnceCell<i32> as core::default::Default>::default
30
as core::default::Default>::default
0
as core::default::Default>::default
1
as core::default::Default>::default
1
as core::default::Default>::default
1
as core::default::Default>::default
3
as core::default::Default>::default
24
<utils::sync::heavier_once_cell::OnceCell<i32>>::set
70
>::set
4
>::set
30
>::set
36
<utils::sync::heavier_once_cell::OnceCell<i32>>::set0
77
>::set0
1
>::set0
1
>::set0
4
>::set0
5
>::set0
30
>::set0
36
<utils::sync::heavier_once_cell::CountWaitingInitializers<i32> as core::ops::drop::Drop>::drop
81
as core::ops::drop::Drop>::drop
1
as core::ops::drop::Drop>::drop
1
as core::ops::drop::Drop>::drop
3
as core::ops::drop::Drop>::drop
16
as core::ops::drop::Drop>::drop
30
as core::ops::drop::Drop>::drop
30
<utils::sync::heavier_once_cell::CountWaitingInitializers<i32>>::start
81
>::start
1
>::start
1
>::start
3
>::start
16
>::start
30
>::start
30
<utils::sync::heavier_once_cell::Guard<i32>>::take_and_deinit
89
>::take_and_deinit
1
>::take_and_deinit
4
>::take_and_deinit
12
>::take_and_deinit
72
<utils::sync::heavier_once_cell::OnceCell<_>>::initializer_count
90
>::initializer_count
0
>::initializer_count
90
utils::sync::heavier_once_cell::tests::many_initializers::{closure#0}::{closure#0}
100
<utils::sync::heavier_once_cell::OnceCell<i32>>::get_or_init::<utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0}, utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0}::{closure#0}, core::convert::Infallible>
119
>::get_or_init::
1
>::get_or_init::
1
>::get_or_init::
1
>::get_or_init::
1
>::get_or_init::
1
>::get_or_init::
1
>::get_or_init::
1
>::get_or_init::
>>>>>, core::pin::Pin
>>>, core::convert::Infallible>
2
>::get_or_init::
10
>::get_or_init::
100
<utils::sync::heavier_once_cell::OnceCell<i32>>::get_or_init::<utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0}, utils::sync::heavier_once_cell::tests::detached_init_smoke::{closure#0}::{closure#0}::{closure#0}, core::convert::Infallible>::{closure#0}
119
>::get_or_init::
::{closure#0}
1
>::get_or_init::
::{closure#0}
1
>::get_or_init::
::{closure#0}
1
>::get_or_init::
::{closure#0}
1
>::get_or_init::
::{closure#0}
1
>::get_or_init::
::{closure#0}
1
>::get_or_init::
::{closure#0}
1
>::get_or_init::
>>>>>, core::pin::Pin
>>>, core::convert::Infallible>::{closure#0}
2
>::get_or_init::
::{closure#0}
10
>::get_or_init::
::{closure#0}
100
<utils::sync::heavier_once_cell::OnceCell<i32>>::get
334
>::get
3
>::get
8
>::get
12
>::get
311
<utils::sync::heavier_once_cell::Guard<i32> as core::ops::deref::Deref>::deref
365
as core::ops::deref::Deref>::deref
3
as core::ops::deref::Deref>::deref
5
as core::ops::deref::Deref>::deref
12
as core::ops::deref::Deref>::deref
100
as core::ops::deref::Deref>::deref
245
<utils::sync::heavier_once_cell::OnceCell<u32>>::take_and_deinit
1725
>::take_and_deinit
3
>::take_and_deinit
1722
<utils::sync::heavier_once_cell::Inner<i32>>::take_and_deinit
1814
>::take_and_deinit
1
>::take_and_deinit
3
>::take_and_deinit
4
>::take_and_deinit
12
>::take_and_deinit
1794
<utils::sync::heavier_once_cell::Inner<i32> as core::default::Default>::default
1836
as core::default::Default>::default
1
as core::default::Default>::default
2
as core::default::Default>::default
4
as core::default::Default>::default
5
as core::default::Default>::default
36
as core::default::Default>::default
1788
<utils::sync::heavier_once_cell::InitPermit as core::ops::drop::Drop>::drop
1885
<utils::sync::heavier_once_cell::OnceCell<i32>>::new
5198
>::new
2
>::new
5196
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::DerefMut>::deref_mut
638551
as core::ops::deref::DerefMut>::deref_mut
0
as core::ops::deref::DerefMut>::deref_mut
638551
<utils::sync::heavier_once_cell::OnceCell<i32>>::get_or_init_detached
1277164
>::get_or_init_detached
1
>::get_or_init_detached::{closure#0}
1
>::get_or_init_detached
30
>::get_or_init_detached::{closure#0}
30
>::get_or_init_detached
638551
>::get_or_init_detached::{closure#0}
638551
Generated by:
LCOV version 2.1-beta