Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ __call__
Method
__call__
scripts/gdb/xmethods.py:33–36 ·
view source on GitHub ↗
(self, obj)
Source
from the content-addressed store, hash-verified
31
return
gdb.lookup_type(
"int"
)
32
33
def
__call__(self, obj):
34
return
obj[
"m_end_ptr"
].cast(self.t.pointer()) - obj[
"m_begin_ptr"
].cast(
35
self.t.pointer()
36
)
37
38
39
class
SmallVectorImplMatcher(gdb.xmethod.XMethodMatcher):
Callers
nothing calls this directly
Calls
1
cast
Method · 0.45
Tested by
no test coverage detected