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

Method advanceToNextRecord

arch/smaky6/decoder.cc:95–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 nanoseconds_t advanceToNextRecord() override
96 {
97 if (_sectorIndex == _sectorStarts.size())
98 {
99 seekToIndexMark();
100 return 0;
101 }
102
103 const auto& p = _sectorStarts[_sectorIndex++];
104 _sectorId = p.first;
105 seek(p.second);
106
107 nanoseconds_t clock = seekToPattern(SECTOR_PATTERN);
108 _sector->headerStartTime = tell().ns();
109
110 return clock;
111 }
112
113 void decodeSectorRecord() override
114 {

Callers

nothing calls this directly

Calls 2

nsMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected