Searched refs:g (Results 1 – 15 of 15) sorted by relevance
/DragonOS/docs/kernel/locking/ |
H A D | spinlock.md | 62 let mut g :SpinLockGuard<Vec<i32>>= x.lock(); 63 g.push(1); 64 g.push(2); 65 g.push(2); 66 assert!(g.as_slice() == [1, 2, 2] || g.as_slice() == [2, 2, 1]); 70 // 由于上方的变量`g`,也就是SpinLock守卫的生命周期结束,自动释放了SpinLock。因此,在此处,SpinLock是放锁的状态
|
H A D | mutex.md | 56 let mut g :MutexGuard<Vec<i32>>= x.lock(); 57 g.push(1); 58 g.push(2); 59 g.push(2); 60 assert!(g.as_slice() == [1, 2, 2] || g.as_slice() == [2, 2, 1]); 64 // 由于上方的变量`g`,也就是Mutex守卫的生命周期结束,自动释放了Mutex。因此,在此处,Mutex是放锁的状态
|
/DragonOS/user/apps/user-manage/ |
H A D | README.md | 7 useradd -c \<comment\> -d \<home\> -G \<group\> -g \<gid\> -s \<shell\> -u \<uid\> username 15 -g 组id 86 groupadd -g\<gid\> -p\<passwd\> groupname 89 -g\<gid\> 指定组 id 117 groupadd -g\<new gid\> -n\<new groupname\> groupname 120 -g 设置新 gid
|
/DragonOS/user/apps/test-chown/ |
H A D | README.md | 6 ```groupadd -g 65534 nogroup 7 useradd -d /nonexistent -g 65534 -u 65534 -s /usr/local/bin/false nobody
|
/DragonOS/docs/kernel/memory_management/ |
H A D | mmio.md | 63   伙伴算法的核心思想是当应用申请内存时,每次都分配比申请的内存大小更大的最小内存块,同时分配出去的内存块大小为$2^nB$。(e.g. 假设某应用申请了$3B$内存,显然并没有… 65   那么当伙伴系统中没有如此“合适”的内存块时该怎么办呢?系统先会去寻找更大的内存块,如果找到了,则会将大内存块分裂成合适的内存块分配给应用。(e.g. 假设申请$3B$内存,此… 67   如果系统没有找到更大的内存块,系统将会尝试合并较小的内存块,直到符合申请空间的大小。(e.g. 假设申请$3B$内存,系统检查内存池发现只有两个$2B$的内存块,那么系统将会… 158 …每个内存块大小都为$2^{n}$ bytes,那么可以令$exp = n$。index与exp的换算公式如下:$index = exp - 12$。e.g. 一个大小为$2^{12}$ bytes…
|
/DragonOS/docs/_static/ |
H A D | dragonos-logo.svg | 1 …g id="图层_2" data-name="图层 2"><g id="图层_1-2" data-name="图层 1"><polygon class="cls-1" points="228.49…
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | xapic.rs | 155 let g = mmio_pool() in new() localVariable 158 g.map_phys(paddr, 4096).expect("Fail to map MMIO for XAPIC"); in new() 159 let addr = g.vaddr() + offset; in new() 170 map_guard: g, in new()
|
/DragonOS/user/port/binutils/2.38/ |
H A D | build.sh | 27 g++ \
|
/DragonOS/user/port/gcc/11.3.0/ |
H A D | build-hosted.sh | 29 g++ \
|
/DragonOS/kernel/src/driver/video/ |
H A D | mod.rs | 257 let g = manager.refresh_target.try_read(); in run() localVariable 258 if g.is_none() { in run() 265 refresh_target = Some(g.unwrap()); in run()
|
/DragonOS/kernel/src/libs/ |
H A D | rwlock.rs | 225 let r = self.inner_try_write().map(|mut g| { in try_write_irqsave() 226 g.irq_guard = Some(irq_guard); in try_write_irqsave() 227 g in try_write_irqsave()
|
/DragonOS/tools/ |
H A D | build_gcc_toolchain.sh | 99 g++ \
|
/DragonOS/kernel/ |
H A D | Cargo.toml | 105 debug = true # Controls whether the compiler passes `-g`
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui.rs | 251 pub const fn new(r: u8, g: u8, b: u8) -> Self { in new() 252 let val = ((r as u32) << 16) | ((g as u32) << 8) | (b as u32); in new()
|
/DragonOS/kernel/crates/rbpf/ |
H A D | README.md | 402 // Load a program from an ELF file, e.g. compiled from C to eBPF with
|