ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/PHTpcTracker/externals/nanoflann.hpp>
Public Member Functions | |
PooledAllocator () | |
~PooledAllocator () | |
void | free_all () |
void * | malloc (const size_t req_size) |
template<typename T > | |
T * | allocate (const size_t count=1) |
PooledAllocator () | |
~PooledAllocator () | |
void | free_all () |
void * | malloc (const size_t req_size) |
template<typename T > | |
T * | allocate (const size_t count=1) |
Public Attributes | |
size_t | usedMemory |
size_t | wastedMemory |
Private Member Functions | |
void | internal_init () |
void | internal_init () |
Private Attributes | |
size_t | remaining |
void * | base |
void * | loc |
Definition at line 498 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 498 of file nanoflann.hpp
|
inline |
Default constructor. Initializes a new pool.
Definition at line 525 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 525 of file nanoflann.hpp
|
inline |
Destructor. Frees all the memory allocated in this pool.
Definition at line 533 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 533 of file nanoflann.hpp
|
inline |
Default constructor. Initializes a new pool.
Definition at line 525 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 525 of file nanoflann.hpp
|
inline |
Destructor. Frees all the memory allocated in this pool.
Definition at line 533 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 533 of file nanoflann.hpp
|
inline |
Allocates (using this pool) a generic type T.
Params: count = number of instances to allocate. Returns: pointer (of type T*) to memory buffer
Definition at line 607 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 607 of file nanoflann.hpp
References nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::count, and T.
|
inline |
Allocates (using this pool) a generic type T.
Params: count = number of instances to allocate. Returns: pointer (of type T*) to memory buffer
Definition at line 607 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 607 of file nanoflann.hpp
References nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::count, and T.
|
inline |
Frees all allocated memory chunks
Definition at line 539 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 539 of file nanoflann.hpp
|
inline |
Frees all allocated memory chunks
Definition at line 539 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 539 of file nanoflann.hpp
|
inlineprivate |
Definition at line 509 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 509 of file nanoflann.hpp
|
inlineprivate |
Definition at line 509 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 509 of file nanoflann.hpp
|
inline |
Returns a pointer to a piece of new memory of the given size in bytes allocated from the pool.
Definition at line 554 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 554 of file nanoflann.hpp
References nanoflann::BLOCKSIZE, m, nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::size(), and nanoflann::WORDSIZE.
|
inline |
Returns a pointer to a piece of new memory of the given size in bytes allocated from the pool.
Definition at line 554 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 554 of file nanoflann.hpp
References nanoflann::BLOCKSIZE, m, nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::size(), and nanoflann::WORDSIZE.
|
private |
Definition at line 506 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 506 of file nanoflann.hpp
|
private |
Definition at line 507 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 507 of file nanoflann.hpp
|
private |
Definition at line 505 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 505 of file nanoflann.hpp
size_t nanoflann::PooledAllocator::usedMemory |
Definition at line 518 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 518 of file nanoflann.hpp
size_t nanoflann::PooledAllocator::wastedMemory |
Definition at line 519 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 519 of file nanoflann.hpp