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

Function Int96GetNanoSeconds

cpp/src/parquet/types.h:730–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728}
729
730static inline int64_t Int96GetNanoSeconds(const parquet::Int96& i96) {
731 const auto decoded = DecodeInt96Timestamp(i96);
732 return static_cast<int64_t>(decoded.days_since_epoch * kNanosecondsPerDay +
733 decoded.nanoseconds);
734}
735
736static inline int64_t Int96GetMicroSeconds(const parquet::Int96& i96) {
737 const auto decoded = DecodeInt96Timestamp(i96);

Callers 3

TESTFunction · 0.85
TESTFunction · 0.85
TransferInt96Function · 0.85

Calls 1

DecodeInt96TimestampFunction · 0.85

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68