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

Method __int__

cpp/gdb_arrow.py:910–919  ·  view source on GitHub ↗

The underlying bigint value.

(self)

Source from the content-addressed store, hash-verified

908 return words
909
910 def __int__(self):
911 """
912 The underlying bigint value.
913 """
914 v = 0
915 words = self.words
916 bits_per_word = self.traits.bit_width // len(words)
917 for w in reversed(words):
918 v = (v << bits_per_word) + w
919 return v
920
921 def format(self, precision, scale):
922 """

Callers

nothing calls this directly

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected