mutils v0.0.2 (2017-12-08T12:44:38Z)
Dub
Repo
BucketAllocator.BucketsArray
mutils
container_shared
shared_allocator
BucketAllocator
Undocumented in source.
class
BucketAllocator
(uint bucketSize)
static
struct
BucketsArray {
@
nogc
Bucket
[
bucketsNum
]
buckets
;
@
nogc
shared
Bucket
*
empty
;
void
initialize
();
uint
freeSlots
();
uint
usedSlots
();
}
Members
Functions
freeSlots
uint
freeSlots
()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void
initialize
()
Undocumented in source. Be warned that the author may not have intended to support it.
usedSlots
uint
usedSlots
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
buckets
Bucket
[
bucketsNum
]
buckets
;
Undocumented in source.
empty
Bucket
*
empty
;
Undocumented in source.
Meta
Source
See Implementation
mutils
container_shared
shared_allocator
BucketAllocator
aliases
BucketArraysType
constructors
this
destructors
~this
functions
allocate
deallocate
dispose
extend
make
usedSlots
manifest constants
bucketsNum
structs
Bucket
BucketsArray
variables
bucketArrays
oldData