ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
base::core::BFCAllocator::chunk Struct Reference
Collaboration diagram for base::core::BFCAllocator::chunk:

Public Member Functions

bool allocated () const
 

Public Attributes

size_t size = 0
 
bin_index_t bin_index = kInvalidBinNum
 
size_t requested_size = 0
 
int64_t allocation_id = -1
 
void * ptr = nullptr
 
chunk_handle_t next_chunk_handle = kInvalidChunkHandle
 
chunk_handle_t prev_chunk_handle = kInvalidChunkHandle
 

Member Function Documentation

◆ allocated()

bool base::core::BFCAllocator::chunk::allocated ( ) const
inline

Member Data Documentation

◆ allocation_id

int64_t base::core::BFCAllocator::chunk::allocation_id = -1

◆ bin_index

bin_index_t base::core::BFCAllocator::chunk::bin_index = kInvalidBinNum

◆ next_chunk_handle

chunk_handle_t base::core::BFCAllocator::chunk::next_chunk_handle = kInvalidChunkHandle

◆ prev_chunk_handle

chunk_handle_t base::core::BFCAllocator::chunk::prev_chunk_handle = kInvalidChunkHandle

◆ ptr

void* base::core::BFCAllocator::chunk::ptr = nullptr

◆ requested_size

size_t base::core::BFCAllocator::chunk::requested_size = 0

◆ size

size_t base::core::BFCAllocator::chunk::size = 0

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