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

Method sizeof

Lib/test/test_free_threading/test_io.py:94–96  ·  view source on GitHub ↗
(barrier, b, *ignore)

Source from the content-addressed store, hash-verified

92 b.__setstate__(st)
93
94 def sizeof(barrier, b, *ignore):
95 barrier.wait()
96 getsizeof(b)
97
98 self.check([write] * 10, self.ioclass())
99 self.check([writelines] * 10, self.ioclass())

Callers 13

test_from_formatMethod · 0.80
test_linux_ext_suffixMethod · 0.80
is_underalignedFunction · 0.80
_killMethod · 0.80
_is_gui_availableFunction · 0.80
wintypes.pyFile · 0.80
_get_module_handlesFunction · 0.80
_layout.pyFile · 0.80
get_layoutFunction · 0.80
_new_valueFunction · 0.80
RawValueFunction · 0.80

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected