fn count_allocations_by_size(size: usize) -> usize {
        let mut size_and_count = (size, 0usize);
        unsafe {
            scudo_disable();
            scudo_iterate(
                contains,
                &mut size_and_count as *mut (usize, usize) as *mut c_void,
            );
            scudo_enable();
        }
        size_and_count.1
    }
/// Test-only function that returns the number of allocations of a given size.
Test-only function that returns the number of allocations of a given size.
Test - only function that returns the number of allocations of a given size .
fn count_allocations_by_size(size: usize) -> usize {
        let mut size_and_count = (size, 0usize);
        unsafe {
            scudo_disable();
            scudo_iterate(
                contains,
                &mut size_and_count as *mut (usize, usize) as *mut c_void,
            );
            scudo_enable();
        }
        size_and_count.1
    }
fn count_allocations_by_size ( size : usize ) -> usize { let mut size_and_count = ( size , 0usize ) ; unsafe { scudo_disable ( ) ; scudo_iterate ( contains , & mut size_and_count as * mut ( usize , usize ) as * mut c_void , ) ; scudo_enable ( ) ; } size_and_count . 1 }
Test-only function that returns the number of allocations of a given size.
Test - only function that returns the number of allocations of a given size .
size
usize
size
usize