Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
pooled_secure.h
Go to the documentation of this file.
17 // Allocator that allocates memory in chunks from a pool, which in turn allocates larger chunks from secure memory
base::const_reference const_reference
Definition: pooled_secure.h:29
static LockedPoolManager & Instance()
Return the current instance, or create it once.
Definition: lockedpool.h:213
~pooled_secure_allocator() noexcept
Definition: pooled_secure.h:35
static void free(char *const block)
Definition: pooled_secure.h:64
std::size_t size_type
Definition: pooled_secure.h:56
base::const_pointer const_pointer
Definition: pooled_secure.h:27
void deallocate(T *p, std::size_t n)
Definition: pooled_secure.h:43
std::ptrdiff_t difference_type
Definition: pooled_secure.h:57
base::difference_type difference_type
Definition: pooled_secure.h:25
pooled_secure_allocator(const size_type nrequested_size=32, const size_type nnext_size=32, const size_type nmax_size=0) noexcept
Definition: pooled_secure.h:31
boost::pool< internal_secure_allocator > pool
Definition: pooled_secure.h:70
static char * malloc(const size_type bytes)
Definition: pooled_secure.h:59
Definition: pooled_secure.h:21
T * allocate(std::size_t n, const void *hint=0)
Definition: pooled_secure.h:37