fn calculate_allocation(hash_size: usize,
                        hash_align: usize,
                        pairs_size: usize,
                        pairs_align: usize)
                        -> (usize, usize, usize, bool) {
    let hash_offset = 0;
    let (_, end_of_pairs, oflo) = calculate_offsets(hash_size, pairs_size, pairs_align);

    let align = cmp::max(hash_align, pairs_align);

    (align, hash_offset, end_of_pairs, oflo)
}
// Returns a tuple of (minimum required malloc alignment, hash_offset,
// array_size), from the start of a mallocated array.
Returns a tuple of (minimum required malloc alignment, hash_offset,
array_size), from the start of a mallocated array.
Returns a tuple of ( minimum required malloc alignment hash_offset array_size ) from the start of a mallocated array .
fn calculate_allocation(hash_size: usize,
                        hash_align: usize,
                        pairs_size: usize,
                        pairs_align: usize)
                        -> (usize, usize, usize, bool) {
    let hash_offset = 0;
    let (_, end_of_pairs, oflo) = calculate_offsets(hash_size, pairs_size, pairs_align);
    let align = cmp::max(hash_align, pairs_align);
    (align, hash_offset, end_of_pairs, oflo)
}
fn calculate_allocation ( hash_size : usize , hash_align : usize , pairs_size : usize , pairs_align : usize ) -> ( usize , usize , usize , bool ) { let hash_offset = 0 ; let ( _ , end_of_pairs , oflo ) = calculate_offsets ( hash_size , pairs_size , pairs_align ) ; let align = cmp :: max ( hash_align , pairs_align ) ; ( align , hash_offset , end_of_pairs , oflo ) }
Returns a tuple of (minimum required malloc alignment, hash_offset,
array_size), from the start of a mallocated array.
Returns a tuple of ( minimum required malloc alignment hash_offset array_size ) from the start of a mallocated array .
hash_size
usize
hash_align
usize
pairs_size
usize
pairs_align
usize
hash_size
usize
hash_align
usize
pairs_size
usize
pairs_align
usize