MCPcopy Create free account
hub / github.com/apache/arrow / __init__

Method __init__

cpp/gdb_arrow.py:381–388  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

379 """
380
381 def __init__(self, val):
382 self.val = val
383 try:
384 # libstdc++ internals
385 self._ptr = val['_M_ptr']
386 except gdb.error:
387 # fallback for other C++ standard libraries
388 self._ptr = gdb.parse_and_eval(f"{for_evaluation(val)}.get()")
389
390 def get(self):
391 """

Callers

nothing calls this directly

Calls 1

for_evaluationFunction · 0.85

Tested by

no test coverage detected