Searched refs:MakeHumanReadable (Results 1 – 9 of 9) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_util.py | 38 self.assertEqual(util.MakeHumanReadable(0), '0 B') 39 self.assertEqual(util.MakeHumanReadable(1023), '1023 B') 40 self.assertEqual(util.MakeHumanReadable(1024), '1 KiB') 41 self.assertEqual(util.MakeHumanReadable(1024 ** 2), '1 MiB') 42 self.assertEqual(util.MakeHumanReadable(1024 ** 3), '1 GiB') 43 self.assertEqual(util.MakeHumanReadable(1024 ** 3 * 5.3), '5.3 GiB') 44 self.assertEqual(util.MakeHumanReadable(1024 ** 4 * 2.7), '2.7 TiB') 45 self.assertEqual(util.MakeHumanReadable(1024 ** 5), '1 PiB') 46 self.assertEqual(util.MakeHumanReadable(1024 ** 6), '1 EiB')
|
D | test_cp.py | 66 from gslib.util import MakeHumanReadable 89 self._halt_at_byte, MakeHumanReadable(total_bytes_transferred), 90 MakeHumanReadable(total_size))) 115 MakeHumanReadable(total_bytes_transferred), 116 MakeHumanReadable(total_size))) 138 MakeHumanReadable(total_bytes_transferred), 139 MakeHumanReadable(total_size))) 192 MakeHumanReadable(total_bytes_transferred), 193 MakeHumanReadable(total_size)))
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | progress_callback.py | 20 from gslib.util import MakeHumanReadable 159 total_size_string = '/%s' % MakeHumanReadable(total_size) 167 MakeHumanReadable(last_byte_processed - self._start_byte),
|
D | util.py | 533 def MakeHumanReadable(num): function
|
D | copy_helper.py | 113 from gslib.util import MakeHumanReadable 2749 MakeHumanReadable(S3_MAX_UPLOAD_SIZE)))
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
D | perfdiag.py | 64 from gslib.util import MakeHumanReadable 575 MakeHumanReadable(self.thru_filesize))) 586 % (MakeHumanReadable(self.thru_filesize * self.num_objects), 587 MakeHumanReadable(free_disk_space))) 700 readable_file_size = MakeHumanReadable(file_size) 887 MakeHumanReadable(self.thru_filesize))) 969 MakeHumanReadable(self.thru_filesize))) 1525 print MakeHumanReadable(numbytes).rjust(9), '', 1529 print MakeHumanReadable(numbytes).rjust(9), '', 1533 print MakeHumanReadable(numbytes).rjust(9), '', [all …]
|
D | du.py | 30 from gslib.util import MakeHumanReadable 142 size_string = (MakeHumanReadable(num_bytes) 168 size_string = (MakeHumanReadable(obj.size)
|
D | ls.py | 32 from gslib.util import MakeHumanReadable 325 size_string = (MakeHumanReadable(obj.size) 475 (total_objs, total_bytes, MakeHumanReadable(float(total_bytes))))
|
D | cp.py | 41 from gslib.util import MakeHumanReadable 959 MakeHumanReadable(self.total_bytes_per_second))
|