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

Method get

tests/cpmfs.cc:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 }
31
32 std::shared_ptr<const Sector> get(
33 unsigned track, unsigned side, unsigned sectorId) override
34 {
35 auto s = _image.get(track, side, sectorId);
36 if (!s)
37 error("missing sector c{}.h{}.s{}", track, side, sectorId);
38 return s;
39 }
40
41 std::shared_ptr<Sector> put(
42 unsigned track, unsigned side, unsigned sectorId) override

Callers 8

getbyteFunction · 0.45
test_getsetFunction · 0.45
test_readFunction · 0.45
getBlockFunction · 0.45
testBitmapFunction · 0.45
testPutGetFunction · 0.45
testDefaultIntValueFunction · 0.45
testOverriddenIntValueFunction · 0.45

Calls 1

errorFunction · 0.85

Tested by 2

test_getsetFunction · 0.36
test_readFunction · 0.36