/// Inc or dec the size `old` with little step.
Inc or dec the size `old` with little step.
Inc or dec the size ` old ` with little step .
fn mutate_blob_len(rng: &mut RngType, old: u64, r: RangeInclusive<u64>) -> u64 {
    let mut new = if rng.gen() {
        let delta = rng.gen_range(0..=old);
        old - delta
    } else {
        let delta = rng.gen_range(0..=16);
        old + delta
    };
    if new < *r.start() {
        new = *r.start();
    } else if new > *r.end() {
        new = *r.end();
    }
    new
}
fn mutate_blob_len ( rng : & mut RngType , old : u64 , r : RangeInclusive < u64 > ) -> u64 { let mut new = if rng . gen ( ) { let delta = rng . gen_range ( 0 ..= old ) ; old - delta } else { let delta = rng . gen_range ( 0 ..= 16 ) ; old + delta } ; if new < * r . start ( ) { new = * r . start ( ) ; } else if new > * r . end ( ) { new = * r . end ( ) ; } new }
Inc or dec the size `old` with little step.
Inc or dec the size ` old ` with little step .
rng
&mut RngType
old
u64
r
RangeInclusive<u64>