OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MakeHumanReadable
(Results
1 - 9
of
9
) sorted by null
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
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')
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)))
[
all
...]
/external/chromium-trace/catapult/third_party/gsutil/gslib/
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),
util.py
533
def
MakeHumanReadable
(num):
[
all
...]
copy_helper.py
113
from gslib.util import
MakeHumanReadable
[
all
...]
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
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)
[
all
...]
du.py
30
from gslib.util import
MakeHumanReadable
142
size_string = (
MakeHumanReadable
(num_bytes)
168
size_string = (
MakeHumanReadable
(obj.size)
ls.py
32
from gslib.util import
MakeHumanReadable
325
size_string = (
MakeHumanReadable
(obj.size)
475
(total_objs, total_bytes,
MakeHumanReadable
(float(total_bytes))))
cp.py
41
from gslib.util import
MakeHumanReadable
[
all
...]
Completed in 1969 milliseconds