Commit graph

32 commits

Author SHA1 Message Date
ZombineDev
ce938fe432 Add attributes to most functions in allocator.mallocator and allocator.common.
Also made the style more consistent.
2016-02-03 17:33:24 +02:00
Basile Burg
0c513b1c15 allowed Mallocator to be used in nogc functions 2015-12-05 23:41:26 +01:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Andrei Alexandrescu
ec8f916555 Change unittest for roundUpToAlignment 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
5cce2a1c30 Reduce unittests' pressure on resources 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
f38dab3d9e Fix roundUpToAlignment 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
cce6aafa1b Rebase and solve conflicts 2015-10-02 07:35:09 -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
Hackerpilot
d18098ff74 Add Ternary constructor 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
5d6f68297d Small adjustments post https://github.com/andralex/phobos/pull/11 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
e613d2973c Fix documentation of truth table for Ternary 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
b7f4600a67 Replace HeapBlock with the more descriptive BitmappedBlock 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
13612a5355 Reorg of modules: typed, package, building_blocks 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
f2abd5b220 Fix flaky unittest 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
a13bdbb837 Add showcase.d; now Region supports allocation from the end or beginning 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
dafe9fa546 Remove uninteresting primitive zeroesAllocation 2015-10-02 07:35:08 -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
5adf023876 Better isPowerOf2, add package attrribute to a few items 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
0b15a81947 Branchless isPowerOf2 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
c00b5885c1 Improvements and fixes in affix_allocator; fix in isPowerOf2; fix alignment in scoped_allocator 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
e3b6e3ee78 Fixes in affix_allocator, workaround in common and mallocator 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
5d88d9b6e3 Many fixes and improvements to allocator_list.d; nuke KRAllocator in favor of AllocatorList!KRBlock (noice). 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
399aaea68b Better region.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
0d6ae0459d HeapBlock now takes an allocator as a parameter 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
b5c9863b03 Define and use forwardToMember 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
e7ffe33977 Changes prompted by https://github.com/D-Programming-Language/dmd/pull/2885 and isnan->isNaN 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
1c1131855c Separate gc_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
2aa08c2711 Separate null_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
61c90dd5ac Rebase 2015-10-02 07:33:43 -04:00