unsafe fn new_internal(capacity: usize) -> Node<K, V> {
        let (alignment, size) = calculate_allocation_generic::<K, V>(capacity, false);

        let buffer = heap::allocate(size, alignment);
        if buffer.is_null() { ::alloc::oom(); }

        let (vals_offset, edges_offset) = calculate_offsets_generic::<K, V>(capacity, false);

        Node {
            keys: Unique::new(buffer as *mut K),
            vals: Unique::new(buffer.offset(vals_offset as isize) as *mut V),
            edges: Some(Unique::new(buffer.offset(edges_offset as isize) as *mut Node<K, V>)),
            _len: 0,
            _capacity: capacity,
        }
    }
/// Make a new internal node. The caller must initialize the result to fix the invariant that
/// there are `len() + 1` edges.
Make a new internal node. The caller must initialize the result to fix the invariant that
there are `len() + 1` edges.
Make a new internal node . The caller must initialize the result to fix the invariant that there are ` len () + 1 ` edges .
unsafe fn new_internal(capacity: usize) -> Node<K, V> {
        let (alignment, size) = calculate_allocation_generic::<K, V>(capacity, false);
        let buffer = heap::allocate(size, alignment);
        if buffer.is_null() { ::alloc::oom(); }
        let (vals_offset, edges_offset) = calculate_offsets_generic::<K, V>(capacity, false);
        Node {
            keys: Unique::new(buffer as *mut K),
            vals: Unique::new(buffer.offset(vals_offset as isize) as *mut V),
            edges: Some(Unique::new(buffer.offset(edges_offset as isize) as *mut Node<K, V>)),
            _len: 0,
            _capacity: capacity,
        }
    }
unsafe fn new_internal ( capacity : usize ) -> Node < K , V > { let ( alignment , size ) = calculate_allocation_generic :: < K , V > ( capacity , false ) ; let buffer = heap :: allocate ( size , alignment ) ; if buffer . is_null ( ) { :: alloc :: oom ( ) ; } let ( vals_offset , edges_offset ) = calculate_offsets_generic :: < K , V > ( capacity , false ) ; Node { keys : Unique :: new ( buffer as * mut K ) , vals : Unique :: new ( buffer . offset ( vals_offset as isize ) as * mut V ) , edges : Some ( Unique :: new ( buffer . offset ( edges_offset as isize ) as * mut Node < K , V > ) ) , _len : 0 , _capacity : capacity , } }
Make a new internal node.
Make a new internal node .
capacity
usize