Home
last modified time | relevance | path

Searched refs:byte_range (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
Djob.py62 def get_output(self, byte_range=None, validate_checksum=False): argument
89 byte_range)
97 actual_tree_hash, response['TreeHash'], byte_range))
150 byte_range = ((i * chunk_size), ((i + 1) * chunk_size) - 1)
152 byte_range, retry_exceptions)
159 actual_tree_hash, expected_tree_hash, byte_range))
162 def _download_byte_range(self, byte_range, retry_exceptions): argument
168 response = self.get_output(byte_range)
176 "byte range %s: %s" % (byte_range,
Dlayer1.py661 def get_job_output(self, vault_name, job_id, byte_range=None): argument
735 if byte_range:
736 headers = {'Range': 'bytes=%d-%d' % byte_range}
1194 tree_hash, byte_range, part_data): argument
1274 'Content-Range': 'bytes %d-%d/*' % byte_range}
Dvault.py302 description=None, byte_range=None, argument
339 if byte_range is not None:
340 job_data['RetrievalByteRange'] = byte_range
Dconcurrent.py254 byte_range = (start_byte, start_byte + len(contents) - 1)
259 byte_range, contents)
415 byte_range = (start_byte, start_byte + part_size - 1)
417 response = self._job.get_output(byte_range)
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dmemory_cache_http_server.py47 if not resource_range.byte_range:
51 start_index = resource_range.byte_range.from_byte
52 end_index = resource_range.byte_range.to_byte
74 byte_range = self.GetByteRange(total_num_of_bytes)
75 if byte_range:
79 (byte_range.from_byte, byte_range.to_byte,
81 total_num_of_bytes = byte_range.to_byte - byte_range.from_byte + 1
92 return ResourceAndRange(resource, byte_range)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
Dtest_job.py44 self.job.get_output(byte_range=(1, 1024), validate_checksum=True)
54 self.job.get_output(byte_range=(1, 1024), validate_checksum=True)
56 self.job.get_output(byte_range=(1, 1024), validate_checksum=False)
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dhttp_wrapper.py164 byte_range, _, _ = range_spec.partition('/')
165 start, _, end = byte_range.partition('-')