32dd1ac4e1d44382f481d0e4e22a81cbb5a66510,perfkitbenchmarker/benchmarks/fio_benchmark.py,,GetIODepths,#Any#,85

Before Change


    ValueError if FLAGS.io_depths doesn"t follow a format it recognizes.
  

  try:
    return [int(io_depths)]
  except ValueError:
    bounds = io_depths.split("-", 1)

    if len(bounds) != 2:
      raise ValueError

    return range(int(bounds[0]), int(bounds[1]) + 1)


def WriteJobFile(mount_point):
  Write a fio job file.

  Args:

After Change


  if match.group(2) is None:
    return [int(match.group(1))]
  else:
    return range(int(match.group(1)), int(match.group(3)) + 1)


def WriteJobFile(mount_point):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 32dd1ac4e1d44382f481d0e4e22a81cbb5a66510
Time: 2015-08-13
Author: nlavine@google.com
File Name: perfkitbenchmarker/benchmarks/fio_benchmark.py
Class Name:
Method Name: GetIODepths


Project Name: eth-cscs/reframe
Commit Name: 2e180b4eda979e3455df916c89cb0295370fc7d7
Time: 2018-06-07
Author: rafael.sarmiento@cscs.ch
File Name: reframe/utility/versioning.py
Class Name: _RelationalValidator
Method Name: __init__


Project Name: iskandr/fancyimpute
Commit Name: 69e3281193adeac365b0a223fbfb13eb8be2ee5e
Time: 2018-11-09
Author: alex.rubinsteyn@gmail.com
File Name: setup.py
Class Name:
Method Name: