51 | 839M | } _ZN5doris16check_cast_valueIalEEvT0_ Line | Count | Source | 31 | 742k | 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 | 742k | } else { | 45 | 742k | 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 | 742k | } | 51 | 742k | } |
_ZN5doris16check_cast_valueIimEEvT0_ Line | Count | Source | 31 | 12.3M | void check_cast_value(U b) { | 32 | 12.3M | if constexpr (IsUnsignedV<U>) { | 33 | 12.3M | 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 | 12.3M | } |
_ZN5doris16check_cast_valueIjlEEvT0_ Line | Count | Source | 31 | 20.2M | 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.2M | } else if constexpr (IsUnsignedV<T>) { | 39 | 20.2M | 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 | 20.2M | } |
_ZN5doris16check_cast_valueIjmEEvT0_ Line | Count | Source | 31 | 120M | void check_cast_value(U b) { | 32 | 120M | if constexpr (IsUnsignedV<U>) { | 33 | 120M | 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 | 120M | } |
_ZN5doris16check_cast_valueIlmEEvT0_ Line | Count | Source | 31 | 364M | void check_cast_value(U b) { | 32 | 364M | if constexpr (IsUnsignedV<U>) { | 33 | 364M | 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 | 364M | } |
_ZN5doris16check_cast_valueIilEEvT0_ Line | Count | Source | 31 | 1.91M | 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.91M | } else { | 45 | 1.91M | 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.91M | } | 51 | 1.91M | } |
_ZN5doris16check_cast_valueIhiEEvT0_ Line | Count | Source | 31 | 1.26M | 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.26M | } else if constexpr (IsUnsignedV<T>) { | 39 | 1.26M | 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.26M | } |
_ZN5doris16check_cast_valueIiyEEvT0_ Line | Count | Source | 31 | 3.42k | void check_cast_value(U b) { | 32 | 3.42k | if constexpr (IsUnsignedV<U>) { | 33 | 3.42k | 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.42k | } |
_ZN5doris16check_cast_valueIllEEvT0_ Line | Count | Source | 31 | 833 | 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 | 833 | } else { | 45 | 833 | 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 | 833 | } | 51 | 833 | } |
_ZN5doris16check_cast_valueIsiEEvT0_ Line | Count | Source | 31 | 287k | 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 | 287k | } else { | 45 | 287k | 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 | 287k | } | 51 | 287k | } |
_ZN5doris16check_cast_valueItiEEvT0_ Line | Count | Source | 31 | 31.9M | 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 | 31.9M | } else if constexpr (IsUnsignedV<T>) { | 39 | 31.9M | 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 | 31.9M | } |
_ZN5doris16check_cast_valueImnEEvT0_ Line | Count | Source | 31 | 3.62k | 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.62k | } else if constexpr (IsUnsignedV<T>) { | 39 | 3.62k | 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.62k | } |
_ZN5doris16check_cast_valueImjEEvT0_ Line | Count | Source | 31 | 48.3M | void check_cast_value(U b) { | 32 | 48.3M | if constexpr (IsUnsignedV<U>) { | 33 | 48.3M | 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 | 48.3M | } |
_ZN5doris16check_cast_valueImiEEvT0_ Line | Count | Source | 31 | 15.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 | 15.0M | } else if constexpr (IsUnsignedV<T>) { | 39 | 15.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 | 15.0M | } |
_ZN5doris16check_cast_valueImlEEvT0_ Line | Count | Source | 31 | 21.7k | 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 | 21.7k | } else if constexpr (IsUnsignedV<T>) { | 39 | 21.7k | 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 | 21.7k | } |
_ZN5doris16check_cast_valueIjjEEvT0_ Line | Count | Source | 31 | 57.5k | void check_cast_value(U b) { | 32 | 57.5k | if constexpr (IsUnsignedV<U>) { | 33 | 57.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 | 57.5k | } |
_ZN5doris16check_cast_valueIijEEvT0_ Line | Count | Source | 31 | 1.12M | void check_cast_value(U b) { | 32 | 1.12M | if constexpr (IsUnsignedV<U>) { | 33 | 1.12M | 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.12M | } |
_ZN5doris16check_cast_valueIiiEEvT0_ Line | Count | Source | 31 | 230k | 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 | 230k | } else { | 45 | 230k | 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 | 230k | } | 51 | 230k | } |
_ZN5doris16check_cast_valueIaiEEvT0_ Line | Count | Source | 31 | 18 | 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 | 18 | } else { | 45 | 18 | 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 | 18 | } | 51 | 18 | } |
_ZN5doris16check_cast_valueIjiEEvT0_ Line | Count | Source | 31 | 333 | 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 | 333 | } else if constexpr (IsUnsignedV<T>) { | 39 | 333 | 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 | 333 | } |
_ZN5doris16check_cast_valueIhsEEvT0_ Line | Count | Source | 31 | 26 | 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 | 26 | } else if constexpr (IsUnsignedV<T>) { | 39 | 26 | 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 | 26 | } |
_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 | 1.54k | 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.54k | } else if constexpr (IsUnsignedV<T>) { | 39 | 1.54k | 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.54k | } |
_ZN5doris16check_cast_valueIsmEEvT0_ Line | Count | Source | 31 | 2.23k | void check_cast_value(U b) { | 32 | 2.23k | if constexpr (IsUnsignedV<U>) { | 33 | 2.23k | 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.23k | } |
_ZN5doris16check_cast_valueIbmEEvT0_ Line | Count | Source | 31 | 3.08M | void check_cast_value(U b) { | 32 | 3.08M | if constexpr (IsUnsignedV<U>) { | 33 | 3.08M | 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.08M | } |
_ZN5doris16check_cast_valueIhmEEvT0_ Line | Count | Source | 31 | 350k | void check_cast_value(U b) { | 32 | 350k | if constexpr (IsUnsignedV<U>) { | 33 | 350k | 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 | 350k | } |
_ZN5doris16check_cast_valueImmEEvT0_ Line | Count | Source | 31 | 159k | void check_cast_value(U b) { | 32 | 159k | if constexpr (IsUnsignedV<U>) { | 33 | 159k | 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 | 159k | } |
_ZN5doris16check_cast_valueItmEEvT0_ Line | Count | Source | 31 | 95 | void check_cast_value(U b) { | 32 | 95 | if constexpr (IsUnsignedV<U>) { | 33 | 95 | 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 | 95 | } |
_ZN5doris16check_cast_valueIslEEvT0_ Line | Count | Source | 31 | 8 | 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 | 8 | } else { | 45 | 8 | 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 | 8 | } | 51 | 8 | } |
_ZN5doris16check_cast_valueIinEEvT0_ Line | Count | Source | 31 | 652 | 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 | 652 | } else { | 45 | 652 | 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 | 652 | } | 51 | 652 | } |
_ZN5doris16check_cast_valueImaEEvT0_ Line | Count | Source | 31 | 1 | 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 | } else if constexpr (IsUnsignedV<T>) { | 39 | 1 | 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 | } |
_ZN5doris16check_cast_valueImsEEvT0_ Line | Count | Source | 31 | 1 | 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 | } else if constexpr (IsUnsignedV<T>) { | 39 | 1 | 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 | } |
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 | 148k | 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 | 148k | } else if constexpr (IsUnsignedV<T>) { | 39 | 148k | 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 | 148k | } |
|