Home
last modified time | relevance | path

Searched refs:total_parts (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
Dconcurrent.py57 total_parts = int(math.ceil(total_size / float(part_size)))
58 return total_parts, part_size
68 def _add_work_items_to_queue(self, total_parts, worker_queue, part_size): argument
70 for i in range(total_parts):
130 total_parts, part_size = self._calculate_required_part_size(total_size)
131 hash_chunks = [None] * total_parts
142 self._add_work_items_to_queue(total_parts, worker_queue, part_size)
147 total_parts)
160 def _wait_for_upload_threads(self, hash_chunks, result_queue, total_parts): argument
161 for _ in range(total_parts):
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
Dtest_concurrent.py41 def _wait_for_upload_threads(self, hash_chunks, result_queue, total_parts): argument
42 for i in range(total_parts):
51 def _wait_for_download_threads(self, filename, result_queue, total_parts): argument
69 total_parts, part_size = uploader._calculate_required_part_size(
71 self.assertEqual(total_parts, 2)
79 total_parts, part_size = uploader._calculate_required_part_size(
81 self.assertEqual(total_parts, 256)