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

Method num_defined_tables

crates/environ/src/module.rs:568–570  ·  view source on GitHub ↗

Returns the number of tables defined by this module itself: all tables minus imported tables.

(&self)

Source from the content-addressed store, hash-verified

566 /// Returns the number of tables defined by this module itself: all tables
567 /// minus imported tables.
568 pub fn num_defined_tables(&self) -> usize {
569 self.tables.len() - self.num_imported_tables
570 }
571
572 /// Returns the number of memories defined by this module itself: all
573 /// memories minus imported memories.

Callers 8

resources_requiredMethod · 0.80
bump_resource_countsMethod · 0.80
for_each_tableMethod · 0.80
initialize_vmctxMethod · 0.80
allocate_moduleMethod · 0.80
validate_componentMethod · 0.80
validateMethod · 0.80
newMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected