Rainer Schuetze
1556befad7
gc_allocator.goodAllocSize: relax conditions for the actual GC to allow "good" sizes other than powers of 2
2018-12-03 23:17:52 +01: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
Nathan Sashihara
6848fa9646
make/makeArray: take advantage of allocators with smth. faster than allocate+memset zero
2018-04-15 17:48:29 -04:00
Per Nordlöw
d0adf134a5
Make GCAllocator callable in pure functions
2018-04-08 21:58:23 +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
df72d45c7c
Make allocators expand safe
2017-11-22 19:51:12 +02:00
Eduard Staniloiu
da335ad328
Mark deallocate as nothrow @nogc
2017-11-06 10:09:29 +00:00
Eduard Staniloiu
c1efb05ebf
Improve unittests
2017-10-28 22:31:36 +00:00
Eduard Staniloiu
d37bc9dc6e
Make resolveInternalPointer @safe
2017-10-28 22:31: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
Jack Stouffer
b19f46a7d1
Fix style problems in std.experimental.allocator.gc_allocator
2017-04-05 10:55:22 -04:00
Eduard Staniloiu
7c0ebad377
Make allocators' resolveInternalPointer take a const pointer as source
2017-04-03 20:35:01 +03:00
Eduard Staniloiu
85000db4be
Make the resolveInternalPointer method abide the IAllocator API
2017-03-15 16:54:31 +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
a5b0016ebb
Add attributes to GCAllocator and theAllocator
2016-08-03 03:16:31 +02: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
Sebastian Wilzbach
2dfbc51f17
Standardize whitespace after imports
...
Unified with:
sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +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
Sebastian Wilzbach
5a8988c149
style fix: add space after for operator
2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
Steven Schveighoffer
498d9b0b5e
use correct math
2016-03-11 11:33:12 -05:00
Steven Schveighoffer
1d1ddfbf5d
Fix GCAllocator.expand to properly utilize GC.extend
2016-02-21 17:17:02 -05:00
Steven Schveighoffer
245977e3e7
Add more unit tests for GCAllocator.goodAllocSize
2016-02-02 15:11:55 -05:00
Steven Schveighoffer
0c5e570360
Optimize use of bsr better.
2016-02-01 09:27:04 -05:00
Steven Schveighoffer
e9e52d9e05
Add goodAllocationSize to GCAllocator -- the GC has very well defined
...
behavior for this.
2016-01-31 14:50:53 -05:00
Martin Nowak
8aafde2505
disable GCAllocator.expand test
2016-01-03 16:58:45 +01:00
Andrei Alexandrescu
e0ad05d7b0
Name change: .it -> .instance for all allocators
2015-10-02 07:35:09 -04:00
Hackerpilot
710d85d622
Clean up various things discovered by D-Scanner
2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
20bfef3f3e
Unify static and dynamic method signatures
2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
e87abcdc60
Add BookkeepingAllocator parameter to AllocatorList; add global expand() to common but commented out - causes trouble; small improvement in fallback_allocator; small improvements to free_list; fix in GCAllocator.expand
2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
ed5a6ca6db
allocate(0) should return null
2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
1c1131855c
Separate gc_allocator from the rest
2015-10-02 07:35:07 -04:00