Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ get
Method
get
tests/all/component_model/bindgen.rs:1082–1084 ·
view source on GitHub ↗
(&mut self, key: u32)
Source
from the content-addressed store, hash-verified
1080
1081
impl demo::pkg::store::Host for MyHost {
1082
fn get(&mut self, key: u32) -> u32 {
1083
*self.kv.get(&key).unwrap()
1084
}
1085
1086
fn set(&mut self, key: u32, value: u32) {
1087
self.kv.insert(key, value);
Callers
15
test_sharing_of_shared_memory
Function · 0.45
drop_delayed
Function · 0.45
signatures_match
Function · 0.45
trap_smoke
Function · 0.45
new_from_signature
Function · 0.45
call_wrapped_func
Function · 0.45
func_return_nothing
Function · 0.45
call_via_funcref
Function · 0.45
store_with_context
Function · 0.45
array_get_wrong_store
Function · 0.45
host_sets_array_global
Function · 0.45
wasm_sets_array_global
Function · 0.45
Calls
3
get
Function · 0.50
unwrap
Method · 0.45
push
Method · 0.45
Tested by
15
test_sharing_of_shared_memory
Function · 0.36
signatures_match
Function · 0.36
call_wrapped_func
Function · 0.36
store_with_context
Function · 0.36
instantiate_with_array_global
Function · 0.36
test_invoke_func_via_table
Function · 0.36
funcs_live_on_to_fight_another_day
Function · 0.36
table_zeroed
Function · 0.36
atomic_wait_notify_basic
Function · 0.36
instantiate_with_struct_global
Function · 0.36
i31ref_global_get
Function · 0.36
i31ref_global_set
Function · 0.36