d6ef26173d1f2e65ec65570683e8ca43d054c8d4,perfkitbenchmarker/providers/azure/azure_disk.py,AzureDisk,_Create,#AzureDisk#,105

Before Change


                    str(self.disk_size)]
      vm_util.IssueRetryableCommand(create_cmd)

      if self.vm_name not in AzureDisk.num_disks:
        AzureDisk.num_disks[self.vm_name] = 0
      self.lun = AzureDisk.num_disks[self.vm_name]
      AzureDisk.num_disks[self.vm_name] += 1
      self.created = True

After Change



  def _Create(self):
    Creates the disk.
    assert not self.is_image

    if self.disk_type == PREMIUM_STORAGE:
      assert FLAGS.azure_storage_type == azure_flags.PLRS
    else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: d6ef26173d1f2e65ec65570683e8ca43d054c8d4
Time: 2016-09-20
Author: nlavine@google.com
File Name: perfkitbenchmarker/providers/azure/azure_disk.py
Class Name: AzureDisk
Method Name: _Create


Project Name: openai/gym
Commit Name: e84bd0ffe1f98efca057dde34244a82fa6486090
Time: 2016-10-21
Author: colin.morris2@gmail.com
File Name: gym/envs/algorithmic/algorithmic_env.py
Class Name: AlgorithmicEnv
Method Name: _step


Project Name: facebookresearch/ParlAI
Commit Name: f21d001eb7f15fbd466930752bd1929d70cefc97
Time: 2020-09-04
Author: roller@fb.com
File Name: parlai/agents/ir_baseline/ir_baseline.py
Class Name: IrBaselineAgent
Method Name: build_query_representation