MCPcopy Index your code
hub / github.com/python/cpython / update

Method update

Lib/test/test_hashlib.py:1140–1142  ·  view source on GitHub ↗
(chunk_size)

Source from the content-addressed store, hash-verified

1138 h2 = constructor(data * num_threads, usedforsecurity=False)
1139
1140 def update(chunk_size):
1141 for index in range(0, len(data), chunk_size):
1142 h1.update(data[index:index + chunk_size])
1143
1144 threads = []
1145 for thread_num in range(num_threads):

Callers 15

build_moduleFunction · 0.45
__setstate__Method · 0.45
__init__Method · 0.45
tearDownMethod · 0.45
test_pass_fdsMethod · 0.45
writeMethod · 0.45
test_updateMethod · 0.45
test_update_setMethod · 0.45
testcodec.pyFile · 0.45
test_runpy.pyFile · 0.45
test_run_codeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected