Searched refs:bit_idx (Results 1 – 1 of 1) sorted by relevance
97 let bit_idx = idx % 64; in is_allocated() localVariable98 (self[base_idx].load(Ordering::Relaxed) & (1 << bit_idx)) > 0 in is_allocated()105 let bit_idx = idx % 64; in set_bit() localVariable106 self[base_idx].fetch_or(1 << bit_idx, Ordering::Relaxed); in set_bit()113 let bit_idx = idx % 64; in clear_bit() localVariable114 self[base_idx].fetch_and(!(1 << bit_idx), Ordering::Relaxed); in clear_bit()