ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/global/management/include/G4AllocatorPool.hh>
Classes | |
class | G4PoolChunk |
struct | G4PoolLink |
Public Member Functions | |
G4AllocatorPool (unsigned int n=0) | |
~G4AllocatorPool () | |
G4AllocatorPool (const G4AllocatorPool &right) | |
G4AllocatorPool & | operator= (const G4AllocatorPool &right) |
void * | Alloc () |
void | Free (void *b) |
unsigned int | Size () const |
void | Reset () |
int | GetNoPages () const |
unsigned int | GetPageSize () const |
void | GrowPageSize (unsigned int factor) |
Private Member Functions | |
void | Grow () |
Private Attributes | |
const unsigned int | esize |
unsigned int | csize |
G4PoolChunk * | chunks |
G4PoolLink * | head |
int | nchunks |
Definition at line 49 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 49 of file G4AllocatorPool.hh
|
explicit |
Definition at line 43 of file G4AllocatorPool.cc.
View newest version in sPHENIX GitHub at line 43 of file G4AllocatorPool.cc
G4AllocatorPool::~G4AllocatorPool | ( | ) |
Definition at line 78 of file G4AllocatorPool.cc.
View newest version in sPHENIX GitHub at line 78 of file G4AllocatorPool.cc
References Reset().
G4AllocatorPool::G4AllocatorPool | ( | const G4AllocatorPool & | right | ) |
Definition at line 54 of file G4AllocatorPool.cc.
View newest version in sPHENIX GitHub at line 54 of file G4AllocatorPool.cc
|
inline |
Definition at line 118 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 118 of file G4AllocatorPool.hh
References Grow(), head, and G4AllocatorPool::G4PoolLink::next.
Definition at line 131 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 131 of file G4AllocatorPool.hh
References b, head, and G4AllocatorPool::G4PoolLink::next.
|
inline |
Definition at line 153 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 153 of file G4AllocatorPool.hh
References nchunks.
|
inline |
Definition at line 163 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 163 of file G4AllocatorPool.hh
References csize.
|
private |
Definition at line 108 of file G4AllocatorPool.cc.
View newest version in sPHENIX GitHub at line 108 of file G4AllocatorPool.cc
References chunks, csize, esize, head, G4AllocatorPool::G4PoolChunk::mem, n, nchunks, G4AllocatorPool::G4PoolChunk::next, and start().
Referenced by Alloc().
Definition at line 173 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 173 of file G4AllocatorPool.hh
References csize.
G4AllocatorPool & G4AllocatorPool::operator= | ( | const G4AllocatorPool & | right | ) |
Definition at line 65 of file G4AllocatorPool.cc.
View newest version in sPHENIX GitHub at line 65 of file G4AllocatorPool.cc
void G4AllocatorPool::Reset | ( | ) |
Definition at line 87 of file G4AllocatorPool.cc.
View newest version in sPHENIX GitHub at line 87 of file G4AllocatorPool.cc
References chunks, head, n, nchunks, and G4AllocatorPool::G4PoolChunk::next.
Referenced by ~G4AllocatorPool().
|
inline |
Definition at line 143 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 143 of file G4AllocatorPool.hh
|
private |
Definition at line 104 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 104 of file G4AllocatorPool.hh
Referenced by Grow(), operator=(), and Reset().
|
private |
Definition at line 103 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 103 of file G4AllocatorPool.hh
Referenced by GetPageSize(), Grow(), GrowPageSize(), and Size().
|
private |
Definition at line 102 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 102 of file G4AllocatorPool.hh
Referenced by Grow().
|
private |
Definition at line 105 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 105 of file G4AllocatorPool.hh
Referenced by Alloc(), Free(), Grow(), operator=(), and Reset().
|
private |
Definition at line 106 of file G4AllocatorPool.hh.
View newest version in sPHENIX GitHub at line 106 of file G4AllocatorPool.hh
Referenced by GetNoPages(), Grow(), operator=(), Reset(), and Size().