MCPcopy Create free account
hub / github.com/eigenform/perfect / cursor

Method cursor

perfect/src/asm.rs:168–168  ·  view source on GitHub ↗

Return the current offset (in bytes).

(&self)

Source from the content-addressed store, hash-verified

166
167 /// Return the current offset (in bytes).
168 pub fn cursor(&self) -> usize { self.ops.len() }
169
170 /// Return the current virtual address.
171 pub fn cur_addr(&self) -> usize { self.base_addr() + self.cursor() }

Callers 3

cur_addrMethod · 0.80
commitMethod · 0.80
disasMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected