Home
last modified time | relevance | path

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

/wasmtime-44.0.1/crates/wasmtime/src/
H A Dsync_std.rs14 pub struct OnceLock<T>(OnceCell<T>); struct
16 impl<T> OnceLock<T> { impl
18 pub const fn new() -> OnceLock<T> { in new()
19 OnceLock(OnceCell::new()) in new()
33 impl<T> Default for OnceLock<T> { implementation
34 fn default() -> OnceLock<T> { in default()
35 OnceLock::new() in default()
H A Dsync_nostd.rs27 pub struct OnceLock<T> { struct
40 impl<T> OnceLock<T> { implementation
41 pub const fn new() -> OnceLock<T> { in new()
42 OnceLock { in new()
102 impl<T> Drop for OnceLock<T> { implementation
111 impl<T> Default for OnceLock<T> { implementation
112 fn default() -> OnceLock<T> { in default()
113 OnceLock::new() in default()
408 let lock = OnceLock::new(); in smoke_once_lock()
415 let lock = OnceLock::new(); in smoke_once_lock()
[all …]
H A Dengine.rs69 compatible_with_native_host: crate::sync::OnceLock<Result<(), String>>,
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/mpk/
H A Denabled.rs5 use std::sync::OnceLock;
46 static KEYS: OnceLock<Vec<ProtectionKey>> = OnceLock::new();
/wasmtime-44.0.1/fuzz/fuzz_targets/
H A Dmisc.rs5 use std::sync::OnceLock;
15 static ENABLED: OnceLock<u32> = OnceLock::new();
/wasmtime-44.0.1/crates/test-programs/src/
H A Dpreview1.rs1 use std::{sync::OnceLock, time::Duration};
4 static TESTCONFIG: OnceLock<TestConfig> = OnceLock::new(); in config()
/wasmtime-44.0.1/crates/wasi/src/cli/
H A Dworker_thread_stdin.rs31 use std::sync::{Condvar, Mutex, OnceLock};
90 static STDIN: OnceLock<GlobalStdin> = OnceLock::new(); in get()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/module/
H A Dregistry.rs7 use crate::sync::{OnceLock, RwLock};
332 static GLOBAL_CODE: OnceLock<RwLock<GlobalRegistry>> = OnceLock::new(); in global_code()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dmodule.rs5 use crate::sync::OnceLock;
156 memory_images: OnceLock<Option<ModuleMemoryImages>>,
553 memory_images: OnceLock::new(), in from_parts_raw()
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Dcomponent_async.rs12 use std::sync::{Arc, OnceLock, Weak};
23 static STATE: OnceLock<(Engine, FuzzAsyncPre<Data>)> = OnceLock::new();