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

Method len

cranelift/codegen/src/settings.rs:373–375  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

371 /// The template contains a hash table for by-name lookup.
372 impl<'a> constant_hash::Table<&'a str> for Template {
373 fn len(&self) -> usize {
374 self.hash_table.len()
375 }
376
377 fn key(&self, idx: usize) -> Option<&'a str> {
378 let e = self.hash_table[idx] as usize;

Callers 1

keyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected