randomized_environment_offset.rs
This file
Path
src/util/randomized_environment_offset.rs
8 lines · 391 bytes · Rust
Last changed by
Dependency and MSRV update (#934)David Peterbefore adoption4d073e0
History of this fileTake it
The walk stopped after 200 commits: lines older than 0f91d0c point at it.
Bump serde from 1.0.174 to 1.0.179dependabot[bot]before adoption0f91d0c
lines 1–6why, one step back1/// Returns a string with a random length. This value will be set as an environment2/// variable to account for offset effects. See [1] for more details.3///4/// [1] Mytkowicz, 2009. Producing Wrong Data Without Doing Anything Obviously Wrong!.5/// Sigplan Notices - SIGPLAN. 44. 265-276. 10.1145/1508284.1508275.6pub fn value() -> String {Dependency and MSRV update (#934)David Peterbefore adoption4d073e0
line 7why, one step back7 "X".repeat(rand::random_range(0..4096))Bump serde from 1.0.174 to 1.0.179dependabot[bot]before adoption0f91d0c
line 8why, one step back8}