MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / has_annotations

Method has_annotations

DSView/pv/data/decoderstack.cpp:296–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296bool DecoderStack::has_annotations(const Row &row)
297{
298 auto iter =
299 _rows.find(row);
300 if (iter != _rows.end())
301 if(0 == (*iter).second->get_max_sample())
302 return false;
303 else
304 return true;
305 else
306 return false;
307}
308
309uint64_t DecoderStack::list_annotation_size()
310{

Callers 2

paint_midMethod · 0.80
rows_sizeMethod · 0.80

Calls 2

get_max_sampleMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected