vox.utils

Modules

arena
module vox.utils.arena
arenapool
module vox.utils.arenapool
array
module vox.utils.array
arrayarena
module vox.utils.arrayarena
buffer
module vox.utils.buffer
har
module vox.utils.har
hash
module vox.utils.hash
mem
module vox.utils.mem
numfmt
module vox.utils.numfmt
textsink
module vox.utils.textsink
time_measure
module vox.utils.time_measure
windows
module vox.utils.windows

Public Imports

vox.utils.arena
public import vox.utils.arena;
Undocumented in source.
vox.utils.arenapool
public import vox.utils.arenapool;
Undocumented in source.
vox.utils.array
public import vox.utils.array;
Undocumented in source.
vox.utils.arrayarena
public import vox.utils.arrayarena;
Undocumented in source.
vox.utils.buffer
public import vox.utils.buffer;
Undocumented in source.
vox.utils.hash
public import vox.utils.hash;
Undocumented in source.
vox.utils.mem
public import vox.utils.mem;
Undocumented in source.
vox.utils.numfmt
public import vox.utils.numfmt;
Undocumented in source.
vox.utils.textsink
public import vox.utils.textsink;
Undocumented in source.
vox.utils.time_measure
public import vox.utils.time_measure;
Undocumented in source.

Members

Enums

PrintAscii
enum PrintAscii
Undocumented in source.

Functions

alignValue
T alignValue(T value, T alignment)

alignment is POT

bitmask
ulong bitmask(size_t n)
Undocumented in source. Be warned that the author may not have intended to support it.
bitsSet
BitsSet!T bitsSet(T[] bitmap)
Undocumented in source. Be warned that the author may not have intended to support it.
currTime
MonoTime currTime()
Undocumented in source. Be warned that the author may not have intended to support it.
divCeil
T divCeil(T a, T b)
Undocumented in source. Be warned that the author may not have intended to support it.
gatherEnumStrings
string[] gatherEnumStrings()
Undocumented in source. Be warned that the author may not have intended to support it.
getBitAt
bool getBitAt(T[] bitmap, size_t at)
Undocumented in source. Be warned that the author may not have intended to support it.
isPowerOfTwo
bool isPowerOfTwo(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
nextPOT
T nextPOT(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
paddingSize
T paddingSize(T address, T alignment)

alignment is POT

printHex
void printHex(ubyte[] buffer, size_t lineLength, PrintAscii printAscii, const(char)[] indentStr, uint indentation)
Undocumented in source. Be warned that the author may not have intended to support it.
removeInPlace
T[] removeInPlace(T[] array, T what)
Undocumented in source. Be warned that the author may not have intended to support it.
resetBitAt
bool resetBitAt(T[] bitmap, size_t at)
Undocumented in source. Be warned that the author may not have intended to support it.
roundUp
T roundUp(T value, T multiple)

multiple can be NPOT

setBitAt
bool setBitAt(T[] bitmap, size_t at)
Undocumented in source. Be warned that the author may not have intended to support it.

Imports

Duration (from core.time)
public import core.time : MonoTime, Duration, usecs, dur;
Undocumented in source.
MonoTime (from core.time)
public import core.time : MonoTime, Duration, usecs, dur;
Undocumented in source.
bsr (from core.bitop)
public import core.bitop : bsr, popcnt;
Undocumented in source.
dur (from core.time)
public import core.time : MonoTime, Duration, usecs, dur;
Undocumented in source.
enforce (from std.exception)
public import std.exception : enforce;
Undocumented in source.
enumerate (from std.range)
public import std.range : enumerate;
Undocumented in source.
format (from std.string)
public import std.string : format;
Undocumented in source.
formattedWrite (from std.format)
public import std.format : formattedWrite;
Undocumented in source.
map (from std.algorithm)
public import std.algorithm : min, max, swap, map;
Undocumented in source.
max (from std.algorithm)
public import std.algorithm : min, max, swap, map;
Undocumented in source.
min (from std.algorithm)
public import std.algorithm : min, max, swap, map;
Undocumented in source.
parseHar (from vox.utils.har)
public import vox.utils.har : parseHar;
Undocumented in source.
popcnt (from core.bitop)
public import core.bitop : bsr, popcnt;
Undocumented in source.
stdout (from std.stdio)
public import std.stdio : stdout, write, writef, writeln, writefln;
Undocumented in source.
swap (from std.algorithm)
public import std.algorithm : min, max, swap, map;
Undocumented in source.
to (from std.conv)
public import std.conv : to;
Undocumented in source.
usecs (from core.time)
public import core.time : MonoTime, Duration, usecs, dur;
Undocumented in source.
write (from std.stdio)
public import std.stdio : stdout, write, writef, writeln, writefln;
Undocumented in source.
writef (from std.stdio)
public import std.stdio : stdout, write, writef, writeln, writefln;
Undocumented in source.
writefln (from std.stdio)
public import std.stdio : stdout, write, writef, writeln, writefln;
Undocumented in source.
writeln (from std.stdio)
public import std.stdio : stdout, write, writef, writeln, writefln;
Undocumented in source.

Manifest constants

PAGE_SIZE
enum PAGE_SIZE;
Undocumented in source.

Structs

BitsSet
struct BitsSet(T)
Undocumented in source.
FileDataSlicer
struct FileDataSlicer
Undocumented in source.

Variables

GiB
enum ulong GiB;
Undocumented in source.

Meta

Authors

Andrey Penechko.