MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / page_and_offset

Method page_and_offset

crates/table/src/table.rs:198–200  ·  view source on GitHub ↗

Returns the page and page offset that `ptr` points to.

(&self, ptr: RowPointer)

Source from the content-addressed store, hash-verified

196
197 /// Returns the page and page offset that `ptr` points to.
198 fn page_and_offset(&self, ptr: RowPointer) -> (&Page, PageOffset) {
199 self.try_page_and_offset(ptr).unwrap()
200 }
201}
202
203static_assert_size!(Table, 264);

Callers 8

unchecked_read_columnMethod · 0.80
eq_row_in_pageMethod · 0.80
get_row_dataMethod · 0.80
blob_store_bytesMethod · 0.80
serializeMethod · 0.80
eqMethod · 0.80
hashMethod · 0.80

Calls 3

try_page_and_offsetMethod · 0.80
pointerMethod · 0.80
unwrapMethod · 0.45

Tested by

no test coverage detected