Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ vector_item
Function
vector_item
scripts/gdb/commands.py:46–48 ·
view source on GitHub ↗
(vector, i)
Source
from the content-addressed store, hash-verified
44
45
46
def
vector_item(vector, i):
47
impl = vector[
"_M_impl"
]
48
return
(impl[
"_M_start"
] + i).dereference()
49
50
51
def
shared_ptr_deref(ptr):
Callers
1
invoke
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected