For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
page_and_offset
def page_and_offset(slot: Int, page_size: Int) -> Tuple[Int, Int]
Splits a slot into its page and its place in the page.
Args:
Returns:
Tuple[Int, Int]: The page and the slot's place in it.