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

Function bit_width

cpp/src/arrow/type.h:197–197  ·  view source on GitHub ↗

\brief Returns the type's fixed bit width, if any. Returns -1 for non-fixed-width types, and should only be used for subclasses of FixedWidthType

Source from the content-addressed store, hash-verified

195 /// for non-fixed-width types, and should only be used for
196 /// subclasses of FixedWidthType
197 virtual int bit_width() const { return -1; }
198
199 // \brief EXPERIMENTAL: Enable retrieving shared_ptr<DataType> from a const
200 // context.

Callers 11

MaybeMergeNumericTypesFunction · 0.70
layoutFunction · 0.70
TESTFunction · 0.50
Log2Function · 0.50
default_type_instanceFunction · 0.50
CommonNumericFunction · 0.50
CalculateMaskFunction · 0.50
WriteIndicesMethod · 0.50
FlushBlockMethod · 0.50

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.40
default_type_instanceFunction · 0.40