MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / clear

Method clear

lib/data/image.cc:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void Image::clear()
20{
21 _sectors.clear();
22 _geometry = {0, 0, 0};
23}
24
25bool Image::empty() const
26{

Callers 15

beginTrackMethod · 0.45
decodeDataRecordMethod · 0.45
writeImageMethod · 0.45
mountMethod · 0.45
mountMethod · 0.45
discardChangesMethod · 0.45
mountMethod · 0.45
initMethod · 0.45
mountMethod · 0.45
mountMethod · 0.45
pushRecordMethod · 0.45
readImageMethod · 0.45

Calls

no outgoing calls

Tested by 7

test_physical_sectorsFunction · 0.36
test_logical_sectorsFunction · 0.36
test_both_sectorsFunction · 0.36
test_skewFunction · 0.36
test_boundsFunction · 0.36
test_sectoroffsetsFunction · 0.36
test_option_validityFunction · 0.36