/littlefs-3.7.0-3.6.0/scripts/ |
D | cov.py | 315 for r in results: 316 if all(getattr(r, k) in vs for k, vs in defines): 317 results_.append(r) 322 for r in results: 323 name = tuple(getattr(r, k) for k in by) 326 folding[name].append(r) 358 ','.join(str(getattr(r, k) or '') for k in by): r 359 for r in results} 361 ','.join(str(getattr(r, k) or '') for k in by): r 362 for r in diff_results or []} [all …]
|
D | perfbd.py | 380 r, p, e, children = results_[name] 382 r, p, e, children = 0, 0, 0, {} 384 r+last_readed, 533 for name, (r, p, e, children) in results.items(): 535 r, p, e, 611 for r in results: 612 if all(getattr(r, k) in vs for k, vs in defines): 613 results_.append(r) 618 for r in results: 619 name = tuple(getattr(r, k) for k in by) [all …]
|
D | structs.py | 230 for r in results_: 234 os.path.abspath(r.file) == os.path.abspath(s) 241 os.path.abspath(r.file)]) == os.getcwd(): 245 if not internal and not r.file.endswith('.h'): 251 os.path.abspath(r.file)]) == os.getcwd(): 252 file = os.path.relpath(r.file) 254 file = os.path.abspath(r.file) 256 results.append(r._replace(file=file)) 276 for r in results: 277 if all(getattr(r, k) in vs for k, vs in defines): [all …]
|
D | code.py | 271 for r in results_: 276 if r.function in defs: 277 file = defs[r.function] 283 r.function, False).ratio()) 285 file = r.file 308 results.append(r._replace(file=file)) 328 for r in results: 329 if all(getattr(r, k) in vs for k, vs in defines): 330 results_.append(r) 335 for r in results: [all …]
|
D | perf.py | 576 for name, (r, children) in results.items(): 578 **{events[k]: v for k, v in r.items()}, 645 for r in results: 646 if all(getattr(r, k) in vs for k, vs in defines): 647 results_.append(r) 652 for r in results: 653 name = tuple(getattr(r, k) for k in by) 656 folding[name].append(r) 665 for r in folded: 666 folded_.append(r._replace(children=fold( [all …]
|
D | summary.py | 252 for r in results: 253 for k, v in r.items(): 272 for r in results: 275 by.update((k, True) for k in r.keys() 291 for r in results: 292 if k in r and r[k].strip(): 294 t(r[k]) 312 def __new__(cls, **r): argument 314 **{k: r.get(k, '') for k in by}, 315 **{k: r[k] if k in r and isinstance(r[k], list) [all …]
|
D | data.py | 271 for r in results_: 276 if r.function in defs: 277 file = defs[r.function] 283 r.function, False).ratio()) 285 file = r.file 308 results.append(r._replace(file=file)) 328 for r in results: 329 if all(getattr(r, k) in vs for k, vs in defines): 330 results_.append(r) 335 for r in results: [all …]
|
D | stack.py | 168 r'([^\\]*)\\n([^:]*)[^\\]*\\n([0-9]+) bytes \((.*)\)') 291 for r in results: 292 if all(getattr(r, k) in vs for k, vs in defines): 293 results_.append(r) 298 for r in results: 299 name = tuple(getattr(r, k) for k in by) 302 folding[name].append(r) 336 ','.join(str(getattr(r, k) or '') for k in by): r 337 for r in results} 339 ','.join(str(getattr(r, k) or '') for k in by): r [all …]
|
D | plotmpl.py | 199 for r in reader: 200 results.append(r) 205 for r in results: 209 if old_k in r: 210 r_[new_k] = r[old_k] 211 r.update(r_) 219 for r in results: 221 if not all(k in r and r[k] in vs for k, vs in define): 226 if x not in r: 229 x_ = dat(r[x]) [all …]
|
D | plot.py | 453 for r in reader: 454 results.append(r) 459 for r in results: 463 if old_k in r: 464 r_[new_k] = r[old_k] 465 r.update(r_) 473 for r in results: 475 if not all(k in r and r[k] in vs for k, vs in define): 480 if x not in r: 483 x_ = dat(r[x]) [all …]
|
D | bench.py | 101 m = re.search(r'\brange\b\s*\(' 973 for r in runners: 974 r.start() 977 while any(r.is_alive() for r in runners): 987 for r in runners: 988 r.join()
|
D | test.py | 104 m = re.search(r'\brange\b\s*\(' 981 for r in runners: 982 r.start() 985 while any(r.is_alive() for r in runners): 995 for r in runners: 996 r.join()
|
D | prettyasserts.py | 34 'ws': [r'(?:\s|\n|#.*?\n|//.*?\n|/\*.*?\*/)+'], 37 'string': [r'"(?:\\.|[^"])*"', r"'(?:\\.|[^'])\'"],
|
/littlefs-3.7.0-3.6.0/tests/ |
D | test_exhaustion.toml | 66 char r; 67 lfs_file_read(&lfs, &file, &r, 1) => 1; 68 assert(r == c); 156 char r; 157 lfs_file_read(&lfs, &file, &r, 1) => 1; 158 assert(r == c); 255 char r; 256 lfs_file_read(&lfs, &file, &r, 1) => 1; 257 assert(r == c); 352 char r; [all …]
|
/littlefs-3.7.0-3.6.0/ |
D | lfs_util.h | 130 uint32_t r = 0; in lfs_npw2() 133 s = (a > 0xffff) << 4; a >>= s; r |= s; in lfs_npw2() 134 s = (a > 0xff ) << 3; a >>= s; r |= s; in lfs_npw2() 135 s = (a > 0xf ) << 2; a >>= s; r |= s; in lfs_npw2() 136 s = (a > 0x3 ) << 1; a >>= s; r |= s; in lfs_npw2() 137 return (r | (a >> 1)) + 1; in lfs_npw2()
|
D | DESIGN.md | 514 If we let ![r] be the ratio of static space to the size of our log in bytes, we 517 ![s = r (size/n)][metadata-formula2] 519 ![d = (1 - r) (size/n)][metadata-formula3] 524 ![cost = n + n (r (size/n) / ((1-r) (size/n) + 1))][metadata-formula4] 2148 [metadata-formula2]: https://latex.codecogs.com/svg.latex?s%20%3D%20r%20%5Cfrac%7Bsize%7D%7Bn%7D 2149 [metadata-formula3]: https://latex.codecogs.com/svg.latex?d%20%3D%20%281-r%29%20%5Cfrac%7Bsize%7D%7… 2150 …cost%20%3D%20n%20+%20n%20%5Cfrac%7Br%5Cfrac%7Bsize%7D%7Bn%7D%7D%7B%281-r%29%5Cfrac%7Bsize%7D%… 2166 [r]: https://latex.codecogs.com/svg.latex?r
|
D | lfs.c | 1094 int r = 0; in lfs_dir_fetchmatch() local 1106 r = i; in lfs_dir_fetchmatch() 1110 dir->pair[0] = pair[(r+0)%2]; in lfs_dir_fetchmatch() 1111 dir->pair[1] = pair[(r+1)%2]; in lfs_dir_fetchmatch() 1112 dir->rev = revs[(r+0)%2]; in lfs_dir_fetchmatch() 1292 dir->rev = revs[(r+1)%2]; in lfs_dir_fetchmatch()
|