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

Method check

Lib/test/test_linecache.py:399–409  ·  view source on GitHub ↗
(funcs)

Source from the content-addressed store, hash-verified

397 linecache.getline(name, 1)
398
399 def check(funcs):
400 barrier = threading.Barrier(len(funcs))
401 threads = []
402
403 for func in funcs:
404 thread = threading.Thread(target=func, args=(barrier,))
405
406 threads.append(thread)
407
408 with threading_helper.start_threads(threads):
409 pass
410
411 check([linecache_get_line] * 20)
412

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
BarrierMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected