Home
last modified time | relevance | path

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

/wasmtime-44.0.1/tests/all/
H A Dthreads.rs13 config.shared_memory(true); in engine()
31 config.shared_memory(false); in shared_memory_failed_creation()
82 assert_eq!(shared_memory.size(), 1); in test_export_shared_memory()
83 assert!(shared_memory.ty().is_shared()); in test_export_shared_memory()
104 let data = shared_memory.data(); in test_sharing_of_shared_memory()
150 assert_eq!(shared_memory.size(), 1); in test_probe_shared_memory_size()
152 shared_memory.grow(1)?; in test_probe_shared_memory_size()
154 assert_eq!(shared_memory.size(), 2); in test_probe_shared_memory_size()
184 assert_eq!(shared_memory.size(), 1); in test_multi_memory()
221 let shared_memory = shared_memory.clone(); in test_grow_memory_in_multiple_threads() localVariable
[all …]
H A Dwait_notify.rs26 let shared_memory = SharedMemory::new(&engine, MemoryType::shared(1, 1))?; in atomic_wait_timeout_length() localVariable
27 let instance = Instance::new(&mut store, &module, &[shared_memory.clone().into()])?; in atomic_wait_timeout_length()
70 let shared_memory = SharedMemory::new(&engine, MemoryType::shared(1, 1))?; in atomic_wait_notify_basic() localVariable
71 let instance1 = Instance::new(&mut store, &module, &[shared_memory.clone().into()])?; in atomic_wait_notify_basic()
76 let shared_memory = shared_memory.clone(); in atomic_wait_notify_basic() localVariable
79 let instance2 = Instance::new(&mut store, &module, &[shared_memory.into()]).unwrap(); in atomic_wait_notify_basic()
100 let data = shared_memory.data(); in atomic_wait_notify_basic()
H A Dcoredump.rs271 config.shared_memory(true); in core_dump_with_shared_memory()
H A Dmemory.rs570 config.shared_memory(true); in shared_memory_basics()
645 config.shared_memory(true); in shared_memory_wait_notify()
H A Ddebug.rs498 config.shared_memory(true); in private_entity_access_shared_memory()
/wasmtime-44.0.1/crates/fuzzing/src/generators/
H A Dmodule.rs28 pub shared_memory: bool, field
87 shared_memory: false, in arbitrary()
H A Dconfig.rs320 cfg.wasm.shared_memory = Some(self.module_config.shared_memory); in to_wasmtime()
/wasmtime-44.0.1/crates/fuzzing/tests/oom/
H A Dmain.rs26 mod shared_memory; module
H A Dshared_memory.rs9 config.shared_memory(true); in shared_memory_engine()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/
H A Dmemory.rs188 Some(shared_memory) => crate::runtime::box_future(async move { in allocate_memory()
191 shared_memory.clone().as_memory(), in allocate_memory()
/wasmtime-44.0.1/src/commands/
H A Dwast.rs49 config.shared_memory(true); in execute()
/wasmtime-44.0.1/crates/c-api/include/wasmtime/
H A Dconfig.h160 WASMTIME_CONFIG_PROP(void, shared_memory, bool)
H A Dconfig.hh295 void shared_memory(bool enable) { in shared_memory() function in wasmtime::Config
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/memory/
H A Dshared_memory.rs51 if !engine.config().shared_memory { in wrap()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dmemory.rs105 mod shared_memory; module
107 pub use shared_memory::SharedMemory;
/wasmtime-44.0.1/tests/
H A Dwast.rs157 cfg.shared_memory(true); in run_wast()
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dconfig.rs194 pub(crate) shared_memory: bool, field
304 shared_memory: false, in new()
3002 pub fn shared_memory(&mut self, enable: bool) -> &mut Self { in shared_memory() method
3003 self.shared_memory = enable; in shared_memory()
/wasmtime-44.0.1/crates/cli-flags/src/
H A Dlib.rs386 pub shared_memory: Option<bool>,
1084 if let Some(enable) = self.wasm.shared_memory { in config()
1085 config.shared_memory(enable); in config()
/wasmtime-44.0.1/docs/
H A Dcontributing-conditional-compilation.md228 example of this is [`shared_memory.rs`][dummy-enabled] and
276 …thub.com/bytecodealliance/wasmtime/blob/main/crates/wasmtime/src/runtime/vm/memory/shared_memory.rs
/wasmtime-44.0.1/crates/c-api/src/
H A Dconfig.rs84 c.config.shared_memory(enable); in wasmtime_config_shared_memory_set()
/wasmtime-44.0.1/crates/fuzzing/src/
H A Doracles.rs708 fuzz_config.module_config.shared_memory = true; in wast_test()