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

Method GetCharArray

cpp/src/parquet/stream_reader_test.cc:48–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 static bool GetBool(const int i) { return i % 7 < 3; }
47 static char GetChar(const int i) { return i & 1 ? 'M' : 'F'; }
48 static std::array<char, 4> GetCharArray(const int i) {
49 return {'X', 'Y', 'Z', char('A' + i % 26)};
50 }
51 static int8_t GetInt8(const int i) { return static_cast<int8_t>((i % 256) - 128); }
52 static uint16_t GetUInt16(const int i) { return static_cast<uint16_t>(i); }
53 static int32_t GetInt32(const int i) { return 3 * i - 17; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected