MCPcopy Create free account
hub / github.com/PLSysSec/wave / lookup

Method lookup

src/tcb/verifier/trace.rs:205–207  ·  view source on GitHub ↗
(&self, index: usize)

Source from the content-addressed store, hash-verified

203 #[pure]
204 #[requires(index < self.len())]
205 pub fn lookup(&self, index: usize) -> Effect {
206 self.v[index]
207 }
208
209 #[trusted]
210 #[ensures(self.len() == old(self.len()) + 1)]

Callers 2

is_relativeFunction · 0.45
min_depthFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected