| 307 | } |
| 308 | |
| 309 | uint64_t DecoderStack::list_annotation_size() |
| 310 | { |
| 311 | std::lock_guard<std::mutex> lock(_output_mutex); |
| 312 | uint64_t max_annotation_size = 0; |
| 313 | |
| 314 | for (auto it = _rows.begin(); it != _rows.end(); it++) { |
| 315 | auto iter = _rows_lshow.find((*it).first); |
| 316 | if (iter != _rows_lshow.end() && (*iter).second){ |
| 317 | max_annotation_size = max(max_annotation_size, |
| 318 | (*it).second->get_annotation_size()); |
| 319 | } |
| 320 | } |
| 321 | |
| 322 | return max_annotation_size; |
| 323 | } |
| 324 | |
| 325 | uint64_t DecoderStack::list_annotation_size(uint16_t row_index) |
| 326 | { |
no test coverage detected