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

Method from_value

cpp/gdb_arrow.py:880–885  ·  view source on GitHub ↗

Create a decimal from a gdb.Value representing the corresponding arrow::BasicDecimal{32,64,128,256...}.

(cls, val)

Source from the content-addressed store, hash-verified

878
879 @classmethod
880 def from_value(cls, val):
881 """
882 Create a decimal from a gdb.Value representing the corresponding
883 arrow::BasicDecimal{32,64,128,256...}.
884 """
885 return cls(val[cls.traits.storage_member].address)
886
887 @classmethod
888 def from_address(cls, address):

Callers 2

to_stringMethod · 0.80
to_stringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected