MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / Minimum

Method Minimum

tabletype.go:79–84  ·  view source on GitHub ↗

Minimum returns the minimum size, in elements, of this table.

()

Source from the content-addressed store, hash-verified

77
78// Minimum returns the minimum size, in elements, of this table.
79func (ty *TableType) Minimum() uint32 {
80 ptr := C.wasm_tabletype_limits(ty.ptr())
81 ret := uint32(ptr.min)
82 runtime.KeepAlive(ty)
83 return ret
84}
85
86// Maximum returns the maximum size, in elements, of this table.
87//

Callers 6

TestTableTypeFunction · 0.95
TestInstanceFunction · 0.45
TestMemoryType64Function · 0.45
TestModuleImportsFunction · 0.45
TestModuleExportsFunction · 0.45
TestMultiMemoryExportedFunction · 0.45

Calls 1

ptrMethod · 0.95

Tested by 6

TestTableTypeFunction · 0.76
TestInstanceFunction · 0.36
TestMemoryType64Function · 0.36
TestModuleImportsFunction · 0.36
TestModuleExportsFunction · 0.36
TestMultiMemoryExportedFunction · 0.36