pub unsafe fn new(
        control_data: RwLockRef<'shm, MapAllocControlData>,
        file_alloc: &'shm FileAlloc,
        chunk_size: usize,
        is_fixed_size: bool,
    ) -> Self {
        assert!(chunk_size >= 64);
        Self {
            control_data,
            file_alloc,
            is_fixed_size,
            chunk_size,
        }
    }
/// Create a new map allocator using the given lock-protected control
/// data and a file allocator.
///
/// This function will fail if `chunk_size` < 64 bytes. As some of the
/// first bytes of a chunk are used as a header.
Create a new map allocator using the given lock-protected control
data and a file allocator.

This function will fail if `chunk_size` < 64 bytes. As some of the
first bytes of a chunk are used as a header.
Create a new map allocator using the given lock - protected control data and a file allocator . This function will fail if ` chunk_size ` < 64 bytes . As some of the first bytes of a chunk are used as a header .
pub unsafe fn new(
        control_data: RwLockRef<'shm, MapAllocControlData>,
        file_alloc: &'shm FileAlloc,
        chunk_size: usize,
        is_fixed_size: bool,
    ) -> Self {
        assert!(chunk_size >= 64);
        Self {
            control_data,
            file_alloc,
            is_fixed_size,
            chunk_size,
        }
    }
pub unsafe fn new ( control_data : RwLockRef < ' shm , MapAllocControlData > , file_alloc : & ' shm FileAlloc , chunk_size : usize , is_fixed_size : bool , ) -> Self { assert ! ( chunk_size 64 ) ; Self { control_data , file_alloc , is_fixed_size , chunk_size , } }
Create a new map allocator using the given lock-protected control
data and a file allocator.
Create a new map allocator using the given lock - protected control data and a file allocator .
control_data
RwLockRef<'shm, MapAllocControlData>
file_alloc
&'shm FileAlloc
chunk_size
usize
is_fixed_size
bool
control_data
RwLockRef<'shm, MapAllocControlData>
file_alloc
&'shm FileAlloc
chunk_size
usize
is_fixed_size
bool