Searched refs:HumanReadableToBytes (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_util.py | 62 self.assertEqual(util.HumanReadableToBytes('1'), 1) 63 self.assertEqual(util.HumanReadableToBytes('15'), 15) 64 self.assertEqual(util.HumanReadableToBytes('15.3'), 15) 65 self.assertEqual(util.HumanReadableToBytes('15.7'), 16) 66 self.assertEqual(util.HumanReadableToBytes('1023'), 1023) 67 self.assertEqual(util.HumanReadableToBytes('1k'), 1024) 68 self.assertEqual(util.HumanReadableToBytes('2048'), 2048) 69 self.assertEqual(util.HumanReadableToBytes('1 k'), 1024) 70 self.assertEqual(util.HumanReadableToBytes('1 K'), 1024) 71 self.assertEqual(util.HumanReadableToBytes('1 KB'), 1024) [all …]
|
D | test_cp.py | 64 from gslib.util import HumanReadableToBytes 1798 sliced_download_threshold = HumanReadableToBytes(
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
D | perfdiag.py | 61 from gslib.util import HumanReadableToBytes 481 if self.num_objects * self.thru_filesize > HumanReadableToBytes('2GiB'): 1833 self.thru_filesize = HumanReadableToBytes(a) 1888 if (self.thru_filesize > HumanReadableToBytes('2GiB') and
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | copy_helper.py | 110 from gslib.util import HumanReadableToBytes 887 parallel_composite_upload_component_size = HumanReadableToBytes( 1056 parallel_composite_upload_threshold = HumanReadableToBytes(config.get( 1731 sliced_object_download_threshold = HumanReadableToBytes(config.get( 1968 sliced_download_component_size = HumanReadableToBytes(
|
D | util.py | 559 def HumanReadableToBytes(human_string): function
|