Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/telemetry/telemetry/core/
Dmemory_cache_http_server.py73 total_num_of_bytes = resource['content-length']
74 byte_range = self.GetByteRange(total_num_of_bytes)
80 total_num_of_bytes))
81 total_num_of_bytes = byte_range.to_byte - byte_range.from_byte + 1
85 self.send_header('Content-Length', str(total_num_of_bytes))
94 def GetByteRange(self, total_num_of_bytes): argument
126 total_num_of_bytes - 1)
129 total_num_of_bytes - to_byte)
138 if to_byte < from_byte or to_byte >= total_num_of_bytes:
139 to_byte = total_num_of_bytes - 1