Home
last modified time | relevance | path

Searched refs:make_mask (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/crates/bitmap/src/
H A Dbitmap_core.rs54 let mask = T::make_mask(n % T::bit_size()); in set_all()
105 let mut mask = T::make_mask(n % T::bit_size()); in last_false_index()
219 let mask = T::make_mask(n % T::bit_size()); in invert()
231 let mut mask = T::make_mask(n % T::bit_size()); in is_full()
240 } else if element != &T::make_mask(T::bit_size()) { in is_full()
H A Dtraits.rs23 fn make_mask(shift: usize) -> Self; in make_mask() method
177 fn make_mask(shift: usize) -> Self {