MCPcopy Index your code
hub / github.com/RustPython/RustPython / run_method

Method run_method

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

Source from the content-addressed store, hash-verified

2690 comp = ZstdCompressor()
2691 output = [comp.compress(input, ZstdCompressor.FLUSH_BLOCK)]
2692 def run_method(method, input_data, output_data):
2693 res = method(input_data, ZstdCompressor.FLUSH_BLOCK)
2694 if res:
2695 output_data.append(res)
2696 threads = []
2697
2698 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