Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/bitmap/src/
H A Dbitmap_core.rs53 let last_element = data.last_mut().unwrap(); in set_all() localVariable
56 *last_element &= mask; in set_all()
102 let mut last_element = *iter.next()?; in last_false_index() localVariable
109 last_element |= mask; in last_false_index()
112 if let Some(bit) = <T as BitOps>::last_false_index(&last_element) { in last_false_index()
218 let last_element = data.last_mut().unwrap(); in invert() localVariable
221 *last_element &= mask; in invert()