Bcaa

mallocator code ENDS

Members

Aliases

TKey
alias TKey = KeyType!K
Undocumented in source.
allocator
alias allocator = Allocator.instance
Undocumented in source.
opIndex
alias opIndex = get
Undocumented in source.

Functions

byKey
auto byKey()
Undocumented in source. Be warned that the author may not have intended to support it.
byKeyValue
auto byKeyValue()
Undocumented in source. Be warned that the author may not have intended to support it.
byValue
auto byValue()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
copy
auto copy()
Undocumented in source. Be warned that the author may not have intended to support it.
findSlotInsert
inout(Bucket)* findSlotInsert(size_t hash)
Undocumented in source. Be warned that the author may not have intended to support it.
findSlotLookup
inout(Bucket)* findSlotLookup(size_t hash, K key)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
get
V get(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
grow
void grow()
Undocumented in source. Be warned that the author may not have intended to support it.
keys
K[] keys()

returning slice must be deallocated like Allocator.dispose(keys);

opApply
int opApply(int delegate(AAPair!(K, V)) @(nogc) nothrow dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(AAPair!(K, V)) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
V* opBinaryRight(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(V value, K key)
Undocumented in source. Be warned that the author may not have intended to support it.
rehash
void rehash()
Undocumented in source. Be warned that the author may not have intended to support it.
remove
bool remove(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(K key, V val)
Undocumented in source. Be warned that the author may not have intended to support it.
shrink
void shrink()
Undocumented in source. Be warned that the author may not have intended to support it.
values
V[] values()

returning slice must be deallocated like Allocator.dispose(values);

Properties

dim
size_t dim [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
mask
size_t mask [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
auto opDispatch [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
opDispatch
V opDispatch [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

BCAARange
struct BCAARange(B, alias rangeType)
Undocumented in source.
Bucket
struct Bucket
Undocumented in source.
Node
struct Node
Undocumented in source.

Variables

deleted
uint deleted;
Undocumented in source.
firstUsed
uint firstUsed;
Undocumented in source.
tkey
TKey tkey;
Undocumented in source.
used
uint used;
Undocumented in source.

Meta