MCPcopy Create free account
hub / github.com/YACReader/yacreader / onRawDataReady

Method onRawDataReady

YACReader/continuous_page_provider.cpp:201–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void ContinuousPageProvider::onRawDataReady(int page)
202{
203 if (page >= 0) {
204 rawDataReady.insert(page);
205 }
206
207 if (page < requestedFirst || page > requestedLast) {
208 return;
209 }
210 if (cache.contains(page) || pending.contains(page)) {
211 return;
212 }
213 scheduleDecode(page);
214}
215
216void ContinuousPageProvider::scheduleDecode(int pageIndex)
217{

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected