Home
last modified time | relevance | path

Searched refs:len (Results 1 – 20 of 20) sorted by relevance

/littlefs-3.7.0-3.6.0/scripts/
Dplot.py182 if len(lines) > 1 and self.tail.getvalue():
206 while LinesIO.canvas_lines < len(self.lines):
211 shrink = LinesIO.canvas_lines - len(self.lines)
221 LinesIO.canvas_lines = len(self.lines)
226 if len(self.lines)-1-i > 0:
227 sys.stdout.write('\x1b[%dA' % (len(self.lines)-1-i))
232 if len(self.lines)-1-i > 0:
233 sys.stdout.write('\x1b[%dB' % (len(self.lines)-1-i))
542 k_x = x_ if len(x or []) > 1 else ''
543 k_y = y_ if len(y or []) > 1 or (not ks_ and not k_x) else ''
[all …]
Dplotmpl.py288 k_x = x_ if len(x or []) > 1 else ''
289 k_y = y_ if len(y or []) > 1 or (not ks_ and not k_x) else ''
322 return len(self.xweights)
326 return len(self.yweights)
334 x += len(self.xweights)
336 y += len(self.yweights)
357 if self_i < len(self_xweights) else m.inf)
359 if other_i < len(other_xweights) else m.inf)
360 while self_i < len(self_xweights) and other_i < len(other_xweights):
365 new_i = len(new_xweights)-1
[all …]
Dtracebd.py68 if len(lines) > 1 and self.tail.getvalue():
92 while LinesIO.canvas_lines < len(self.lines):
97 shrink = LinesIO.canvas_lines - len(self.lines)
107 LinesIO.canvas_lines = len(self.lines)
112 if len(self.lines)-1-i > 0:
113 sys.stdout.write('\x1b[%dA' % (len(self.lines)-1-i))
118 if len(self.lines)-1-i > 0:
119 sys.stdout.write('\x1b[%dB' % (len(self.lines)-1-i))
263 return self.wear / max(max_wear, len(wear_chars))
283 if len(chars) < len(CHARS):
[all …]
Dtailpipe.py46 if len(lines) > 1 and self.tail.getvalue():
70 while LinesIO.canvas_lines < len(self.lines):
75 shrink = LinesIO.canvas_lines - len(self.lines)
85 LinesIO.canvas_lines = len(self.lines)
90 if len(self.lines)-1-i > 0:
91 sys.stdout.write('\x1b[%dA' % (len(self.lines)-1-i))
96 if len(self.lines)-1-i > 0:
97 sys.stdout.write('\x1b[%dB' % (len(self.lines)-1-i))
Dwatch.py82 if len(lines) > 1 and self.tail.getvalue():
106 while LinesIO.canvas_lines < len(self.lines):
111 shrink = LinesIO.canvas_lines - len(self.lines)
121 LinesIO.canvas_lines = len(self.lines)
126 if len(self.lines)-1-i > 0:
127 sys.stdout.write('\x1b[%dA' % (len(self.lines)-1-i))
132 if len(self.lines)-1-i > 0:
133 sys.stdout.write('\x1b[%dB' % (len(self.lines)-1-i))
Dbench.py79 for i in range(len(v)):
150 self.name = self.name[:-len('.toml')]
273 if len(suites) > 1:
330 % (case.name, len(suite.defines)))
396 % (case.name, len(suite.defines)))
422 len(suite.defines)))
427 'BENCH_IMPLICIT_DEFINE_COUNT+%d,' % len(suite.defines))
436 % len(case.permutations))
448 f.writeln(4*' '+'.case_count = %d,' % len(suite.cases))
628 suite = suite[:-len('.toml')]
[all …]
Dtest.py82 for i in range(len(v)):
153 self.name = self.name[:-len('.toml')]
281 if len(suites) > 1:
338 % (case.name, len(suite.defines)))
404 % (case.name, len(suite.defines)))
433 len(suite.defines)))
438 'TEST_IMPLICIT_DEFINE_COUNT+%d,' % len(suite.defines))
450 % len(case.permutations))
462 f.writeln(4*' '+'.case_count = %d,' % len(suite.cases))
645 suite = suite[:-len('.toml')]
[all …]
Dperfbd.py210 if len(sym_at_) == 0 or sym_at_[-1][0] != addr:
280 if len(lines_) == 0 or lines_[-1][0] != file or lines[-1][1] != line:
288 if len(line_at_) == 0 or line_at_[-1][0] != addr:
371 for i in range(len(last_stack)):
490 elif len(last_stack) == 0:
524 if propagate and len(last_stack) >= propagate:
550 jobs = len(os.sched_getaffinity(0))
798 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
801 range(len(lines[0])-1))]
839 is_last = (i == len(names_)-1)
[all …]
Dreadmdir.py33 if len(args) == 1:
35 elif len(args) == 3:
174 if len(blocks) > 1:
201 while len(block) - off >= 4:
216 if tag.is_('fcrc') and len(tag.data) == 8:
325 for i in range(0, len(tag.data), 16):
367 if len(mdir.pair) > 1 else '',
Dperf.py302 if len(sym_at_) == 0 or sym_at_[-1][0] != addr:
372 if len(lines_) == 0 or lines_[-1][0] != file or lines[-1][1] != line:
380 if len(line_at_) == 0 or line_at_[-1][0] != addr:
435 for i in range(len(last_stack)):
560 if propagate and len(last_stack) >= propagate:
604 jobs = len(os.sched_getaffinity(0))
832 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
835 range(len(lines[0])-1))]
873 is_last = (i == len(names_)-1)
878 len(prefixes[0+is_last])
[all …]
Dsummary.py33 'mean': lambda xs: Float(sum(float(x) for x in xs) / len(xs)),
36 m.sqrt(sum((float(x) - mean)**2 for x in xs) / len(xs)))
37 )(sum(float(x) for x in xs) / len(xs)),
38 'gmean': lambda xs: Float(m.prod(float(x) for x in xs)**(1/len(xs))),
41 m.exp(m.sqrt(sum(m.log(float(x)/gmean)**2 for x in xs) / len(xs)))
43 )(m.prod(float(x) for x in xs)**(1/len(xs))),
539 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
542 range(len(lines[0])-1))]
Dreadtree.py144 ' ' if j == len(dir)-1 else
145 'v' if k == len(lines)-1 else
Dstack.py470 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
473 range(len(lines[0])-1))]
496 is_last = (i == len(names_)-1)
501 len(prefixes[0+is_last])
Dprettyasserts.py231 if self.off < len(self.tokens):
422 for i in range(p.off, len(p.tokens)):
Dcov.py295 len(line['branches']))))
492 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
495 range(len(lines[0])-1))]
Dstructs.py453 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
456 range(len(lines[0])-1))]
Ddata.py505 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
508 range(len(lines[0])-1))]
Dcode.py505 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
508 range(len(lines[0])-1))]
/littlefs-3.7.0-3.6.0/runners/
Dtest_runner.c852 size_t len = strlen(test_suites[i].name); in list_suites() local
853 if (len > name_width) { in list_suites()
854 name_width = len; in list_suites()
916 size_t len = strlen(test_suites[i].cases[j].name); in list_cases() local
917 if (len > name_width) { in list_cases()
918 name_width = len; in list_cases()
972 size_t len = strlen(test_suites[i].name); in list_suite_paths() local
973 if (len > name_width) { in list_suite_paths()
974 name_width = len; in list_suite_paths()
1015 size_t len = strlen(test_suites[i].cases[j].name); in list_case_paths() local
[all …]
Dbench_runner.c823 size_t len = strlen(bench_suites[i].name); in list_suites() local
824 if (len > name_width) { in list_suites()
825 name_width = len; in list_suites()
885 size_t len = strlen(bench_suites[i].cases[j].name); in list_cases() local
886 if (len > name_width) { in list_cases()
887 name_width = len; in list_cases()
939 size_t len = strlen(bench_suites[i].name); in list_suite_paths() local
940 if (len > name_width) { in list_suite_paths()
941 name_width = len; in list_suite_paths()
982 size_t len = strlen(bench_suites[i].cases[j].name); in list_case_paths() local
[all …]