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

Method words

cpp/gdb_arrow.py:896–908  ·  view source on GitHub ↗

The decimal words, from least to most significant.

(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

byte_orderFunction · 0.85
unpackMethod · 0.45

Tested by

no test coverage detected