Home
last modified time | relevance | path

Searched defs:GCAllocator (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/
H A Dgc_allocator.d13 struct GCAllocator struct
17 version (StdUnittest) @system unittest { testAllocator!(() => GCAllocator.instance); } in version() argument
23 enum uint alignment = platformAlignment;
30 pure nothrow @trusted void[] allocate(size_t bytes) shared const in allocate()
38 pure nothrow @trusted bool expand(ref void[] b, size_t delta) shared const in expand()
61 pure nothrow @system bool reallocate(ref void[] b, size_t newSize) shared const in reallocate()
79 Ternary resolveInternalPointer(const void* p, ref void[] result) shared const in resolveInternalPointer()
89 bool deallocate(void[] b) shared const in deallocate()
97 size_t goodAllocSize(size_t n) shared const in goodAllocSize()
127 static shared const GCAllocator instance; argument
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/
H A Dgc_allocator.d8 struct GCAllocator struct
18 enum uint alignment = platformAlignment;
25 pure nothrow @trusted void[] allocate(size_t bytes) shared in allocate()
33 @system bool expand(ref void[] b, size_t delta) shared in expand()
56 pure nothrow @system bool reallocate(ref void[] b, size_t newSize) shared in reallocate()
74 Ternary resolveInternalPointer(const void* p, ref void[] result) shared in resolveInternalPointer()
83 pure nothrow @system bool deallocate(void[] b) shared in deallocate()
113 static shared GCAllocator instance; argument
125 auto buffer = GCAllocator.instance.allocate(1024 * 1024 * 4); argument