51 | 1.54G | } _ZN5doris16check_cast_valueIalEEvT0_ Line | Count | Source | 31 | 1.39M | 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.39M | } else { | 45 | 1.39M | 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.39M | } | 51 | 1.39M | } |
_ZN5doris16check_cast_valueIimEEvT0_ Line | Count | Source | 31 | 39.0M | void check_cast_value(U b) { | 32 | 39.0M | if constexpr (IsUnsignedV<U>) { | 33 | 39.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 | 39.0M | } |
_ZN5doris16check_cast_valueIjlEEvT0_ Line | Count | Source | 31 | 40.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 | 40.8M | } else if constexpr (IsUnsignedV<T>) { | 39 | 40.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 | 40.8M | } |
_ZN5doris16check_cast_valueIjmEEvT0_ Line | Count | Source | 31 | 365M | void check_cast_value(U b) { | 32 | 365M | if constexpr (IsUnsignedV<U>) { | 33 | 365M | 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 | 365M | } |
_ZN5doris16check_cast_valueIlmEEvT0_ Line | Count | Source | 31 | 637M | void check_cast_value(U b) { | 32 | 637M | if constexpr (IsUnsignedV<U>) { | 33 | 637M | 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 | 637M | } |
_ZN5doris16check_cast_valueIilEEvT0_ Line | Count | Source | 31 | 7.20M | 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 | 7.20M | } else { | 45 | 7.20M | 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 | 7.20M | } | 51 | 7.20M | } |
_ZN5doris16check_cast_valueIhiEEvT0_ Line | Count | Source | 31 | 4.10M | 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.10M | } else if constexpr (IsUnsignedV<T>) { | 39 | 4.11M | 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.10M | } |
_ZN5doris16check_cast_valueIiyEEvT0_ Line | Count | Source | 31 | 2.33k | void check_cast_value(U b) { | 32 | 2.33k | if constexpr (IsUnsignedV<U>) { | 33 | 2.33k | 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.33k | } |
_ZN5doris16check_cast_valueIllEEvT0_ Line | Count | Source | 31 | 445 | 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 | 445 | } else { | 45 | 445 | 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 | 445 | } | 51 | 445 | } |
_ZN5doris16check_cast_valueIsiEEvT0_ Line | Count | Source | 31 | 334k | 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 | 334k | } else { | 45 | 334k | 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 | 334k | } | 51 | 334k | } |
_ZN5doris16check_cast_valueImiEEvT0_ Line | Count | Source | 31 | 19.8M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 19.8M | } else if constexpr (IsUnsignedV<T>) { | 39 | 19.8M | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 19.8M | } |
_ZN5doris16check_cast_valueImjEEvT0_ Line | Count | Source | 31 | 153M | void check_cast_value(U b) { | 32 | 153M | if constexpr (IsUnsignedV<U>) { | 33 | 153M | 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 | 153M | } |
_ZN5doris16check_cast_valueItiEEvT0_ Line | Count | Source | 31 | 44.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 | 44.8M | } else if constexpr (IsUnsignedV<T>) { | 39 | 44.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 | 44.8M | } |
_ZN5doris16check_cast_valueImnEEvT0_ Line | Count | Source | 31 | 3.99k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 3.99k | } else if constexpr (IsUnsignedV<T>) { | 39 | 3.99k | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 3.99k | } |
_ZN5doris16check_cast_valueIjjEEvT0_ Line | Count | Source | 31 | 89.8k | void check_cast_value(U b) { | 32 | 89.8k | if constexpr (IsUnsignedV<U>) { | 33 | 89.8k | 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 | 89.8k | } |
_ZN5doris16check_cast_valueIijEEvT0_ Line | Count | Source | 31 | 3.15M | void check_cast_value(U b) { | 32 | 3.15M | if constexpr (IsUnsignedV<U>) { | 33 | 3.15M | 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.15M | } |
_ZN5doris16check_cast_valueIiiEEvT0_ Line | Count | Source | 31 | 707k | 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 | 707k | } else { | 45 | 707k | 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 | 707k | } | 51 | 707k | } |
_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 | 420 | 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 | 420 | } else if constexpr (IsUnsignedV<T>) { | 39 | 420 | 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 | 420 | } |
_ZN5doris16check_cast_valueIhsEEvT0_ Line | Count | Source | 31 | 424 | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 424 | } else if constexpr (IsUnsignedV<T>) { | 39 | 424 | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 424 | } |
_ZN5doris16check_cast_valueIhlEEvT0_ Line | Count | Source | 31 | 6.33M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 6.33M | } else if constexpr (IsUnsignedV<T>) { | 39 | 6.33M | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 6.33M | } |
_ZN5doris16check_cast_valueIKjlEEvT0_ Line | Count | Source | 31 | 2.08k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 2.08k | } else if constexpr (IsUnsignedV<T>) { | 39 | 2.08k | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 2.08k | } |
_ZN5doris16check_cast_valueIsmEEvT0_ Line | Count | Source | 31 | 7.61M | void check_cast_value(U b) { | 32 | 7.61M | if constexpr (IsUnsignedV<U>) { | 33 | 7.61M | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 7.61M | } |
_ZN5doris16check_cast_valueIbmEEvT0_ Line | Count | Source | 31 | 1.22M | void check_cast_value(U b) { | 32 | 1.22M | if constexpr (IsUnsignedV<U>) { | 33 | 1.22M | 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.22M | } |
_ZN5doris16check_cast_valueIhmEEvT0_ Line | Count | Source | 31 | 838k | void check_cast_value(U b) { | 32 | 838k | if constexpr (IsUnsignedV<U>) { | 33 | 838k | 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 | 838k | } |
_ZN5doris16check_cast_valueIslEEvT0_ Line | Count | Source | 31 | 383 | 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 | 383 | } else { | 45 | 383 | 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 | 383 | } | 51 | 383 | } |
_ZN5doris16check_cast_valueIinEEvT0_ Line | Count | Source | 31 | 6.32k | 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.32k | } else { | 45 | 6.32k | 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.32k | } | 51 | 6.32k | } |
Unexecuted instantiation: _ZN5doris16check_cast_valueImaEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueImsEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueImlEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueIliEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueIlnEEvT0_ _ZN5doris16check_cast_valueIhnEEvT0_ Line | Count | Source | 31 | 211M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception( | 35 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | | } | 38 | 211M | } else if constexpr (IsUnsignedV<T>) { | 39 | 211M | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | 0 | throw doris::Exception( | 41 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | 0 | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 211M | } |
_ZN5doris16check_cast_valueIhjEEvT0_ Line | Count | Source | 31 | 81.5k | void check_cast_value(U b) { | 32 | 81.5k | if constexpr (IsUnsignedV<U>) { | 33 | 81.5k | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception( | 35 | 0 | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 37 | 0 | } | 38 | | } else if constexpr (IsUnsignedV<T>) { | 39 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 40 | | throw doris::Exception( | 41 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 42 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 43 | | } | 44 | | } else { | 45 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 46 | | throw doris::Exception( | 47 | | ErrorCode::INTERNAL_ERROR, "value {} cast to type {} out of range [{},{}]", b, | 48 | | typeid(T).name(), std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); | 49 | | } | 50 | | } | 51 | 81.5k | } |
Unexecuted instantiation: _ZN5doris16check_cast_valueIhoEEvT0_ _ZN5doris16check_cast_valueItlEEvT0_ Line | Count | Source | 31 | 1.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 | } |
|