MCPcopy Create free account
hub / github.com/DFHack/dfhack / inAnyRange

Function inAnyRange

plugins/devel/vectors.cpp:87–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87static bool inAnyRange(vector<t_memrange> &ranges, void * ptr)
88{
89 for (size_t i = 0; i < ranges.size(); i++)
90 {
91 if (ranges[i].isInRange(ptr))
92 return true;
93 }
94
95 return false;
96}
97
98static bool getRanges(color_ostream &out, std::vector<t_memrange> &out_ranges)
99{

Callers 3

printVecFunction · 0.85
df_vectorsFunction · 0.85
df_clearvecFunction · 0.85

Calls 2

isInRangeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected