Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/crates/bitmap/src/
Dbitmap_core.rs27 let bit = <T as BitOps>::get(element, bit_index); in get() localVariable
29 Some(bit) in get()
41 let bit = <T as BitOps>::set(element, bit_index, value); in set() localVariable
43 Some(bit) in set()
63 let bit = <T as BitOps>::first_index(element); in first_index() localVariable
64 if bit.is_some() { in first_index()
65 return Some(i * T::bit_size() + bit.unwrap()); in first_index()
75 if let Some(bit) = <T as BitOps>::first_false_index(element) { in first_false_index()
76 return self.make_index(n, i * T::bit_size() + bit); in first_false_index()
86 if let Some(bit) = <T as BitOps>::last_index(element) { in last_index()
[all …]
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.2.md50 - ffz函数:获取u64中的第一个值为0的bit (#100)
265 * ffz函数:获取u64中的第一个值为0的bit
/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dfs.rs792 let bit = self.get_fat_entry_raw(Cluster::new(1))? & 0x0800_0000; in is_shut_bit_ok() localVariable
793 return Ok(bit > 0); in is_shut_bit_ok()
796 let bit = self.get_fat_entry_raw(Cluster::new(1))? & 0x8000; in is_shut_bit_ok() localVariable
797 return Ok(bit > 0); in is_shut_bit_ok()
814 let bit = self.get_fat_entry_raw(Cluster::new(1))? & 0x0400_0000; in is_hard_error_bit_ok() localVariable
815 return Ok(bit > 0); in is_hard_error_bit_ok()
818 let bit = self.get_fat_entry_raw(Cluster::new(1))? & 0x4000; in is_hard_error_bit_ok() localVariable
819 return Ok(bit > 0); in is_hard_error_bit_ok()
/DragonOS-0.1.9/
DREADME_EN.md72 …lopment of this project. The list of all sponsors will be published. Every bit of your sponsorship…
117 - Implementation of a 64 bit operating system, Tian Yu (POSTS&TELECOM PRESS)
/DragonOS-0.1.9/kernel/src/exception/
Dirqdesc.rs787 pub fn test_and_set_bit(&mut self, bit: ThreadedHandlerFlags) -> bool { in test_and_set_bit()
788 let res = (self.bits & bit.bits) != 0; in test_and_set_bit()
789 self.bits |= bit.bits; in test_and_set_bit()
/DragonOS-0.1.9/kernel/src/libs/intertrait/
DREADME.md144 is a bit different here, but conceptually so).