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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

for_evaluationFunction · 0.85

Tested by

no test coverage detected