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/ |
D | test_utils.py | 30 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)))
|
D | test_writer.py | 37 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/ |
D | writer.py | 27 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))
|
D | utils.py | 74 def chunk_hashes(bytestring, chunk_size=_MEGABYTE): function 162 return bytes_to_hex(tree_hash(chunk_hashes(str_as_bytes)))
|
D | concurrent.py | 32 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)))
|