MCPcopy Create free account
hub / github.com/apache/nuttx / compare_dump_line

Function compare_dump_line

tools/parsememdump.py:79–96  ·  view source on GitHub ↗
(dump_line_list, str)

Source from the content-addressed store, hash-verified

77
78
79def 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
99def multi_thread_executer(cmd):

Callers 1

parsememdump.pyFile · 0.85

Calls 2

dump_lineClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected