- addressDead
bool addressDead(Entity root, size_t[] address)
Undocumented in source. Be warned that the author may not have intended to support it.
- addressFromArr
Address* addressFromArr(size_t[] address)
Undocumented in source. Be warned that the author may not have intended to support it.
- addressToArr
size_t[] addressToArr(const(Address)* address)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyNoRemoveDeps
void applyNoRemoveDeps(Entity root)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyNoRemoveMagic
void applyNoRemoveMagic(Entity root)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyNoRemoveRules
void applyNoRemoveRules(Entity root, RemoveRule[] removeRules)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyReduction
Entity applyReduction(Entity origRoot, Reduction r)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyReductionImpl
Entity applyReductionImpl(Entity origRoot, Reduction r)
Apply a reduction to this tree, and return the resulting tree.
The original tree remains unchanged.
Copies only modified parts of the tree, and whatever references them.
- applyReductionToPath
string applyReductionToPath(string path, Reduction reduction)
Undocumented in source. Be warned that the author may not have intended to support it.
- assignID
void assignID(Entity e)
Undocumented in source. Be warned that the author may not have intended to support it.
- autoRetry
void autoRetry(void delegate() fun, const(char)[] operation)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkDescendants
size_t checkDescendants(Entity e)
Undocumented in source. Be warned that the author may not have intended to support it.
- convertRefs
void convertRefs(Entity root)
Undocumented in source. Be warned that the author may not have intended to support it.
- cowRange
auto cowRange(E[] arr)
An output range which only allocates a new copy on the first write
that's different from a given original copy.
- createStrategy
Strategy createStrategy(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- deleteAny
void deleteAny(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
- dirSuffix
string dirSuffix(string suffix)
Undocumented in source. Be warned that the author may not have intended to support it.
- dump
void dump(Entity root, Writer writer)
Undocumented in source. Be warned that the author may not have intended to support it.
- dumpSet
void dumpSet(Entity root, string fn)
Undocumented in source. Be warned that the author may not have intended to support it.
- dumpToHtml
void dumpToHtml(Entity root, string fn)
Undocumented in source. Be warned that the author may not have intended to support it.
- entityAt
Entity entityAt(Entity root, size_t[] address)
Undocumented in source. Be warned that the author may not have intended to support it.
- equal
bool equal(const(Address)* a, const(Address)* b)
Return true if these two addresses are the same
(they point to the same node).
- findAddressAtLevel
bool findAddressAtLevel(size_t[] address, Entity root)
Find the first address at the depth of address.length,
and populate address[] accordingly.
Return false if no address at that level could be found.
- findEntity
FindResult findEntity(Entity root, const(Address)* addr)
Undocumented in source. Be warned that the author may not have intended to support it.
- fuzz
void fuzz(Entity root)
Undocumented in source. Be warned that the author may not have intended to support it.
- getMaxBreadth
size_t getMaxBreadth(Entity e)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadCoverage
void loadCoverage(Entity root, string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
- main
int main(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
- measure
void measure(void delegate() p)
Undocumented in source. Be warned that the author may not have intended to support it.
- nextAddress
bool nextAddress(size_t[] address, Entity root, bool descend)
Find the next address, starting from the given one
(going depth-first). Update address accordingly.
If descend is false, then skip addresses under the given one.
Return false if no more addresses could be found.
- nextAddressInLevel
bool nextAddressInLevel(size_t[] address, Entity root)
Find the next address at the depth of address.length,
and update address[] accordingly.
Return false if no more addresses at that level could be found.
- obfuscate
void obfuscate(Entity root, bool keepLength)
Undocumented in source. Be warned that the author may not have intended to support it.
- recalculate
void recalculate(Entity root)
Update computed fields for dirty nodes
- reduce
void reduce(Entity root)
Undocumented in source. Be warned that the author may not have intended to support it.
- reduceByStrategy
void reduceByStrategy(Strategy strategy)
Undocumented in source. Be warned that the author may not have intended to support it.
- require
V require(V[K] aa, K key, V value)
Polyfill for object.require
- resetProgress
void resetProgress(Entity root)
Undocumented in source. Be warned that the author may not have intended to support it.
- safeDelete
void safeDelete(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
- safeMkdir
void safeMkdir(char[] path)
Undocumented in source. Be warned that the author may not have intended to support it.
- safeRename
void safeRename(string src, string dst)
Undocumented in source. Be warned that the author may not have intended to support it.
- safeReplace
void safeReplace(string path, void delegate(string path) creator)
Undocumented in source. Be warned that the author may not have intended to support it.
- safeSave
void safeSave(Entity root, string savedir)
Undocumented in source. Be warned that the author may not have intended to support it.
- save
void save(Entity root, string savedir)
Undocumented in source. Be warned that the author may not have intended to support it.
- saveResult
void saveResult(Entity root)
Undocumented in source. Be warned that the author may not have intended to support it.
- saveTrace
void saveTrace(Entity root, Reduction[] reductions, string dir, bool result)
Undocumented in source. Be warned that the author may not have intended to support it.
- startsWith
bool startsWith(const(Address)* haystack, const(Address)* needle)
Returns true if the haystack address starts with the needle address,
i.e. the entity that needle points at is a child of the entity that haystack points at.
- test
TestResult test(Entity root, Reduction[] reductions)
Undocumented in source. Be warned that the author may not have intended to support it.
- tryReduction
bool tryReduction(Entity root, Reduction r)
Try specified reduction. If it succeeds, apply it permanently and save intermediate result.
DustMite, a general-purpose data reduction tool Written by Vladimir Panteleev <vladimir@thecybershadow.net>