MCPcopy Create free account
hub / github.com/bigbigmdm/IMSProg / foreach

Function foreach

IMSProg_programmer/chunks.cpp:181–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179bool Chunks::dataChanged(qint64 pos)
180{
181 foreach (Chunk chunk, _chunks)
182 {
183 if (pos >= chunk.absPos && pos < (chunk.absPos + chunk.dataChanged.size()))
184 {
185 return bool(chunk.dataChanged.at(pos - chunk.absPos));
186 }
187 }
188 return false;
189}
190

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected