MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / __call__

Method __call__

scripts/gdb/xmethods.py:19–20  ·  view source on GitHub ↗
(self, obj, i)

Source from the content-addressed store, hash-verified

17 return self.t
18
19 def __call__(self, obj, i):
20 return (obj["m_begin_ptr"].cast(self.t.pointer()) + i).dereference()
21
22
23class SmallVectorImplWorker_size(gdb.xmethod.XMethodWorker):

Callers

nothing calls this directly

Calls 1

castMethod · 0.45

Tested by

no test coverage detected