(dump_line_list, str)
| 77 | |
| 78 | |
| 79 | def compare_dump_line(dump_line_list, str): |
| 80 | t = dump_line(str) |
| 81 | if t.err: |
| 82 | return |
| 83 | |
| 84 | if dump_line_list.__len__() == 0: |
| 85 | dump_line_list.append(t) |
| 86 | return |
| 87 | |
| 88 | find = 0 |
| 89 | for line in dump_line_list: |
| 90 | if line.mem == t.mem and line.size == t.size and t.mem != []: |
| 91 | find = 1 |
| 92 | line.cnt += 1 |
| 93 | break |
| 94 | |
| 95 | if find == 0: |
| 96 | dump_line_list.append(t) |
| 97 | |
| 98 | |
| 99 | def multi_thread_executer(cmd): |
no test coverage detected