MCPcopy Create free account
hub / github.com/Slowerzs/PPLSystem / get_pt_offset

Method get_pt_offset

src/kdmp/parser.rs:96–98  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

94 }
95
96 pub fn get_pt_offset(&self) -> u64 {
97 ((self.addr & PT_INDEX_MASK) >> PT_INDEX_BITSHIFT) << 3
98 }
99
100 pub fn get_offset(&self) -> u64 {
101 self.addr & PT_OFFSET_MASK

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected