Home
last modified time | relevance | path

Searched refs:w (Results 1 – 13 of 13) sorted by relevance

/littlefs-latest/scripts/
Dstack.py470 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
471 for w, i in zip(
484 ' '.join('%*s' % (w, x)
485 for w, x in zip(widths[1:], lines[0][1:-1])),
507 ' '.join('%*s' % (w, x)
508 for w, x in zip(widths[1:], line[1:-1])),
532 ' '.join('%*s' % (w, x)
533 for w, x in zip(widths[1:], lines[-1][1:-1])),
Dperf.py832 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
833 for w, i in zip(
845 ' '.join('%*s' % (w, x)
846 for w, x in zip(widths[1:], lines[0][1:-1])),
881 ' '.join('%*s' % (w, x)
882 for w, x in zip(
901 ' '.join('%*s' % (w, x)
902 for w, x in zip(widths[1:], line[1:-1])),
916 ' '.join('%*s' % (w, x)
917 for w, x in zip(widths[1:], lines[-1][1:-1])),
Dperfbd.py798 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
799 for w, i in zip(
811 ' '.join('%*s' % (w, x)
812 for w, x in zip(widths[1:], lines[0][1:-1])),
847 ' '.join('%*s' % (w, x)
848 for w, x in zip(
867 ' '.join('%*s' % (w, x)
868 for w, x in zip(widths[1:], line[1:-1])),
882 ' '.join('%*s' % (w, x)
883 for w, x in zip(widths[1:], lines[-1][1:-1])),
Dtracebd.py133 w = abs(a_x+a_y)
142 for _ in range(w):
148 if w == 1:
159 if 2*w > 3*h:
161 if w_ % 2 != 0 and w > 2:
308 w = min(
315 c = wear_chars[int(w * (len(wear_chars)-1))]
316 f.append(wear_colors[int(w * (len(wear_colors)-1))])
Dplot.py91 def si(x, w=4): argument
101 s = '%.*f' % (w, abs(x) / (10.0**p))
105 s = s[:max(s.find('.'), w-(2 if x < 0 else 1))]
110 def si2(x, w=5): argument
120 s = '%.*f' % (w, abs(x) / (2.0**p))
124 s = s[:max(s.find('.'), w-(3 if x < 0 else 2))]
1076 widths = [m.floor(w*width_) for w in grid.xweights]
1077 heights = [m.floor(w*height_) for w in grid.yweights]
Dstructs.py453 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
454 for w, i in zip(
462 ' '.join('%*s' % (w, x)
463 for w, x in zip(widths[1:], line[1:-1])),
Ddata.py505 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
506 for w, i in zip(
514 ' '.join('%*s' % (w, x)
515 for w, x in zip(widths[1:], line[1:-1])),
Dcode.py505 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
506 for w, i in zip(
514 ' '.join('%*s' % (w, x)
515 for w, x in zip(widths[1:], line[1:-1])),
Dwatch.py158 w, h = shutil.get_terminal_size((80, 5))
162 struct.pack('HHHH', h, w, 0, 0))
Dsummary.py539 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
540 for w, i in zip(
548 ' '.join('%*s' % (w, x)
549 for w, x in zip(widths[1:], line[1:-1])),
Dcov.py492 ((max(it.chain([w], (len(l[i]) for l in lines)))+1+4-1)//4)*4-1
493 for w, i in zip(
501 ' '.join('%*s' % (w, x)
502 for w, x in zip(widths[1:], line[1:-1])),
/littlefs-latest/
DDESIGN.md695 word width (![w]) result in more storage overhead.
697 ![B = (w/8)ceil(log2(2^w / (B-2w/8)))][ctz-formula2]
718 up until our given size. Let ![B][bigB] be the block size in bytes, ![w] be the
722 ![N = sum,i,0->n(B-(w/8)(ctz(i)+1))][ctz-formula3]
753 ![N = Bn - (w/8)(2n-popcount(n))][ctz-formula5]
762 ![n = floor((N-(w/8)popcount(N/(B-2w/8))) / (B-2w/8))][ctz-formula6]
768 ![off = N - (B-2w/8)n - (w/8)popcount(n)][ctz-formula7]
2168 [w]: https://latex.codecogs.com/svg.latex?w
/littlefs-latest/tests/
Dtest_paths.toml5916 lfs_mkdir(&lfs, "c o f f e e/c o l d b r e w") => 0;
5926 lfs_file_open(&lfs, &file, "c o f f e e/c o l d b r e w",
5948 lfs_stat(&lfs, "c o f f e e/c o l d b r e w", &info) => 0;
5949 assert(strcmp(info.name, "c o l d b r e w") == 0);
5969 lfs_file_open(&lfs, &file, "c o f f e e/c o l d b r e w",
5982 lfs_file_open(&lfs, &file, "c o f f e e/c o l d b r e w",
5995 lfs_file_open(&lfs, &file, "c o f f e e/c o l d b r e w",
6010 lfs_file_open(&lfs, &file, "c o f f e e/c o l d b r e w",
6029 lfs_file_open(&lfs, &file, "c o f f e e/c o l d b r e w",
6047 lfs_file_open(&lfs, &file, "c o f f e e/c o l d b r e w",
[all …]