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

Function ToNative

cpp/src/arrow/util/endian.h:229–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227// Convert little endian array to native endian
228template <typename T, size_t N>
229static inline std::array<T, N> ToNative(std::array<T, N> array) {
230 if (!ARROW_LITTLE_ENDIAN) {
231 std::reverse(array.begin(), array.end());
232 }
233 return array;
234}
235
236// Convert native endian array to little endian
237template <typename T, size_t N>

Callers 7

basic_decimal.ccFile · 0.85
FromNativeFunction · 0.85
DecimalFromStringFunction · 0.85
FromBigEndianMethod · 0.85
GenericBasicDecimalMethod · 0.85
ParentMethod · 0.85
TESTFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.68