gbaid.util

Undocumented in source.

Members

Aliases

Int8to32Types
alias Int8to32Types = AliasSeq!(byte, ubyte, short, ushort, int, uint)
Undocumented in source.
IntAlignMask
alias IntAlignMask(T) = Alias!(~((1 << IntSizeLog2!T) - 1))
Undocumented in source.
IsInt8to32Type
alias IsInt8to32Type(T) = Alias!(staticIndexOf!(T, Int8to32Types) >= 0)
Undocumented in source.

Classes

NullPathException
class NullPathException
Undocumented in source.
Timer
class Timer
Undocumented in source.

Functions

addAll
void addAll(V[K] to, V[K] from)
Undocumented in source. Be warned that the author may not have intended to support it.
borrowedSub
bool borrowedSub(int a, int b, int c)
Undocumented in source. Be warned that the author may not have intended to support it.
carriedAdd
bool carriedAdd(int a, int b, int c)
Undocumented in source. Be warned that the author may not have intended to support it.
checkBit
bool checkBit(int i, int b)
Undocumented in source. Be warned that the author may not have intended to support it.
expandPath
string expandPath(string relative)
Undocumented in source. Be warned that the author may not have intended to support it.
getBit
int getBit(int i, int b)
Undocumented in source. Be warned that the author may not have intended to support it.
getBits
int getBits(int i, int a, int b)
Undocumented in source. Be warned that the author may not have intended to support it.
getSafe
T getSafe(T[] array, int index, T def)
Undocumented in source. Be warned that the author may not have intended to support it.
mirror
int mirror(byte b)
Undocumented in source. Be warned that the author may not have intended to support it.
mirror
int mirror(short s)
Undocumented in source. Be warned that the author may not have intended to support it.
nextPowerOf2
int nextPowerOf2(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
overflowedAdd
bool overflowedAdd(int a, int b, int c)
Undocumented in source. Be warned that the author may not have intended to support it.
overflowedSub
bool overflowedSub(int a, int b, int c)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAll
void removeAll(V[K] to, V[K] from)
Undocumented in source. Be warned that the author may not have intended to support it.
rotateRight
int rotateRight(int i, int shift)
Undocumented in source. Be warned that the author may not have intended to support it.
setBit
void setBit(int i, int b, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
setBits
void setBits(int i, int a, int b, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
sign
int sign(long v)
Undocumented in source. Be warned that the author may not have intended to support it.
toDString
string toDString(inout(char)[] cs)
Undocumented in source. Be warned that the author may not have intended to support it.
toDString
string toDString(inout(char)* cs)
Undocumented in source. Be warned that the author may not have intended to support it.
toDString
string toDString(inout(char)* cs, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
ucast
uint ucast(byte v)
Undocumented in source. Be warned that the author may not have intended to support it.
ucast
uint ucast(short v)
Undocumented in source. Be warned that the author may not have intended to support it.
ucast
ulong ucast(int v)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

declareFields
mixintemplate declareFields(T, bool private_, string name, alias init, uint count)
Undocumented in source.

Templates

IntSizeLog2
template IntSizeLog2(T)
Undocumented in source.

Variables

BYTES_PER_KIB
enum uint BYTES_PER_KIB;
Undocumented in source.
BYTES_PER_MIB
enum uint BYTES_PER_MIB;
Undocumented in source.

Meta