MCPcopy Create free account
hub / github.com/docling-project/docling-parse / build_task_queue

Method build_task_queue

src/pybind/docling_threaded_base.h:431–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429
430 template<typename Derived, typename ResultType>
431 void docling_threaded_base<Derived, ResultType>::build_task_queue()
432 {
433 for(const auto& pair : key2scheduled_pages)
434 {
435 for(int page : pair.second)
436 {
437 task_queue.push(std::make_pair(pair.first, page));
438 }
439 }
440
441 tasks_remaining.store(static_cast<int>(task_queue.size()));
442 }
443
444 template<typename Derived, typename ResultType>
445 void docling_threaded_base<Derived, ResultType>::start_workers()

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected