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

Function Int96GetMicroSeconds

cpp/src/parquet/types.h:744–749  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744static inline int64_t Int96GetMicroSeconds(const parquet::Int96& i96) {
745 const auto decoded = DecodeInt96Timestamp(i96);
746 uint64_t microseconds = decoded.nanoseconds / static_cast<uint64_t>(1000);
747 return static_cast<int64_t>(decoded.days_since_epoch * kMicrosecondsPerDay +
748 microseconds);
749}
750
751static inline int64_t Int96GetMilliSeconds(const parquet::Int96& i96) {
752 const auto decoded = DecodeInt96Timestamp(i96);

Callers 1

TransferInt96Function · 0.85

Calls 1

DecodeInt96TimestampFunction · 0.85

Tested by

no test coverage detected