Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
DynArray Struct Reference

provides a memory range that can be expanded but doesn't waste physical memory or relocate itself. More...

#include <dynarray.h>

Public Attributes

u8base
 
size_t max_size_pa
 
size_t cur_size
 reserved More...
 
size_t cur_size_pa
 committed More...
 
size_t pos
 

Detailed Description

provides a memory range that can be expanded but doesn't waste physical memory or relocate itself.

works by preallocating address space and committing as needed. used as a building block for other allocators.

Definition at line 39 of file dynarray.h.

Member Data Documentation

u8* DynArray::base

Definition at line 41 of file dynarray.h.

size_t DynArray::cur_size

reserved

Definition at line 43 of file dynarray.h.

size_t DynArray::cur_size_pa

committed

Definition at line 44 of file dynarray.h.

size_t DynArray::max_size_pa

Definition at line 42 of file dynarray.h.

size_t DynArray::pos

Definition at line 46 of file dynarray.h.


The documentation for this struct was generated from the following file: