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

Method Min

cpp/src/parquet/statistics.cc:302–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300 return BinaryLikeComparer<T, is_signed>::Compare(type_length, a, b);
301 }
302 static T Min(int type_length, const T& a, const T& b) {
303 if (a.ptr == nullptr) return b;
304 if (b.ptr == nullptr) return a;
305 return Compare(type_length, a, b) ? a : b;
306 }
307
308 static T Max(int type_length, const T& a, const T& b) {
309 if (a.ptr == nullptr) return b;

Callers

nothing calls this directly

Calls 1

CompareFunction · 0.85

Tested by

no test coverage detected