unsafe fn atomic_new_slice<'a, T: 'a + PSafe>(x: &'a [T]) -> (&'a mut [T], u64, usize, usize) {
        log!(Self, White, "ALLOC", "TYPE: [{}; {}]", std::any::type_name::<T>(), x.len());

        let (ptr, off, size, z) = Self::pre_alloc(mem::size_of_val(x));
        if ptr.is_null() {
            panic!("Memory exhausted");
        }
        Self::drop_on_failure(off, size, z);
        ptr::copy_nonoverlapping(
            x as *const _ as *const u8,
            ptr,
            x.len() * mem::size_of::<T>().max(1),
        );
        (
            std::slice::from_raw_parts_mut(ptr.cast(), x.len()),
            off,
            size,
            z
        )
    }
/// Allocates new memory and then places `x` into it without realizing the allocation
Allocates new memory and then places `x` into it without realizing the allocation
Allocates new memory and then places ` x ` into it without realizing the allocation
unsafe fn atomic_new_slice<'a, T: 'a + PSafe>(x: &'a [T]) -> (&'a mut [T], u64, usize, usize) {
        log!(Self, White, "ALLOC", "TYPE: [{}; {}]", std::any::type_name::<T>(), x.len());
        let (ptr, off, size, z) = Self::pre_alloc(mem::size_of_val(x));
        if ptr.is_null() {
            panic!("Memory exhausted");
        }
        Self::drop_on_failure(off, size, z);
        ptr::copy_nonoverlapping(
            x as *const _ as *const u8,
            ptr,
            x.len() * mem::size_of::<T>().max(1),
        );
        (
            std::slice::from_raw_parts_mut(ptr.cast(), x.len()),
            off,
            size,
            z
        )
    }
unsafe fn atomic_new_slice < ' a , T : ' a + PSafe > ( x : & ' a [ T ] ) -> ( & ' a mut [ T ] , u64 , usize , usize ) { log ! ( Self White " " " " std any type_name T ( ) x len ( ) ) ; let ( ptr , off , size , z ) = Self :: pre_alloc ( mem :: size_of_val ( x ) ) ; if ptr . is_null ( ) { panic ! ( " " ) ; } Self :: drop_on_failure ( off , size , z ) ; ptr :: copy_nonoverlapping ( x as * const _ as * const u8 , ptr , x . len ( ) * mem :: size_of :: < T > ( ) . max ( 1 ) , ) ; ( std :: slice :: from_raw_parts_mut ( ptr . cast ( ) , x . len ( ) ) , off , size , z ) }
Allocates new memory and then places `x` into it without realizing the allocation
Allocates new memory and then places ` x ` into it without realizing the allocation
x
&'a [T]