pub fn with_capacity_and_bits(cap: usize, bits: u64) -> SetU64 {
        if cap > 0 {
            unsafe {
                let x = SetU64(std::alloc::alloc_zeroed(layout_for_capacity(cap)) as *mut S);
                (*x.0).cap = cap;
                (*x.0).bits = if bits == 0 {
                    let mut b = 0;
                    while b <= 64 {
                        b = crate::rand::rand64();
                    }
                    b
                } else {
                    bits
                };
                x
            }
        } else {
            SetU64(0 as *mut S)
        }
    }
/// Create a set with the given capacity and bits
Create a set with the given capacity and bits
Create a set with the given capacity and bits
pub fn with_capacity_and_bits(cap: usize, bits: u64) -> SetU64 {
        if cap > 0 {
            unsafe {
                let x = SetU64(std::alloc::alloc_zeroed(layout_for_capacity(cap)) as *mut S);
                (*x.0).cap = cap;
                (*x.0).bits = if bits == 0 {
                    let mut b = 0;
                    while b <= 64 {
                        b = crate::rand::rand64();
                    }
                    b
                } else {
                    bits
                };
                x
            }
        } else {
            SetU64(0 as *mut S)
        }
    }
pub fn with_capacity_and_bits ( cap : usize , bits : u64 ) -> SetU64 { if cap > 0 { unsafe { let x = SetU64 ( std :: alloc :: alloc_zeroed ( layout_for_capacity ( cap ) ) as * mut S ) ; ( * x . 0 ) . cap = cap ; ( * x . 0 ) . bits = if bits == 0 { let mut b = 0 ; while b <= 64 { b = crate :: rand :: rand64 ( ) ; } b } else { bits } ; x } } else { SetU64 ( 0 as * mut S ) } }
Create a set with the given capacity and bits
Create a set with the given capacity and bits
cap
usize
bits
u64
cap
usize
bits
u64