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

Method getTrackFormat

arch/ibm/decoder.cc:222–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221private:
222 void getTrackFormat(IbmDecoderProto::TrackdataProto& trackdata,
223 unsigned track,
224 unsigned head) const
225 {
226 trackdata.Clear();
227 for (const auto& f : _config.trackdata())
228 {
229 if (f.has_track() && (f.track() != track))
230 continue;
231 if (f.has_head() && (f.head() != head))
232 continue;
233
234 trackdata.MergeFrom(f);
235 }
236 }
237
238private:
239 const IbmDecoderProto& _config;

Callers

nothing calls this directly

Calls 2

headMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected