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

Method key

cranelift/codegen/src/settings.rs:377–384  ·  view source on GitHub ↗
(&self, idx: usize)

Source from the content-addressed store, hash-verified

375 }
376
377 fn key(&self, idx: usize) -> Option<&'a str> {
378 let e = self.hash_table[idx] as usize;
379 if e < self.descriptors.len() {
380 Some(self.descriptors[e].name)
381 } else {
382 None
383 }
384 }
385 }
386
387 /// A setting descriptor holds the information needed to generically set and print a setting.

Callers 1

probeFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected