Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
Dtest_utils.py30 from boto.glacier.utils import minimum_part_size, chunk_hashes, tree_hash, \
67 chunks = chunk_hashes(b'a' * (2 * 1024 * 1024))
73 chunks = chunk_hashes(bytestring)
80 chunks = chunk_hashes(b'aaaa')
91 calculated = bytes_to_hex(tree_hash(chunk_hashes(bytestring)))
Dtest_writer.py37 from boto.glacier.utils import bytes_to_hex, chunk_hashes, tree_hash
66 chunk_hashes(data_part, chunk_size))
199 chunk_hashes(part_data, self.chunk_size))
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
Dwriter.py27 from boto.glacier.utils import chunk_hashes, tree_hash, bytes_to_hex
117 part_tree_hash = tree_hash(chunk_hashes(part_data, self.chunk_size))
195 part_tree_hash = tree_hash(chunk_hashes(part_data, chunk_size))
Dutils.py74 def chunk_hashes(bytestring, chunk_size=_MEGABYTE): function
162 return bytes_to_hex(tree_hash(chunk_hashes(str_as_bytes)))
Dconcurrent.py32 chunk_hashes, tree_hash, bytes_to_hex
253 tree_hash_bytes = tree_hash(chunk_hashes(contents))
419 actual_hash = bytes_to_hex(tree_hash(chunk_hashes(data)))