/littlefs-3.5.0-3.4.0/scripts/ |
D | data.py | 160 diff = co.defaultdict(lambda: (0, 0, 0, 0)) 162 diff[name] = (0, new, new, 1.0) 164 _, new, _, _ = diff[name] 165 diff[name] = (old, new, new-old, (new-old)/old if old else 1.0) 166 return diff 193 def print_diff_entry(name, old, new, diff, ratio): argument 197 diff, 209 diff = diff_entries(prev_entries, entries) 211 sum(1 for old, _, _, _ in diff.values() if not old), 212 sum(1 for _, new, _, _ in diff.values() if not new))) [all …]
|
D | code.py | 161 diff = co.defaultdict(lambda: (0, 0, 0, 0)) 163 diff[name] = (0, new, new, 1.0) 165 _, new, _, _ = diff[name] 166 diff[name] = (old, new, new-old, (new-old)/old if old else 1.0) 167 return diff 194 def print_diff_entry(name, old, new, diff, ratio): argument 198 diff, 210 diff = diff_entries(prev_entries, entries) 212 sum(1 for old, _, _, _ in diff.values() if not old), 213 sum(1 for _, new, _, _ in diff.values() if not new))) [all …]
|
D | structs.py | 212 diff = co.defaultdict(lambda: (0, 0, 0, 0)) 214 diff[name] = (0, new, new, 1.0) 216 _, new, _, _ = diff[name] 217 diff[name] = (old, new, new-old, (new-old)/old if old else 1.0) 218 return diff 245 def print_diff_entry(name, old, new, diff, ratio): argument 249 diff, 261 diff = diff_entries(prev_entries, entries) 263 sum(1 for old, _, _, _ in diff.values() if not old), 264 sum(1 for _, new, _, _ in diff.values() if not new))) [all …]
|
D | coverage.py | 172 diff = co.defaultdict(lambda: (0, 0, 0, 0, 0, 0, 0)) 174 diff[name] = ( 180 _, _, new_hits, new_count, _, _, _ = diff[name] 181 diff[name] = ( 187 return diff 244 diff = diff_entries(prev_entries, entries) 246 sum(1 for _, old, _, _, _, _, _ in diff.values() if not old), 247 sum(1 for _, _, _, new, _, _, _ in diff.values() if not new))) 252 diff.items()):
|
D | stack.py | 230 diff = co.defaultdict(lambda: (None, None, None, None, 0, 0, 0, set())) 232 diff[name] = ( 239 _, _, new_frame, new_limit, _, _, _, deps = diff[name] 240 diff[name] = ( 253 return diff 342 diff = diff_entries(prev_entries, entries) 345 sum(1 for _, old, _, _, _, _, _, _ in diff.values() if old is None), 346 sum(1 for _, _, _, new, _, _, _, _ in diff.values() if new is None))) 350 sorted_diff_entries(diff.items())),
|
/littlefs-3.5.0-3.4.0/ |
D | lfs.c | 59 lfs_size_t diff = size; in lfs_bd_read() local 65 diff = lfs_min(diff, pcache->size - (off-pcache->off)); in lfs_bd_read() 66 memcpy(data, &pcache->buffer[off-pcache->off], diff); in lfs_bd_read() 68 data += diff; in lfs_bd_read() 69 off += diff; in lfs_bd_read() 70 size -= diff; in lfs_bd_read() 75 diff = lfs_min(diff, pcache->off-off); in lfs_bd_read() 82 diff = lfs_min(diff, rcache->size - (off-rcache->off)); in lfs_bd_read() 83 memcpy(data, &rcache->buffer[off-rcache->off], diff); in lfs_bd_read() 85 data += diff; in lfs_bd_read() [all …]
|
/littlefs-3.5.0-3.4.0/tests/ |
D | test_exhaustion.toml | 458 lfs_testbd_swear_t diff = wear - avgwear; 459 dev2 += diff*diff;
|