54 | 12.1M | } _ZN5doris16check_cast_valueIalEEvT0_ Line | Count | Source | 31 | 28.6k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 35 | | "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), | 37 | | std::numeric_limits<T>::max()); | 38 | | } | 39 | | } else if constexpr (IsUnsignedV<T>) { | 40 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 41 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 42 | | "value {} cast to type {} out of range [{},{}]", b, | 43 | | typeid(T).name(), std::numeric_limits<T>::min(), | 44 | | std::numeric_limits<T>::max()); | 45 | | } | 46 | 28.6k | } else { | 47 | 28.6k | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 48 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 49 | 0 | "value {} cast to type {} out of range [{},{}]", b, | 50 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), | 51 | 0 | std::numeric_limits<T>::max()); | 52 | 0 | } | 53 | 28.6k | } | 54 | 28.6k | } |
_ZN5doris16check_cast_valueIjmEEvT0_ Line | Count | Source | 31 | 1.09M | void check_cast_value(U b) { | 32 | 1.09M | if constexpr (IsUnsignedV<U>) { | 33 | 1.09M | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 35 | 0 | "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), | 37 | 0 | std::numeric_limits<T>::max()); | 38 | 0 | } | 39 | | } else if constexpr (IsUnsignedV<T>) { | 40 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 41 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 42 | | "value {} cast to type {} out of range [{},{}]", b, | 43 | | typeid(T).name(), std::numeric_limits<T>::min(), | 44 | | std::numeric_limits<T>::max()); | 45 | | } | 46 | | } else { | 47 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 48 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 49 | | "value {} cast to type {} out of range [{},{}]", b, | 50 | | typeid(T).name(), std::numeric_limits<T>::min(), | 51 | | std::numeric_limits<T>::max()); | 52 | | } | 53 | | } | 54 | 1.09M | } |
_ZN5doris16check_cast_valueIimEEvT0_ Line | Count | Source | 31 | 1.66M | void check_cast_value(U b) { | 32 | 1.66M | if constexpr (IsUnsignedV<U>) { | 33 | 1.66M | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 35 | 0 | "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), | 37 | 0 | std::numeric_limits<T>::max()); | 38 | 0 | } | 39 | | } else if constexpr (IsUnsignedV<T>) { | 40 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 41 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 42 | | "value {} cast to type {} out of range [{},{}]", b, | 43 | | typeid(T).name(), std::numeric_limits<T>::min(), | 44 | | std::numeric_limits<T>::max()); | 45 | | } | 46 | | } else { | 47 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 48 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 49 | | "value {} cast to type {} out of range [{},{}]", b, | 50 | | typeid(T).name(), std::numeric_limits<T>::min(), | 51 | | std::numeric_limits<T>::max()); | 52 | | } | 53 | | } | 54 | 1.66M | } |
_ZN5doris16check_cast_valueIilEEvT0_ Line | Count | Source | 31 | 9.13M | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 35 | | "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), | 37 | | std::numeric_limits<T>::max()); | 38 | | } | 39 | | } else if constexpr (IsUnsignedV<T>) { | 40 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 41 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 42 | | "value {} cast to type {} out of range [{},{}]", b, | 43 | | typeid(T).name(), std::numeric_limits<T>::min(), | 44 | | std::numeric_limits<T>::max()); | 45 | | } | 46 | 9.13M | } else { | 47 | 9.13M | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 48 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 49 | 0 | "value {} cast to type {} out of range [{},{}]", b, | 50 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), | 51 | 0 | std::numeric_limits<T>::max()); | 52 | 0 | } | 53 | 9.13M | } | 54 | 9.13M | } |
Unexecuted instantiation: _ZN5doris16check_cast_valueIlmEEvT0_ _ZN5doris16check_cast_valueIsmEEvT0_ Line | Count | Source | 31 | 2.01k | void check_cast_value(U b) { | 32 | 2.01k | if constexpr (IsUnsignedV<U>) { | 33 | 2.01k | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 35 | 0 | "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), | 37 | 0 | std::numeric_limits<T>::max()); | 38 | 0 | } | 39 | | } else if constexpr (IsUnsignedV<T>) { | 40 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 41 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 42 | | "value {} cast to type {} out of range [{},{}]", b, | 43 | | typeid(T).name(), std::numeric_limits<T>::min(), | 44 | | std::numeric_limits<T>::max()); | 45 | | } | 46 | | } else { | 47 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 48 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 49 | | "value {} cast to type {} out of range [{},{}]", b, | 50 | | typeid(T).name(), std::numeric_limits<T>::min(), | 51 | | std::numeric_limits<T>::max()); | 52 | | } | 53 | | } | 54 | 2.01k | } |
Unexecuted instantiation: _ZN5doris16check_cast_valueIjlEEvT0_ _ZN5doris16check_cast_valueIiiEEvT0_ Line | Count | Source | 31 | 228 | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 35 | | "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), | 37 | | std::numeric_limits<T>::max()); | 38 | | } | 39 | | } else if constexpr (IsUnsignedV<T>) { | 40 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 41 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 42 | | "value {} cast to type {} out of range [{},{}]", b, | 43 | | typeid(T).name(), std::numeric_limits<T>::min(), | 44 | | std::numeric_limits<T>::max()); | 45 | | } | 46 | 228 | } else { | 47 | 228 | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 48 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 49 | 0 | "value {} cast to type {} out of range [{},{}]", b, | 50 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), | 51 | 0 | std::numeric_limits<T>::max()); | 52 | 0 | } | 53 | 228 | } | 54 | 228 | } |
_ZN5doris16check_cast_valueIhiEEvT0_ Line | Count | Source | 31 | 1.33k | void check_cast_value(U b) { | 32 | | if constexpr (IsUnsignedV<U>) { | 33 | | if (b > std::numeric_limits<T>::max()) { | 34 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 35 | | "value {} cast to type {} out of range [{},{}]", b, | 36 | | typeid(T).name(), std::numeric_limits<T>::min(), | 37 | | std::numeric_limits<T>::max()); | 38 | | } | 39 | 1.33k | } else if constexpr (IsUnsignedV<T>) { | 40 | 1.33k | if (b < 0 || b > std::numeric_limits<T>::max()) { | 41 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 42 | 0 | "value {} cast to type {} out of range [{},{}]", b, | 43 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), | 44 | 0 | std::numeric_limits<T>::max()); | 45 | 0 | } | 46 | | } else { | 47 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 48 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 49 | | "value {} cast to type {} out of range [{},{}]", b, | 50 | | typeid(T).name(), std::numeric_limits<T>::min(), | 51 | | std::numeric_limits<T>::max()); | 52 | | } | 53 | | } | 54 | 1.33k | } |
_ZN5doris16check_cast_valueImmEEvT0_ Line | Count | Source | 31 | 155k | void check_cast_value(U b) { | 32 | 155k | if constexpr (IsUnsignedV<U>) { | 33 | 155k | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 35 | 0 | "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), | 37 | 0 | std::numeric_limits<T>::max()); | 38 | 0 | } | 39 | | } else if constexpr (IsUnsignedV<T>) { | 40 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 41 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 42 | | "value {} cast to type {} out of range [{},{}]", b, | 43 | | typeid(T).name(), std::numeric_limits<T>::min(), | 44 | | std::numeric_limits<T>::max()); | 45 | | } | 46 | | } else { | 47 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 48 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 49 | | "value {} cast to type {} out of range [{},{}]", b, | 50 | | typeid(T).name(), std::numeric_limits<T>::min(), | 51 | | std::numeric_limits<T>::max()); | 52 | | } | 53 | | } | 54 | 155k | } |
_ZN5doris16check_cast_valueIbmEEvT0_ Line | Count | Source | 31 | 34.4k | void check_cast_value(U b) { | 32 | 34.4k | if constexpr (IsUnsignedV<U>) { | 33 | 34.4k | if (b > std::numeric_limits<T>::max()) { | 34 | 0 | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 35 | 0 | "value {} cast to type {} out of range [{},{}]", b, | 36 | 0 | typeid(T).name(), std::numeric_limits<T>::min(), | 37 | 0 | std::numeric_limits<T>::max()); | 38 | 0 | } | 39 | | } else if constexpr (IsUnsignedV<T>) { | 40 | | if (b < 0 || b > std::numeric_limits<T>::max()) { | 41 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 42 | | "value {} cast to type {} out of range [{},{}]", b, | 43 | | typeid(T).name(), std::numeric_limits<T>::min(), | 44 | | std::numeric_limits<T>::max()); | 45 | | } | 46 | | } else { | 47 | | if (b < std::numeric_limits<T>::min() || b > std::numeric_limits<T>::max()) { | 48 | | throw doris::Exception(ErrorCode::INVALID_ARGUMENT, | 49 | | "value {} cast to type {} out of range [{},{}]", b, | 50 | | typeid(T).name(), std::numeric_limits<T>::min(), | 51 | | std::numeric_limits<T>::max()); | 52 | | } | 53 | | } | 54 | 34.4k | } |
Unexecuted instantiation: _ZN5doris16check_cast_valueIliEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueIllEEvT0_ Unexecuted instantiation: _ZN5doris16check_cast_valueIlnEEvT0_ |