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

Method bit_width

cpp/src/arrow/type.cc:1114–1114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1112std::string LargeStringType::ToString(bool show_metadata) const { return "large_string"; }
1113
1114int FixedSizeBinaryType::bit_width() const { return CHAR_BIT * byte_width(); }
1115
1116Result<std::shared_ptr<DataType>> FixedSizeBinaryType::Make(int32_t byte_width) {
1117 if (byte_width < 0) {

Callers 15

test_bit_widthMethod · 0.45
test_bit_widthMethod · 0.45
test_bit_widthMethod · 0.45
RecordBatchToTensorFunction · 0.45
GetCOOIndexTensorRowFunction · 0.45
MakeMethod · 0.45
bit_widthFunction · 0.45
WidenDecimalsFunction · 0.45
type_test.ccFile · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

byte_widthFunction · 0.70

Tested by 9

test_bit_widthMethod · 0.36
test_bit_widthMethod · 0.36
test_bit_widthMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
CheckDLTensorFunction · 0.36
MakeRandomTensorFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36