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

Method run_method

Lib/test/test_zstd.py:2691–2694  ·  view source on GitHub ↗
(method, input_data, output_data)

Source from the content-addressed store, hash-verified

2689 comp = ZstdCompressor()
2690 output = [comp.compress(input, ZstdCompressor.FLUSH_BLOCK)]
2691 def run_method(method, input_data, output_data):
2692 res = method(input_data, ZstdCompressor.FLUSH_BLOCK)
2693 if res:
2694 output_data.append(res)
2695 threads = []
2696
2697 for i in range(num_threads):

Callers

nothing calls this directly

Calls 3

methodFunction · 0.85
appendMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected