51 | 2.11G | } _ZN5doris16check_cast_valueIalEEvT0_ Line | Count | Source | 31 | 1.35M | 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.35M | } else { | 45 | 1.35M | 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.35M | } | 51 | 1.35M | } |
_ZN5doris16check_cast_valueIimEEvT0_ Line | Count | Source | 31 | 103M | void check_cast_value(U b) { | 32 | 103M | if constexpr (IsUnsignedV<U>) { | 33 | 103M | 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 | 103M | } |
_ZN5doris16check_cast_valueIjlEEvT0_ Line | Count | Source | 31 | 39.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 | 39.8M | } else if constexpr (IsUnsignedV<T>) { | 39 | 39.8M | 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 | 39.8M | } |
_ZN5doris16check_cast_valueIjmEEvT0_ Line | Count | Source | 31 | 359M | void check_cast_value(U b) { | 32 | 359M | if constexpr (IsUnsignedV<U>) { | 33 | 359M | 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 | 359M | } |
_ZN5doris16check_cast_valueIlmEEvT0_ Line | Count | Source | 31 | 796M | void check_cast_value(U b) { | 32 | 796M | if constexpr (IsUnsignedV<U>) { | 33 | 796M | 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 | 796M | } |
_ZN5doris16check_cast_valueIilEEvT0_ Line | Count | Source | 31 | 131M | 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 | 131M | } else { | 45 | 132M | 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 | 131M | } | 51 | 131M | } |
_ZN5doris16check_cast_valueIhiEEvT0_ Line | Count | Source | 31 | 2.22M | 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.22M | } else if constexpr (IsUnsignedV<T>) { | 39 | 2.22M | 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.22M | } |
_ZN5doris16check_cast_valueIiyEEvT0_ Line | Count | Source | 31 | 8.32k | void check_cast_value(U b) { | 32 | 8.32k | if constexpr (IsUnsignedV<U>) { | 33 | 8.32k | 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 | 8.32k | } |
_ZN5doris16check_cast_valueIllEEvT0_ Line | Count | Source | 31 | 444 | 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 | 444 | } else { | 45 | 444 | 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 | 444 | } | 51 | 444 | } |
_ZN5doris16check_cast_valueIsiEEvT0_ Line | Count | Source | 31 | 1.29M | 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.29M | } else { | 45 | 1.29M | 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.29M | } | 51 | 1.29M | } |
_ZN5doris16check_cast_valueImiEEvT0_ Line | Count | Source | 31 | 20.0M | 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 | 20.0M | } else if constexpr (IsUnsignedV<T>) { | 39 | 20.0M | 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 | 20.0M | } |
_ZN5doris16check_cast_valueImjEEvT0_ Line | Count | Source | 31 | 156M | void check_cast_value(U b) { | 32 | 156M | if constexpr (IsUnsignedV<U>) { | 33 | 156M | 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 | 156M | } |
_ZN5doris16check_cast_valueItiEEvT0_ Line | Count | Source | 31 | 44.0M | 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 | 44.0M | } else if constexpr (IsUnsignedV<T>) { | 39 | 44.0M | 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 | 44.0M | } |
_ZN5doris16check_cast_valueImnEEvT0_ Line | Count | Source | 31 | 5.13k | 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 | 5.13k | } else if constexpr (IsUnsignedV<T>) { | 39 | 5.13k | 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 | 5.13k | } |
_ZN5doris16check_cast_valueIjjEEvT0_ Line | Count | Source | 31 | 33.0M | void check_cast_value(U b) { | 32 | 33.0M | if constexpr (IsUnsignedV<U>) { | 33 | 33.0M | 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 | 33.0M | } |
_ZN5doris16check_cast_valueIijEEvT0_ Line | Count | Source | 31 | 4.80M | void check_cast_value(U b) { | 32 | 4.80M | if constexpr (IsUnsignedV<U>) { | 33 | 4.80M | 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 | 4.80M | } |
_ZN5doris16check_cast_valueIiiEEvT0_ Line | Count | Source | 31 | 757k | 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 | 757k | } else { | 45 | 757k | 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 | 757k | } | 51 | 757k | } |
_ZN5doris16check_cast_valueIaiEEvT0_ Line | Count | Source | 31 | 19 | 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 | 19 | } else { | 45 | 19 | 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 | 19 | } | 51 | 19 | } |
_ZN5doris16check_cast_valueIjiEEvT0_ Line | Count | Source | 31 | 2.15k | 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.15k | } else if constexpr (IsUnsignedV<T>) { | 39 | 2.15k | 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.15k | } |
_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.10k | 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.10k | } else if constexpr (IsUnsignedV<T>) { | 39 | 2.10k | 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.10k | } |
_ZN5doris16check_cast_valueIsmEEvT0_ Line | Count | Source | 31 | 203M | void check_cast_value(U b) { | 32 | 203M | if constexpr (IsUnsignedV<U>) { | 33 | 203M | 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 | 203M | } |
_ZN5doris16check_cast_valueIbmEEvT0_ Line | Count | Source | 31 | 1.24M | void check_cast_value(U b) { | 32 | 1.24M | if constexpr (IsUnsignedV<U>) { | 33 | 1.24M | 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 | 1.24M | } |
_ZN5doris16check_cast_valueIhmEEvT0_ Line | Count | Source | 31 | 853k | void check_cast_value(U b) { | 32 | 853k | if constexpr (IsUnsignedV<U>) { | 33 | 853k | 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 | 853k | } |
_ZN5doris16check_cast_valueIslEEvT0_ Line | Count | Source | 31 | 405 | 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 | 405 | } else { | 45 | 405 | 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 | 405 | } | 51 | 405 | } |
_ZN5doris16check_cast_valueIinEEvT0_ Line | Count | Source | 31 | 6.53k | 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.53k | } else { | 45 | 6.53k | 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.53k | } | 51 | 6.53k | } |
Unexecuted instantiation: _ZN5doris16check_cast_valueImaEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueImsEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueImlEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueIliEEvT0_ _ZN5doris16check_cast_valueIlnEEvT0_ Line | Count | Source | 31 | 4 | 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 | 4 | } else { | 45 | 4 | 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 | 4 | } | 51 | 4 | } |
_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.77k | 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.77k | } else if constexpr (IsUnsignedV<T>) { | 39 | 1.77k | 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.77k | } |
|