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

Function CastInts

cpp/src/arrow/util/int_util.h:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76template <typename InputInt, typename OutputInt>
77inline typename std::enable_if<(sizeof(InputInt) >= sizeof(OutputInt))>::type CastInts(
78 const InputInt* source, OutputInt* dest, int64_t length) {
79 DowncastInts(source, dest, length);
80}
81
82template <typename InputInt, typename OutputInt>
83inline typename std::enable_if<(sizeof(InputInt) < sizeof(OutputInt))>::type CastInts(

Calls 2

DowncastIntsFunction · 0.85
UpcastIntsFunction · 0.85

Tested by

no test coverage detected