LCOV - code coverage report
Current view: top level - libs/utils/src/sync - heavier_once_cell.rs (source / functions) Coverage Total Hit
Test: fc67f8dc6087a0b4f4f0bcd74f6e1dc25fab8cf3.info Lines: 94.8 % 422 400
Test Date: 2024-09-24 13:57:57 Functions: 93.8 % 130 122

Function Name Sort by function name Hit count Sort by function 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 330
>::get 3
>::get 8
>::get 12
>::get 307
<utils::sync::heavier_once_cell::Guard<i32> as core::ops::deref::Deref>::deref 361
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 241
<utils::sync::heavier_once_cell::OnceCell<u32>>::take_and_deinit 1733
>::take_and_deinit 3
>::take_and_deinit 1730
<utils::sync::heavier_once_cell::Inner<i32>>::take_and_deinit 1822
>::take_and_deinit 1
>::take_and_deinit 3
>::take_and_deinit 4
>::take_and_deinit 12
>::take_and_deinit 1802
<utils::sync::heavier_once_cell::Inner<i32> as core::default::Default>::default 1844
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 1796
<utils::sync::heavier_once_cell::InitPermit as core::ops::drop::Drop>::drop 1893
<utils::sync::heavier_once_cell::OnceCell<i32>>::new 5210
>::new 2
>::new 5208
<utils::sync::heavier_once_cell::Guard<_> as core::ops::deref::DerefMut>::deref_mut 637637
as core::ops::deref::DerefMut>::deref_mut 0
as core::ops::deref::DerefMut>::deref_mut 637637
<utils::sync::heavier_once_cell::OnceCell<i32>>::get_or_init_detached 1275336
>::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 637637
>::get_or_init_detached::{closure#0} 637637

Generated by: LCOV version 2.1-beta