Commit graph

25 commits

Author SHA1 Message Date
Paul Backus
e05ee968ac Region: don't use NullAllocator as a sentinel
Region will now always assume that its ParentAllocator is a real
allocator, and attempt to use its 'allocate' and 'deallocate' methods
accordingly.

The behavior previously provided by Region!(NullAllocator, ...) remains
available via BorrowedRegion!(...).

See issue 23090 for detailed rationale.
2022-09-19 16:31:20 -04:00
Hackerpilot
bbab95e337 Make sure that uses of testAllocator are inside of StdUnittest version blocks. 2020-03-10 12:24:10 -07:00
Nathan Sashihara
a3dfcc1025 Implement allocateZeroed for building-block allocators
Followup to https://github.com/dlang/phobos/pull/6411
2018-09-08 10:56:34 -04:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
6f766dce5d Remove redundant 'static' storage classes 2018-04-05 13:11:48 +02:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
233e90bdc1 Add PHOBOSSRC urls to std.experimental 2018-01-08 02:52:50 +01:00
Eduard Staniloiu
863421e114 Make alignedReallocate nothrow nogc 2017-12-06 18:38:11 +01:00
Eduard Staniloiu
2a02f6feb9 Make reallocate nothrow nogc 2017-11-28 14:50:26 +00:00
Eduard Staniloiu
df72d45c7c Make allocators expand safe 2017-11-22 19:51:12 +02:00
Eduard Staniloiu
a498d87222 Make empty @safe 2017-11-07 18:00:52 +00:00
Eduard Staniloiu
ee9fc06656 Mark deallocateAll as @nogc 2017-11-06 21:57:59 +00:00
Eduard Staniloiu
da335ad328 Mark deallocate as nothrow @nogc 2017-11-06 10:09:29 +00:00
Eduard Staniloiu
b7121e4f7d Fix Quantizer alignedAllocate 2017-11-02 23:10:02 +00:00
Eduard Staniloiu
badaa758e7
Revert "Allocators owns should take const void[]" 2017-11-02 20:23:35 +02:00
Eduard Staniloiu
6f8b418e6c Allocators owns should take const void[] 2017-11-01 10:01:36 +00:00
Eduard Staniloiu
97ddc3d11d Improve unittests 2017-10-19 13:30:24 +00:00
Eduard Staniloiu
97e6d45688 Make goodAllocSize @safe 2017-10-19 09:35:58 +00:00
Sebastian Wilzbach
ff6c0f1dfc Issue 16984 - Make stdx.allocator.building_blocks.quantizer runnable 2017-10-05 21:55:17 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
Sönke Ludwig
f07dfe6df0 Add empty doc comments to all public Phobos modules to fix /library/.
The DDOX based documentation is configured to only show entities with doc comments and thus hides modules without one. This adds an empty comment to all public Phobos modules that have stayed undocumented so far.

They should probably get a proper documentation with description/license/copyright/.... This just fixes the documentation until then.
2016-06-06 10:53:11 +02:00
Andrei Alexandrescu
8ecabe23f2 Change semantics of expand: the null array cannot be expanded 'in place' 2016-05-27 16:36:01 -04:00
Andrei Alexandrescu
499ecfedc5 Moved a bunch of building blocks into a new package building_blocks 2015-10-02 07:35:09 -04:00
Renamed from std/experimental/allocator/quantizer.d (Browse further)