Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ create_memoryview
Method
create_memoryview
Lib/multiprocessing/heap.py:331–333 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
329
util.Finalize(self, BufferWrapper._heap.free, args=(block,))
330
331
def
create_memoryview(self):
332
(arena, start, stop), size = self._state
333
return
memoryview(arena.buffer)[start:start+size]
Callers
3
__setstate__
Method · 0.80
rebuild_ctype
Function · 0.80
__setstate__
Method · 0.80
Calls
no outgoing calls
Tested by
1
__setstate__
Method · 0.64