| 1221 | } |
| 1222 | |
| 1223 | bool LogicSnapshot::pattern_search(int64_t start, int64_t end, int64_t& index, |
| 1224 | std::map<uint16_t, QString> &pattern, bool isNext) |
| 1225 | { |
| 1226 | std::lock_guard<std::mutex> lock(_mutex); |
| 1227 | |
| 1228 | start += _loop_offset; |
| 1229 | end += _loop_offset; |
| 1230 | index += _loop_offset; |
| 1231 | _ring_sample_count += _loop_offset; |
| 1232 | |
| 1233 | bool flag = pattern_search_self(start, end, index, pattern, isNext); |
| 1234 | |
| 1235 | index -= _loop_offset; |
| 1236 | _ring_sample_count -= _loop_offset; |
| 1237 | return flag; |
| 1238 | } |
| 1239 | |
| 1240 | bool LogicSnapshot::pattern_search_self(int64_t start, int64_t end, int64_t &index, |
| 1241 | std::map<uint16_t, QString> &pattern, bool isNext) |
no outgoing calls
no test coverage detected