MmapPool

Undocumented in source.

Members

Functions

allocate
void[] allocate(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
deallocate
bool deallocate(void[] p)
Undocumented in source. Be warned that the author may not have intended to support it.
reallocate
bool reallocate(void[] p, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
reallocateInPlace
bool reallocateInPlace(void[] p, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

alignment
uint alignment [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
instance
shared(MmapPool) instance [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

block
auto block;
Undocumented in source.
pageSize
enum size_t pageSize;
Undocumented in source.
r
auto r;
Undocumented in source.

Inherited Members

From Allocator

alignment
uint alignment [@property getter]
allocate
void[] allocate(size_t size)

Allocates size bytes of memory.

deallocate
bool deallocate(void[] p)

Deallocates a memory block.

reallocate
bool reallocate(void[] p, size_t size)

Increases or decreases the size of a memory block.

reallocateInPlace
bool reallocateInPlace(void[] p, size_t size)

Reallocates a memory block in place if possible or returns $(D_KEYWORD false). This function cannot be used to allocate or deallocate memory, so if p is $(D_KEYWORD null) or size is 0, it should return $(D_KEYWORD false).

Meta