vibe.internal.allocator 4/4(100%) line coverage

      
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
1625
1725
182
1925
200
module vibe.internal.allocator; public import std.experimental.allocator : allocatorObject, CAllocatorImpl, dispose, expandArray, IAllocator, make, makeArray, shrinkArray, theAllocator; public import std.experimental.allocator.building_blocks.allocator_list; public import std.experimental.allocator.building_blocks.null_allocator; public import std.experimental.allocator.building_blocks.region; public import std.experimental.allocator.building_blocks.stats_collector; public import std.experimental.allocator.gc_allocator; public import std.experimental.allocator.mallocator; // NOTE: this needs to be used instead of theAllocator due to Phobos issue 17564 @property IAllocator vibeThreadAllocator() @safe nothrow @nogc { static IAllocator s_threadAllocator; if (!s_threadAllocator) s_threadAllocator = () @trusted { return allocatorObject(GCAllocator.instance); } (); return s_threadAllocator; }