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

Function ByteArrayFromString

cpp/src/parquet/statistics_test.cc:71–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69// Test comparators
70
71static ByteArray ByteArrayFromString(const std::string& s) {
72 auto ptr = reinterpret_cast<const uint8_t*>(s.data());
73 return ByteArray(static_cast<uint32_t>(s.size()), ptr);
74}
75
76static FLBA FLBAFromString(const std::string& s) {
77 auto ptr = reinterpret_cast<const uint8_t*>(s.data());

Callers 1

TESTFunction · 0.85

Calls 3

ByteArrayClass · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected