Commit 385be2e
authored
Update rand dependencies, and fallout from that. (#1764)
Update rand dependencies.
This is 98% changing functions/methods to the new names, but there are
two places where the change is a tiny bit more.
To address #1763, we now
use rand::random_bool(0.25). This should result in no functional
difference, if I've used the proper lossy boolean.
There were a few places where we picked a random usize, then % by
4096. Instead of that, we do a random_range(0..4096)1 parent 4c0952c commit 385be2e
File tree
19 files changed
+184
-162
lines changed- crutest/src
- downstairs/src
- dsc/src
- hammer/src
- integration_tests/src
- measure_iops/src
- upstairs/src
- workspace-hack
19 files changed
+184
-162
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
354 | | - | |
| 353 | + | |
355 | 354 | | |
356 | 355 | | |
357 | 356 | | |
| |||
914 | 913 | | |
915 | 914 | | |
916 | 915 | | |
917 | | - | |
| 916 | + | |
918 | 917 | | |
919 | 918 | | |
920 | | - | |
| 919 | + | |
921 | 920 | | |
922 | 921 | | |
923 | 922 | | |
| |||
0 commit comments