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

Method getEncoderTrackData

arch/ibm/encoder.cc:93–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 }
92
93 void getEncoderTrackData(IbmEncoderProto::TrackdataProto& trackdata,
94 unsigned track,
95 unsigned head)
96 {
97 trackdata.Clear();
98 for (const auto& f : _config.trackdata())
99 {
100 if (f.has_track() && (f.track() != track))
101 continue;
102 if (f.has_head() && (f.head() != head))
103 continue;
104
105 trackdata.MergeFrom(f);
106 }
107 }
108
109public:
110 std::unique_ptr<Fluxmap> encode(const LogicalTrackLayout& ltl,

Callers

nothing calls this directly

Calls 2

headMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected