Expand description
Memory Page Iterator Wrapper Module
Provides a unified iteration interface across different page sizes, supporting address iteration for 4K, 2M, and 1G page sizes. The design is inspired by the Iterator Wrapper pattern, using an enum to unify the behavior of iterators for different page sizes.
Enums§
- Page
Iter Wrapper - Page Iterator Wrapper Enum
Constants§
- PAGE_
SIZE_ 1G - 1GB page size constant (1,073,741,824 bytes)
- PAGE_
SIZE_ 2M - 2MB page size constant (2,097,152 bytes)
- PAGE_
SIZE_ 4K - 4K page size constant (4,096 bytes) and iterator type alias The size of a 4K page (4096 bytes).
Type Aliases§
- Page
Iter1G - 1GB page iterator type alias
- Page
Iter2M - 2MB page iterator type alias
- Page
Iter4K - 4K page size constant (4,096 bytes) and iterator type alias
A [
PageIter
] for 4K pages.