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

Method node_range

crates/environ/src/graphs/scc.rs:184–188  ·  view source on GitHub ↗
(&self, range: Range<u32>)

Source from the content-addressed store, hash-verified

182 }
183
184 fn node_range(&self, range: Range<u32>) -> &[Node] {
185 let start = usize::try_from(range.start).unwrap();
186 let end = usize::try_from(range.end).unwrap();
187 &self.component_nodes[start..end]
188 }
189
190 /// Iterate over each strongly-connected component and the `Node`s that are
191 /// members of it.

Callers 3

iterMethod · 0.80
valuesMethod · 0.80
nodesMethod · 0.80

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected