51 | 1.87G | } _ZN5doris16check_cast_valueIalEEvT0_ 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_valueIimEEvT0_ Line | Count | Source | 31 | 100M | void check_cast_value(U b) { | 32 | 100M | if constexpr (IsUnsignedV<U>) { | 33 | 100M | 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 | 100M | } |
_ZN5doris16check_cast_valueIjlEEvT0_ Line | Count | Source | 31 | 40.6M | 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.6M | } else if constexpr (IsUnsignedV<T>) { | 39 | 40.6M | 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.6M | } |
_ZN5doris16check_cast_valueIjmEEvT0_ Line | Count | Source | 31 | 377M | void check_cast_value(U b) { | 32 | 377M | if constexpr (IsUnsignedV<U>) { | 33 | 377M | 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 | 377M | } |
_ZN5doris16check_cast_valueIlmEEvT0_ Line | Count | Source | 31 | 687M | void check_cast_value(U b) { | 32 | 687M | if constexpr (IsUnsignedV<U>) { | 33 | 687M | 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 | 687M | } |
_ZN5doris16check_cast_valueIilEEvT0_ Line | Count | Source | 31 | 83.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 | | } 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 | 83.8M | } else { | 45 | 84.0M | 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 | 83.8M | } | 51 | 83.8M | } |
_ZN5doris16check_cast_valueIhiEEvT0_ Line | Count | Source | 31 | 1.74M | 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.74M | } else if constexpr (IsUnsignedV<T>) { | 39 | 1.74M | 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.74M | } |
_ZN5doris16check_cast_valueIiyEEvT0_ Line | Count | Source | 31 | 5.18k | void check_cast_value(U b) { | 32 | 5.18k | if constexpr (IsUnsignedV<U>) { | 33 | 5.18k | 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 | 5.18k | } |
_ZN5doris16check_cast_valueIllEEvT0_ Line | Count | Source | 31 | 441 | 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 | 441 | } else { | 45 | 441 | 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 | 441 | } | 51 | 441 | } |
_ZN5doris16check_cast_valueIsiEEvT0_ Line | Count | Source | 31 | 822k | 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 | 822k | } else { | 45 | 822k | 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 | 822k | } | 51 | 822k | } |
_ZN5doris16check_cast_valueImiEEvT0_ Line | Count | Source | 31 | 19.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 | 19.9M | } else if constexpr (IsUnsignedV<T>) { | 39 | 19.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 | 19.9M | } |
_ZN5doris16check_cast_valueImjEEvT0_ Line | Count | Source | 31 | 154M | void check_cast_value(U b) { | 32 | 154M | if constexpr (IsUnsignedV<U>) { | 33 | 154M | 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 | 154M | } |
_ZN5doris16check_cast_valueItiEEvT0_ Line | Count | Source | 31 | 44.4M | 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.4M | } else if constexpr (IsUnsignedV<T>) { | 39 | 44.4M | 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.4M | } |
_ZN5doris16check_cast_valueImnEEvT0_ Line | Count | Source | 31 | 4.56k | 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 | 4.56k | } else if constexpr (IsUnsignedV<T>) { | 39 | 4.56k | 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 | 4.56k | } |
_ZN5doris16check_cast_valueIjjEEvT0_ Line | Count | Source | 31 | 34.5M | void check_cast_value(U b) { | 32 | 34.5M | if constexpr (IsUnsignedV<U>) { | 33 | 34.5M | 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 | 34.5M | } |
_ZN5doris16check_cast_valueIijEEvT0_ Line | Count | Source | 31 | 3.96M | void check_cast_value(U b) { | 32 | 3.96M | if constexpr (IsUnsignedV<U>) { | 33 | 3.96M | 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.96M | } |
_ZN5doris16check_cast_valueIiiEEvT0_ Line | Count | Source | 31 | 735k | 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 | 735k | } else { | 45 | 735k | 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 | 735k | } | 51 | 735k | } |
_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 | 1.29k | 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.29k | } else if constexpr (IsUnsignedV<T>) { | 39 | 1.29k | 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.29k | } |
_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 | 106M | void check_cast_value(U b) { | 32 | 106M | if constexpr (IsUnsignedV<U>) { | 33 | 106M | 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 | 106M | } |
_ZN5doris16check_cast_valueIbmEEvT0_ Line | Count | Source | 31 | 460k | void check_cast_value(U b) { | 32 | 460k | if constexpr (IsUnsignedV<U>) { | 33 | 460k | 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 | 460k | } |
_ZN5doris16check_cast_valueIhmEEvT0_ Line | Count | Source | 31 | 792k | void check_cast_value(U b) { | 32 | 792k | if constexpr (IsUnsignedV<U>) { | 33 | 792k | 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 | 792k | } |
_ZN5doris16check_cast_valueIslEEvT0_ Line | Count | Source | 31 | 463 | 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 | 463 | } else { | 45 | 463 | 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 | 463 | } | 51 | 463 | } |
_ZN5doris16check_cast_valueIinEEvT0_ Line | Count | Source | 31 | 5.79k | 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.79k | } else { | 45 | 5.79k | 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.79k | } | 51 | 5.79k | } |
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 | 2 | 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 | 2 | } else { | 45 | 2 | 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 | 2 | } | 51 | 2 | } |
_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.78k | 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.78k | } else if constexpr (IsUnsignedV<T>) { | 39 | 1.78k | 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.78k | } |
|