51 | 1.57G | } _ZN5doris16check_cast_valueIalEEvT0_ Line | Count | Source | 31 | 1.15M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | 1.15M | } else { | 45 | 1.15M | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | 0 | throw doris::Exception( | 47 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | 0 | } | 50 | 1.15M | } | 51 | 1.15M | } |
_ZN5doris16check_cast_valueIimEEvT0_ Line | Count | Source | 31 | 55.7M | void check_cast_value(U b) { | 32 | 55.7M | if constexpr (IsUnsignedV<U>) { | 33 | 55.7M | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 55.7M | } |
_ZN5doris16check_cast_valueIjlEEvT0_ Line | Count | Source | 31 | 40.3M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 40.3M | } else if constexpr (IsUnsignedV<T>) { | 39 | 40.3M | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 1 | throw doris::Exception( | 41 | 1 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 1 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 1 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 40.3M | } |
_ZN5doris16check_cast_valueIjmEEvT0_ Line | Count | Source | 31 | 367M | void check_cast_value(U b) { | 32 | 367M | if constexpr (IsUnsignedV<U>) { | 33 | 367M | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 367M | } |
_ZN5doris16check_cast_valueIlmEEvT0_ Line | Count | Source | 31 | 656M | void check_cast_value(U b) { | 32 | 656M | if constexpr (IsUnsignedV<U>) { | 33 | 656M | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 656M | } |
_ZN5doris16check_cast_valueIilEEvT0_ Line | Count | Source | 31 | 5.86M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | 5.86M | } else { | 45 | 5.86M | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | 0 | throw doris::Exception( | 47 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | 0 | } | 50 | 5.86M | } | 51 | 5.86M | } |
_ZN5doris16check_cast_valueIhiEEvT0_ Line | Count | Source | 31 | 1.72M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 1.72M | } else if constexpr (IsUnsignedV<T>) { | 39 | 1.72M | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 1.72M | } |
_ZN5doris16check_cast_valueIiyEEvT0_ Line | Count | Source | 31 | 2.49k | void check_cast_value(U b) { | 32 | 2.49k | if constexpr (IsUnsignedV<U>) { | 33 | 2.49k | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 2.49k | } |
_ZN5doris16check_cast_valueIllEEvT0_ Line | Count | Source | 31 | 452 | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | 452 | } else { | 45 | 452 | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | 0 | throw doris::Exception( | 47 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | 0 | } | 50 | 452 | } | 51 | 452 | } |
_ZN5doris16check_cast_valueIsiEEvT0_ Line | Count | Source | 31 | 340k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | 340k | } else { | 45 | 340k | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | 0 | throw doris::Exception( | 47 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | 0 | } | 50 | 340k | } | 51 | 340k | } |
_ZN5doris16check_cast_valueImiEEvT0_ Line | Count | Source | 31 | 19.8M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 19.8M | } else if constexpr (IsUnsignedV<T>) { | 39 | 19.8M | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 19.8M | } |
_ZN5doris16check_cast_valueItiEEvT0_ Line | Count | Source | 31 | 43.5M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 43.5M | } else if constexpr (IsUnsignedV<T>) { | 39 | 43.5M | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 43.5M | } |
_ZN5doris16check_cast_valueImnEEvT0_ Line | Count | Source | 31 | 3.99k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 3.99k | } else if constexpr (IsUnsignedV<T>) { | 39 | 3.99k | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 3.99k | } |
_ZN5doris16check_cast_valueImjEEvT0_ Line | Count | Source | 31 | 155M | void check_cast_value(U b) { | 32 | 155M | if constexpr (IsUnsignedV<U>) { | 33 | 155M | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 155M | } |
_ZN5doris16check_cast_valueIjjEEvT0_ Line | Count | Source | 31 | 90.1k | void check_cast_value(U b) { | 32 | 90.1k | if constexpr (IsUnsignedV<U>) { | 33 | 90.1k | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 90.1k | } |
_ZN5doris16check_cast_valueIijEEvT0_ Line | Count | Source | 31 | 3.18M | void check_cast_value(U b) { | 32 | 3.18M | if constexpr (IsUnsignedV<U>) { | 33 | 3.18M | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 3.18M | } |
_ZN5doris16check_cast_valueIiiEEvT0_ Line | Count | Source | 31 | 714k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | 714k | } else { | 45 | 714k | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | 0 | throw doris::Exception( | 47 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | 0 | } | 50 | 714k | } | 51 | 714k | } |
_ZN5doris16check_cast_valueIaiEEvT0_ Line | Count | Source | 31 | 20 | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | 20 | } else { | 45 | 20 | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | 0 | throw doris::Exception( | 47 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | 0 | } | 50 | 20 | } | 51 | 20 | } |
_ZN5doris16check_cast_valueIjiEEvT0_ Line | Count | Source | 31 | 452 | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 452 | } else if constexpr (IsUnsignedV<T>) { | 39 | 452 | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 452 | } |
_ZN5doris16check_cast_valueIhsEEvT0_ Line | Count | Source | 31 | 424 | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 424 | } else if constexpr (IsUnsignedV<T>) { | 39 | 424 | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 424 | } |
_ZN5doris16check_cast_valueIhlEEvT0_ Line | Count | Source | 31 | 6.33M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 6.33M | } else if constexpr (IsUnsignedV<T>) { | 39 | 6.33M | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 6.33M | } |
_ZN5doris16check_cast_valueIKjlEEvT0_ Line | Count | Source | 31 | 2.08k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 2.08k | } else if constexpr (IsUnsignedV<T>) { | 39 | 2.08k | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 2.08k | } |
_ZN5doris16check_cast_valueIsmEEvT0_ Line | Count | Source | 31 | 7.61M | void check_cast_value(U b) { | 32 | 7.61M | if constexpr (IsUnsignedV<U>) { | 33 | 7.61M | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 7.61M | } |
_ZN5doris16check_cast_valueIbmEEvT0_ Line | Count | Source | 31 | 545k | void check_cast_value(U b) { | 32 | 545k | if constexpr (IsUnsignedV<U>) { | 33 | 545k | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 545k | } |
_ZN5doris16check_cast_valueIhmEEvT0_ Line | Count | Source | 31 | 786k | void check_cast_value(U b) { | 32 | 786k | if constexpr (IsUnsignedV<U>) { | 33 | 786k | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 786k | } |
_ZN5doris16check_cast_valueIslEEvT0_ Line | Count | Source | 31 | 470 | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | 470 | } else { | 45 | 470 | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | 0 | throw doris::Exception( | 47 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | 0 | } | 50 | 470 | } | 51 | 470 | } |
_ZN5doris16check_cast_valueIinEEvT0_ Line | Count | Source | 31 | 6.14k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | 6.14k | } else { | 45 | 6.14k | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | 0 | throw doris::Exception( | 47 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | 0 | } | 50 | 6.14k | } | 51 | 6.14k | } |
Unexecuted instantiation: _ZN5doris16check_cast_valueImaEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueImsEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueImlEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueIliEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueIlnEEvT0_ _ZN5doris16check_cast_valueIhnEEvT0_ Line | Count | Source | 31 | 211M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 211M | } else if constexpr (IsUnsignedV<T>) { | 39 | 211M | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 211M | } |
_ZN5doris16check_cast_valueIhjEEvT0_ Line | Count | Source | 31 | 81.5k | void check_cast_value(U b) { | 32 | 81.5k | if constexpr (IsUnsignedV<U>) { | 33 | 81.5k | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 81.5k | } |
Unexecuted instantiation: _ZN5doris16check_cast_valueIhoEEvT0_ _ZN5doris16check_cast_valueItlEEvT0_ Line | Count | Source | 31 | 1.88k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 1.88k | } else if constexpr (IsUnsignedV<T>) { | 39 | 1.88k | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 1.88k | } |
|