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

Method max

crates/wasmtime/src/runtime/types.rs:3289–3292  ·  view source on GitHub ↗

Set the maximum size, in units of pages, for the memory type being built. The default maximum is `None`.

(&mut self, maximum: Option<u64>)

Source from the content-addressed store, hash-verified

3287 ///
3288 /// The default maximum is `None`.
3289 pub fn max(&mut self, maximum: Option<u64>) -> &mut Self {
3290 self.ty.limits.max = maximum;
3291 self
3292 }
3293
3294 /// Set whether this is a 64-bit memory or not.
3295 ///

Callers 14

createFunction · 0.45
readMethod · 0.45
poll_readMethod · 0.45
call_impl_do_callMethod · 0.45
resources_requiredMethod · 0.45
newMethod · 0.45
new64Method · 0.45
sharedMethod · 0.45
make_callMethod · 0.45
prepare_callMethod · 0.45
grow_gc_heapMethod · 0.45
retry_after_gc_asyncMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected