Home
last modified time | relevance | path

Searched refs:count (Results 1 – 11 of 11) sorted by relevance

/littlefs-3.5.0-3.4.0/scripts/
Dcoverage.py51 hits, count = reduced_funcs[(file, func)]
52 reduced_funcs[(file, func)] = (hits + (line_hits > 0), count + 1)
55 for (file, func), (hits, count) in reduced_funcs.items():
63 results.append((file, func, hits, count))
107 for _, _, hits, count in results:
109 total_count += count
128 for _, _, hits, count in prev_results:
130 prev_total_count += count
152 for file, func, hits, count in results:
154 merged_results[(file, func)]['coverage_count'] = count
[all …]
Dprefix.py43 count = 0
48 count += n
57 count)
Dreadmdir.py211 it.count()))
Dtest.py359 for cycles in it.count(1):
/littlefs-3.5.0-3.4.0/tests/
Dtest_alloc.toml287 int count = 0;
294 count += 1;
304 for (int i = 0; i < count; i++) {
315 for (int i = 0; i < count+1; i++) {
431 int count = 0;
438 count += 1;
452 for (int i = 0; i < count+1; i++) {
Dtest_move.toml359 int count = 0;
364 count += 1;
370 count += 1;
376 count += 1;
382 count += 1;
384 assert(count <= 1);
822 int count = 0;
826 count += 1;
831 count += 1;
836 count += 1;
[all …]
/littlefs-3.5.0-3.4.0/
DSPEC.md53 .-| revision count | entries | \
82 Each metadata block contains a 32-bit revision count followed by a number of
93 1. **Revision count (32-bits)** - Incremented every erase cycle. If both blocks
94 contain valid commits, only the block with the most recent revision count
113 | revision count | | | revision count |
146 .-| revision count | tag ~A | \
371 ^ ^ ^ ^ ^- version ^- block size ^- block count
395 4. **Block count (32-bits)** - Number of blocks in the filesystem.
751 the first commit, this includes the revision count for the metadata block.
Dlfs.c1117 dir->count = tempcount; in lfs_dir_fetchmatch()
1217 *id = lfs_min(lfs_tag_id(besttag), dir->count); in lfs_dir_fetchmatch()
1222 } else if (lfs_tag_id(besttag) < dir->count) { in lfs_dir_fetchmatch()
1639 dir->count = 0; in lfs_dir_alloc()
1876 dir->count = end - begin; in lfs_dir_compact()
2023 dir->count += 1; in lfs_dir_relocatingcommit()
2025 LFS_ASSERT(dir->count > 0); in lfs_dir_relocatingcommit()
2026 dir->count -= 1; in lfs_dir_relocatingcommit()
2037 if (hasdelete && dir->count == 0) { in lfs_dir_relocatingcommit()
2127 dir, 0, dir->count); in lfs_dir_relocatingcommit()
[all …]
DREADME.md71 // read current count
76 // update boot count
87 // print the boot count
Dlfs.h334 uint16_t count; member
DDESIGN.md318 revision count that we compare using [sequence arithmetic][wikipedia-sna]
320 revision count also gives us a rough idea of how many erases have occurred on
418 the revision count. Because we can commit multiple entries at once, we can
421 entries and revision count become committed and readable.
620 interesting properties of the count-trailing-zeros (CTZ) instruction.