MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / init

Method init

DSView/pv/data/decoderstack.cpp:372–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void DecoderStack::init()
373{
374 _sample_count = 0;
375 _samples_decoded = 0;
376 _error_message = QString();
377 _no_memory = false;
378 _snapshot = NULL;
379 _result_count = 0;
380
381 for (auto i = _rows.begin();i != _rows.end(); i++) {
382 (*i).second->clear();
383 }
384
385 set_mark_index(-1);
386}
387
388void DecoderStack::stop_decode_work()
389{

Callers

nothing calls this directly

Calls 2

endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected