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

Function findSectors

src/gui2/summaryview.cc:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68static std::set<std::shared_ptr<const Sector>> findSectors(
69 const Disk& disk, unsigned physicalCylinder, unsigned physicalHead)
70{
71 std::set<std::shared_ptr<const Sector>> sectors;
72
73 auto [startIt, endIt] = disk.sectorsByPhysicalLocation.equal_range(
74 {physicalCylinder, physicalHead});
75 for (auto it = startIt; it != endIt; it++)
76 sectors.insert(it->second);
77
78 return sectors;
79}
80
81struct TrackAnalysis
82{

Callers 1

analyseTrackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected