MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / max

Method max

crates/c-api/src/types.rs:9–15  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

7
8impl wasm_limits_t {
9 pub(crate) fn max(&self) -> Option<u32> {
10 if self.max == u32::max_value() {
11 None
12 } else {
13 Some(self.max)
14 }
15 }
16}
17
18mod arrayref;

Callers 15

xmax32_uMethod · 0.45
xmax32_sMethod · 0.45
xmax64_uMethod · 0.45
xmax64_sMethod · 0.45
vmax8x16_sMethod · 0.45
vmax8x16_uMethod · 0.45
vmax16x8_sMethod · 0.45
vmax16x8_uMethod · 0.45
vmax32x4_sMethod · 0.45
vmax32x4_uMethod · 0.45
mainFunction · 0.45
format_hot_blocksMethod · 0.45

Calls

no outgoing calls

Tested by 10

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
shared_memory_newFunction · 0.36
shared_memory_tyFunction · 0.36
shared_memory_sizeFunction · 0.36
shared_memory_growFunction · 0.36
shared_memory_data_sizeFunction · 0.36