Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeroIntensity/pointers.py
/ sizeof
Function
sizeof
src/pointers/bindings.py:1099–1103 ·
view source on GitHub ↗
(obj: Any)
Source
from the content-addressed store, hash-verified
1097
1098
1099
def
sizeof(obj: Any) -> int:
1100
try
:
1101
return
ctypes.sizeof(obj)
1102
except
TypeError:
1103
return
ctypes.sizeof(get_mapped(obj))
Callers
nothing calls this directly
Calls
1
get_mapped
Function · 0.85
Tested by
no test coverage detected