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

Method GetName

cpp/src/arrow/util/bpacking_test.cc:262–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260struct UnpackTypeNames {
261 template <typename T>
262 static std::string GetName(int) {
263 if constexpr (std::is_same_v<T, bool>) return "bool";
264 if constexpr (std::is_same_v<T, uint8_t>) return "uint8_t";
265 if constexpr (std::is_same_v<T, uint16_t>) return "uint16_t";
266 if constexpr (std::is_same_v<T, uint32_t>) return "uint32_t";
267 if constexpr (std::is_same_v<T, uint64_t>) return "uint64_t";
268 }
269};
270
271TYPED_TEST_SUITE(TestUnpack, UnpackTypes, UnpackTypeNames);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected