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

Method writer

Lib/test/test_io.py:1090–1093  ·  view source on GitHub ↗
(file, barrier)

Source from the content-addressed store, hash-verified

1088 read_count = 100
1089
1090 def writer(file, barrier):
1091 barrier.wait()
1092 for _ in range(write_count):
1093 file.write("x")
1094
1095 def reader(file, barrier):
1096 barrier.wait()

Callers 15

__call__Method · 0.45
test_streamwriterMethod · 0.45
test_copyMethod · 0.45
test_pickleMethod · 0.45
_write_testMethod · 0.45
_write_error_testMethod · 0.45
test_writerowsMethod · 0.45
test_writerows_errorsMethod · 0.45

Calls 2

waitMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected