pub fn bucket_ix(&self, key: &Pubkey) -> usize {
        if self.max_buckets_pow2 > 0 {
            let location = read_be_u64(key.as_ref());
            (location >> (u64::BITS - self.max_buckets_pow2 as u32)) as usize
        } else {
            0
        }
    }
/// Get the bucket index for Pubkey `key`
Get the bucket index for Pubkey `key`
Get the bucket index for Pubkey ` key `
pub fn bucket_ix(&self, key: &Pubkey) -> usize {
        if self.max_buckets_pow2 > 0 {
            let location = read_be_u64(key.as_ref());
            (location >> (u64::BITS - self.max_buckets_pow2 as u32)) as usize
        } else {
            0
        }
    }
pub fn bucket_ix ( & self , key : & Pubkey ) -> usize { if self . max_buckets_pow2 > 0 { let location = read_be_u64 ( key . as_ref ( ) ) ; ( location >> ( u64 :: BITS - self . max_buckets_pow2 as u32 ) ) as usize } else { 0 } }
Get the bucket index for Pubkey `key`
Get the bucket index for Pubkey ` key `
&self
key
&Pubkey