unsafe fn atomic_new<'a, T: 'a>(x: T) -> (&'a mut T, u64, usize, usize) {
        log!(Self, White, "ALLOC", "TYPE: {}", std::any::type_name::<T>());

        let size = mem::size_of::<T>();
        let (raw, off, len, z) = Self::pre_alloc(size);
        if raw.is_null() {
            panic!("Memory exhausted");
        }
        Self::drop_on_failure(off, len, z);
        let p = &mut *utils::read(raw);
        mem::forget(ptr::replace(p, x));
        (p, 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<'a, T: 'a>(x: T) -> (&'a mut T, u64, usize, usize) {
        log!(Self, White, "ALLOC", "TYPE: {}", std::any::type_name::<T>());
        let size = mem::size_of::<T>();
        let (raw, off, len, z) = Self::pre_alloc(size);
        if raw.is_null() {
            panic!("Memory exhausted");
        }
        Self::drop_on_failure(off, len, z);
        let p = &mut *utils::read(raw);
        mem::forget(ptr::replace(p, x));
        (p, off, size, z)
    }
unsafe fn atomic_new < ' a , T : ' a > ( x : T ) -> ( & ' a mut T , u64 , usize , usize ) { log ! ( Self White " " " " std any type_name T ( ) ) ; let size = mem :: size_of :: < T > ( ) ; let ( raw , off , len , z ) = Self :: pre_alloc ( size ) ; if raw . is_null ( ) { panic ! ( " " ) ; } Self :: drop_on_failure ( off , len , z ) ; let p = & mut * utils :: read ( raw ) ; mem :: forget ( ptr :: replace ( p , x ) ) ; ( p , 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
T