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

Method words

cpp/gdb_arrow.py:891–903  ·  view source on GitHub ↗

The decimal words, from least to most significant.

(self)

Source from the content-addressed store, hash-verified

889
890 @property
891 def words(self):
892 """
893 The decimal words, from least to most significant.
894 """
895 mem = gdb.selected_inferior().read_memory(self.address,
896 self.traits.bit_width // 8)
897 fmt = self.traits.struct_format_le
898 if byte_order() == 'big':
899 fmt = fmt[::-1]
900 words = struct.unpack(f"={fmt}", mem)
901 if byte_order() == 'big':
902 words = words[::-1]
903 return words
904
905 def __int__(self):
906 """

Callers

nothing calls this directly

Calls 2

byte_orderFunction · 0.85
unpackMethod · 0.45

Tested by

no test coverage detected