/root/doris/be/src/common/compare.h
Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #include <cmath> |
19 | | |
20 | | #include "common/compiler_util.h" |
21 | | #include "core/type_limit.h" |
22 | | |
23 | | #pragma once |
24 | | namespace doris { |
25 | | #include "common/compile_check_begin.h" |
26 | | struct Compare { |
27 | | template <typename T> |
28 | 32.9M | static bool less(const T& a, const T& b) { |
29 | 32.9M | return a < b; |
30 | 32.9M | } _ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 27.6k | static bool less(const T& a, const T& b) { | 29 | 27.6k | return a < b; | 30 | 27.6k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 10.6k | static bool less(const T& a, const T& b) { | 29 | 10.6k | return a < b; | 30 | 10.6k | } |
_ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 10.6M | static bool less(const T& a, const T& b) { | 29 | 10.6M | return a < b; | 30 | 10.6M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 391k | static bool less(const T& a, const T& b) { | 29 | 391k | return a < b; | 30 | 391k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 280k | static bool less(const T& a, const T& b) { | 29 | 280k | return a < b; | 30 | 280k | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.19k | static bool less(const T& a, const T& b) { | 29 | 4.19k | return a < b; | 30 | 4.19k | } |
_ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 1.37k | static bool less(const T& a, const T& b) { | 29 | 1.37k | return a < b; | 30 | 1.37k | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 4.80M | static bool less(const T& a, const T& b) { | 29 | 4.80M | return a < b; | 30 | 4.80M | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 11.4k | static bool less(const T& a, const T& b) { | 29 | 11.4k | return a < b; | 30 | 11.4k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 2.92k | static bool less(const T& a, const T& b) { | 29 | 2.92k | return a < b; | 30 | 2.92k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 28 | 19 | static bool less(const T& a, const T& b) { | 29 | 19 | return a < b; | 30 | 19 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 28 | 67.0k | static bool less(const T& a, const T& b) { | 29 | 67.0k | return a < b; | 30 | 67.0k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 2.11k | static bool less(const T& a, const T& b) { | 29 | 2.11k | return a < b; | 30 | 2.11k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 14.9M | static bool less(const T& a, const T& b) { | 29 | 14.9M | return a < b; | 30 | 14.9M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 1.70M | static bool less(const T& a, const T& b) { | 29 | 1.70M | return a < b; | 30 | 1.70M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 6.65k | static bool less(const T& a, const T& b) { | 29 | 6.65k | return a < b; | 30 | 6.65k | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 3.17k | static bool less(const T& a, const T& b) { | 29 | 3.17k | return a < b; | 30 | 3.17k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 1.97k | static bool less(const T& a, const T& b) { | 29 | 1.97k | return a < b; | 30 | 1.97k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 2.03k | static bool less(const T& a, const T& b) { | 29 | 2.03k | return a < b; | 30 | 2.03k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 28 | 975 | static bool less(const T& a, const T& b) { | 29 | 975 | return a < b; | 30 | 975 | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ |
31 | | template <typename T> |
32 | 32.2M | static bool greater(const T& a, const T& b) { |
33 | 32.2M | return a > b; |
34 | 32.2M | } _ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 266k | static bool greater(const T& a, const T& b) { | 33 | 266k | return a > b; | 34 | 266k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 54.8k | static bool greater(const T& a, const T& b) { | 33 | 54.8k | return a > b; | 34 | 54.8k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 18.2M | static bool greater(const T& a, const T& b) { | 33 | 18.2M | return a > b; | 34 | 18.2M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 892k | static bool greater(const T& a, const T& b) { | 33 | 892k | return a > b; | 34 | 892k | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 1.05M | static bool greater(const T& a, const T& b) { | 33 | 1.05M | return a > b; | 34 | 1.05M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 4.68k | static bool greater(const T& a, const T& b) { | 33 | 4.68k | return a > b; | 34 | 4.68k | } |
_ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 20.9k | static bool greater(const T& a, const T& b) { | 33 | 20.9k | return a > b; | 34 | 20.9k | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 2.75M | static bool greater(const T& a, const T& b) { | 33 | 2.75M | return a > b; | 34 | 2.75M | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 24.8k | static bool greater(const T& a, const T& b) { | 33 | 24.8k | return a > b; | 34 | 24.8k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 2.12k | static bool greater(const T& a, const T& b) { | 33 | 2.12k | return a > b; | 34 | 2.12k | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 1.37k | static bool greater(const T& a, const T& b) { | 33 | 1.37k | return a > b; | 34 | 1.37k | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 686k | static bool greater(const T& a, const T& b) { | 33 | 686k | return a > b; | 34 | 686k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 6.17k | static bool greater(const T& a, const T& b) { | 33 | 6.17k | return a > b; | 34 | 6.17k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 5.45M | static bool greater(const T& a, const T& b) { | 33 | 5.45M | return a > b; | 34 | 5.45M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 2.81M | static bool greater(const T& a, const T& b) { | 33 | 2.81M | return a > b; | 34 | 2.81M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 12.2k | static bool greater(const T& a, const T& b) { | 33 | 12.2k | return a > b; | 34 | 12.2k | } |
_ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 9.69k | static bool greater(const T& a, const T& b) { | 33 | 9.69k | return a > b; | 34 | 9.69k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 32 | 2.24k | static bool greater(const T& a, const T& b) { | 33 | 2.24k | return a > b; | 34 | 2.24k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.27k | static bool greater(const T& a, const T& b) { | 33 | 2.27k | return a > b; | 34 | 2.27k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 32 | 6 | static bool greater(const T& a, const T& b) { | 33 | 6 | return a > b; | 34 | 6 | } |
|
35 | | |
36 | | template <typename T> |
37 | 42.8M | static bool less_equal(const T& a, const T& b) { |
38 | 42.8M | return a <= b; |
39 | 42.8M | } _ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 1.48M | static bool less_equal(const T& a, const T& b) { | 38 | 1.48M | return a <= b; | 39 | 1.48M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 186k | static bool less_equal(const T& a, const T& b) { | 38 | 186k | return a <= b; | 39 | 186k | } |
_ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 27.0M | static bool less_equal(const T& a, const T& b) { | 38 | 27.0M | return a <= b; | 39 | 27.0M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 1.00M | static bool less_equal(const T& a, const T& b) { | 38 | 1.00M | return a <= b; | 39 | 1.00M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 318k | static bool less_equal(const T& a, const T& b) { | 38 | 318k | return a <= b; | 39 | 318k | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 37 | 7 | static bool less_equal(const T& a, const T& b) { | 38 | 7 | return a <= b; | 39 | 7 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 37 | 137 | static bool less_equal(const T& a, const T& b) { | 38 | 137 | return a <= b; | 39 | 137 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.40M | static bool less_equal(const T& a, const T& b) { | 38 | 4.40M | return a <= b; | 39 | 4.40M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 354k | static bool less_equal(const T& a, const T& b) { | 38 | 354k | return a <= b; | 39 | 354k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 160 | static bool less_equal(const T& a, const T& b) { | 38 | 160 | return a <= b; | 39 | 160 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 222k | static bool less_equal(const T& a, const T& b) { | 38 | 222k | return a <= b; | 39 | 222k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 331k | static bool less_equal(const T& a, const T& b) { | 38 | 331k | return a <= b; | 39 | 331k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.17M | static bool less_equal(const T& a, const T& b) { | 38 | 5.17M | return a <= b; | 39 | 5.17M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 1.81M | static bool less_equal(const T& a, const T& b) { | 38 | 1.81M | return a <= b; | 39 | 1.81M | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 775 | static bool less_equal(const T& a, const T& b) { | 38 | 775 | return a <= b; | 39 | 775 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 341k | static bool less_equal(const T& a, const T& b) { | 38 | 341k | return a <= b; | 39 | 341k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 270 | static bool less_equal(const T& a, const T& b) { | 38 | 270 | return a <= b; | 39 | 270 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 173 | static bool less_equal(const T& a, const T& b) { | 38 | 173 | return a <= b; | 39 | 173 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 147k | static bool less_equal(const T& a, const T& b) { | 38 | 147k | return a <= b; | 39 | 147k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 37 | 136 | static bool less_equal(const T& a, const T& b) { | 38 | 136 | return a <= b; | 39 | 136 | } |
|
40 | | template <typename T> |
41 | 44.1M | static bool greater_equal(const T& a, const T& b) { |
42 | 44.1M | return a >= b; |
43 | 44.1M | } _ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 1.60M | static bool greater_equal(const T& a, const T& b) { | 42 | 1.60M | return a >= b; | 43 | 1.60M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 205k | static bool greater_equal(const T& a, const T& b) { | 42 | 205k | return a >= b; | 43 | 205k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 23.1M | static bool greater_equal(const T& a, const T& b) { | 42 | 23.1M | return a >= b; | 43 | 23.1M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 852k | static bool greater_equal(const T& a, const T& b) { | 42 | 852k | return a >= b; | 43 | 852k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 289k | static bool greater_equal(const T& a, const T& b) { | 42 | 289k | return a >= b; | 43 | 289k | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 41 | 7 | static bool greater_equal(const T& a, const T& b) { | 42 | 7 | return a >= b; | 43 | 7 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 41 | 103 | static bool greater_equal(const T& a, const T& b) { | 42 | 103 | return a >= b; | 43 | 103 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.01M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.01M | return a >= b; | 43 | 2.01M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 191k | static bool greater_equal(const T& a, const T& b) { | 42 | 191k | return a >= b; | 43 | 191k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 138 | static bool greater_equal(const T& a, const T& b) { | 42 | 138 | return a >= b; | 43 | 138 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 220k | static bool greater_equal(const T& a, const T& b) { | 42 | 220k | return a >= b; | 43 | 220k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 175k | static bool greater_equal(const T& a, const T& b) { | 42 | 175k | return a >= b; | 43 | 175k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 14.6M | static bool greater_equal(const T& a, const T& b) { | 42 | 14.6M | return a >= b; | 43 | 14.6M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 489k | static bool greater_equal(const T& a, const T& b) { | 42 | 489k | return a >= b; | 43 | 489k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 831 | static bool greater_equal(const T& a, const T& b) { | 42 | 831 | return a >= b; | 43 | 831 | } |
_ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 87.3k | static bool greater_equal(const T& a, const T& b) { | 42 | 87.3k | return a >= b; | 43 | 87.3k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 475 | static bool greater_equal(const T& a, const T& b) { | 42 | 475 | return a >= b; | 43 | 475 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 387 | static bool greater_equal(const T& a, const T& b) { | 42 | 387 | return a >= b; | 43 | 387 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 114k | static bool greater_equal(const T& a, const T& b) { | 42 | 114k | return a >= b; | 43 | 114k | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 151 | static bool greater_equal(const T& a, const T& b) { | 42 | 151 | return a >= b; | 43 | 151 | } |
|
44 | | template <typename T> |
45 | 97.7M | static bool equal(const T& a, const T& b) { |
46 | 97.7M | return a == b; |
47 | 97.7M | } _ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 66.3M | static bool equal(const T& a, const T& b) { | 46 | 66.3M | return a == b; | 47 | 66.3M | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.39M | static bool equal(const T& a, const T& b) { | 46 | 1.39M | return a == b; | 47 | 1.39M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 407k | static bool equal(const T& a, const T& b) { | 46 | 407k | return a == b; | 47 | 407k | } |
_ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 23.2M | static bool equal(const T& a, const T& b) { | 46 | 23.2M | return a == b; | 47 | 23.2M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 1.36M | static bool equal(const T& a, const T& b) { | 46 | 1.36M | return a == b; | 47 | 1.36M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 806k | static bool equal(const T& a, const T& b) { | 46 | 806k | return a == b; | 47 | 806k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 773 | static bool equal(const T& a, const T& b) { | 46 | 773 | return a == b; | 47 | 773 | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 232 | static bool equal(const T& a, const T& b) { | 46 | 232 | return a == b; | 47 | 232 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 614 | static bool equal(const T& a, const T& b) { | 46 | 614 | return a == b; | 47 | 614 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 656k | static bool equal(const T& a, const T& b) { | 46 | 656k | return a == b; | 47 | 656k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 339 | static bool equal(const T& a, const T& b) { | 46 | 339 | return a == b; | 47 | 339 | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 1.48M | static bool equal(const T& a, const T& b) { | 46 | 1.48M | return a == b; | 47 | 1.48M | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 45 | 400k | static bool equal(const T& a, const T& b) { | 46 | 400k | return a == b; | 47 | 400k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 534k | static bool equal(const T& a, const T& b) { | 46 | 534k | return a == b; | 47 | 534k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 201k | static bool equal(const T& a, const T& b) { | 46 | 201k | return a == b; | 47 | 201k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 45 | 21.4k | static bool equal(const T& a, const T& b) { | 46 | 21.4k | return a == b; | 47 | 21.4k | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 267 | static bool equal(const T& a, const T& b) { | 46 | 267 | return a == b; | 47 | 267 | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.92k | static bool equal(const T& a, const T& b) { | 46 | 1.92k | return a == b; | 47 | 1.92k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 1.70k | static bool equal(const T& a, const T& b) { | 46 | 1.70k | return a == b; | 47 | 1.70k | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 822k | static bool equal(const T& a, const T& b) { | 46 | 822k | return a == b; | 47 | 822k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 45 | 41 | static bool equal(const T& a, const T& b) { | 46 | 41 | return a == b; | 47 | 41 | } |
|
48 | | template <typename T> |
49 | 682k | static bool not_equal(const T& a, const T& b) { |
50 | 682k | return a != b; |
51 | 682k | } _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 601 | static bool not_equal(const T& a, const T& b) { | 50 | 601 | return a != b; | 51 | 601 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 2.89k | static bool not_equal(const T& a, const T& b) { | 50 | 2.89k | return a != b; | 51 | 2.89k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 49 | 44 | static bool not_equal(const T& a, const T& b) { | 50 | 44 | return a != b; | 51 | 44 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 49 | 439k | static bool not_equal(const T& a, const T& b) { | 50 | 439k | return a != b; | 51 | 439k | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 235k | static bool not_equal(const T& a, const T& b) { | 50 | 235k | return a != b; | 51 | 235k | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 49 | 623 | static bool not_equal(const T& a, const T& b) { | 50 | 623 | return a != b; | 51 | 623 | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 49 | 48 | static bool not_equal(const T& a, const T& b) { | 50 | 48 | return a != b; | 51 | 48 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 49 | 18 | static bool not_equal(const T& a, const T& b) { | 50 | 18 | return a != b; | 51 | 18 | } |
_ZN5doris7Compare9not_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 49 | 66 | static bool not_equal(const T& a, const T& b) { | 50 | 66 | return a != b; | 51 | 66 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 49 | 246 | static bool not_equal(const T& a, const T& b) { | 50 | 246 | return a != b; | 51 | 246 | } |
_ZN5doris7Compare9not_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 49 | 327 | static bool not_equal(const T& a, const T& b) { | 50 | 327 | return a != b; | 51 | 327 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 49 | 66 | static bool not_equal(const T& a, const T& b) { | 50 | 66 | return a != b; | 51 | 66 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 226 | static bool not_equal(const T& a, const T& b) { | 50 | 226 | return a != b; | 51 | 226 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 59 | static bool not_equal(const T& a, const T& b) { | 50 | 59 | return a != b; | 51 | 59 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 49 | 1.82k | static bool not_equal(const T& a, const T& b) { | 50 | 1.82k | return a != b; | 51 | 1.82k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIjEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIoEEbRKT_S4_ _ZN5doris7Compare9not_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 49 | 363 | static bool not_equal(const T& a, const T& b) { | 50 | 363 | return a != b; | 51 | 363 | } |
|
52 | | |
53 | | template <typename T> |
54 | 641M | static int compare(const T& a, const T& b) { |
55 | 641M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 641M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 5.34M | static int compare(const T& a, const T& b) { | 55 | 5.34M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 5.34M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 19.5k | static int compare(const T& a, const T& b) { | 55 | 19.5k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 19.5k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 129M | static int compare(const T& a, const T& b) { | 55 | 129M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 129M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 54 | 11.6M | static int compare(const T& a, const T& b) { | 55 | 11.6M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 11.6M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 360M | static int compare(const T& a, const T& b) { | 55 | 360M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 360M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 15.1M | static int compare(const T& a, const T& b) { | 55 | 15.1M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 15.1M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 48.0M | static int compare(const T& a, const T& b) { | 55 | 48.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 48.0M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 7.14k | static int compare(const T& a, const T& b) { | 55 | 7.14k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 7.14k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.98k | static int compare(const T& a, const T& b) { | 55 | 4.98k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.98k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 12.9M | static int compare(const T& a, const T& b) { | 55 | 12.9M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.9M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 13.6M | static int compare(const T& a, const T& b) { | 55 | 13.6M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 13.6M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 20.1M | static int compare(const T& a, const T& b) { | 55 | 20.1M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 20.1M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.66k | static int compare(const T& a, const T& b) { | 55 | 2.66k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.66k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 54 | 23.5k | static int compare(const T& a, const T& b) { | 55 | 23.5k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 23.5k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 54 | 212k | static int compare(const T& a, const T& b) { | 55 | 212k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 212k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 54 | 167k | static int compare(const T& a, const T& b) { | 55 | 167k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 167k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 23.9M | static int compare(const T& a, const T& b) { | 55 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 23.9M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 98.0k | static int compare(const T& a, const T& b) { | 55 | 98.0k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 98.0k | } |
|
57 | | |
58 | | template <typename T> |
59 | 8.25M | static T min(const T& a, const T& b) { |
60 | 8.25M | return less(a, b) ? a : b; |
61 | 8.25M | } _ZN5doris7Compare3minINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 59 | 5 | static T min(const T& a, const T& b) { | 60 | 5 | return less(a, b) ? a : b; | 61 | 5 | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 1.97M | static T min(const T& a, const T& b) { | 60 | 1.97M | return less(a, b) ? a : b; | 61 | 1.97M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 2.97k | static T min(const T& a, const T& b) { | 60 | 2.97k | return less(a, b) ? a : b; | 61 | 2.97k | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.75k | static T min(const T& a, const T& b) { | 60 | 2.75k | return less(a, b) ? a : b; | 61 | 2.75k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 17.8k | static T min(const T& a, const T& b) { | 60 | 17.8k | return less(a, b) ? a : b; | 61 | 17.8k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 59 | 31 | static T min(const T& a, const T& b) { | 60 | 31 | return less(a, b) ? a : b; | 61 | 31 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 59 | 31 | static T min(const T& a, const T& b) { | 60 | 31 | return less(a, b) ? a : b; | 61 | 31 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 59 | 414 | static T min(const T& a, const T& b) { | 60 | 414 | return less(a, b) ? a : b; | 61 | 414 | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 1.24k | static T min(const T& a, const T& b) { | 60 | 1.24k | return less(a, b) ? a : b; | 61 | 1.24k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 1.24k | static T min(const T& a, const T& b) { | 60 | 1.24k | return less(a, b) ? a : b; | 61 | 1.24k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 59 | 3.46M | static T min(const T& a, const T& b) { | 60 | 3.46M | return less(a, b) ? a : b; | 61 | 3.46M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 59 | 96.1k | static T min(const T& a, const T& b) { | 60 | 96.1k | return less(a, b) ? a : b; | 61 | 96.1k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 1.01k | static T min(const T& a, const T& b) { | 60 | 1.01k | return less(a, b) ? a : b; | 61 | 1.01k | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 862 | static T min(const T& a, const T& b) { | 60 | 862 | return less(a, b) ? a : b; | 61 | 862 | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 638 | static T min(const T& a, const T& b) { | 60 | 638 | return less(a, b) ? a : b; | 61 | 638 | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 59 | 2.68M | static T min(const T& a, const T& b) { | 60 | 2.68M | return less(a, b) ? a : b; | 61 | 2.68M | } |
_ZN5doris7Compare3minINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 59 | 4.09k | static T min(const T& a, const T& b) { | 60 | 4.09k | return less(a, b) ? a : b; | 61 | 4.09k | } |
_ZN5doris7Compare3minINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 59 | 10.0k | static T min(const T& a, const T& b) { | 60 | 10.0k | return less(a, b) ? a : b; | 61 | 10.0k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 59 | 360 | static T min(const T& a, const T& b) { | 60 | 360 | return less(a, b) ? a : b; | 61 | 360 | } |
|
62 | | |
63 | | template <typename T> |
64 | 9.07M | static T max(const T& a, const T& b) { |
65 | 9.07M | return greater(a, b) ? a : b; |
66 | 9.07M | } _ZN5doris7Compare3maxINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 64 | 5 | static T max(const T& a, const T& b) { | 65 | 5 | return greater(a, b) ? a : b; | 66 | 5 | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 1.97M | static T max(const T& a, const T& b) { | 65 | 1.97M | return greater(a, b) ? a : b; | 66 | 1.97M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 5.43k | static T max(const T& a, const T& b) { | 65 | 5.43k | return greater(a, b) ? a : b; | 66 | 5.43k | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.75k | static T max(const T& a, const T& b) { | 65 | 2.75k | return greater(a, b) ? a : b; | 66 | 2.75k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 3.95k | static T max(const T& a, const T& b) { | 65 | 3.95k | return greater(a, b) ? a : b; | 66 | 3.95k | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 64 | 27 | static T max(const T& a, const T& b) { | 65 | 27 | return greater(a, b) ? a : b; | 66 | 27 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 64 | 27 | static T max(const T& a, const T& b) { | 65 | 27 | return greater(a, b) ? a : b; | 66 | 27 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 64 | 1.33k | static T max(const T& a, const T& b) { | 65 | 1.33k | return greater(a, b) ? a : b; | 66 | 1.33k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 3.43k | static T max(const T& a, const T& b) { | 65 | 3.43k | return greater(a, b) ? a : b; | 66 | 3.43k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 3.40k | static T max(const T& a, const T& b) { | 65 | 3.40k | return greater(a, b) ? a : b; | 66 | 3.40k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 4.25M | static T max(const T& a, const T& b) { | 65 | 4.25M | return greater(a, b) ? a : b; | 66 | 4.25M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 107k | static T max(const T& a, const T& b) { | 65 | 107k | return greater(a, b) ? a : b; | 66 | 107k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 3.11k | static T max(const T& a, const T& b) { | 65 | 3.11k | return greater(a, b) ? a : b; | 66 | 3.11k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 2.95k | static T max(const T& a, const T& b) { | 65 | 2.95k | return greater(a, b) ? a : b; | 66 | 2.95k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 11.8k | static T max(const T& a, const T& b) { | 65 | 11.8k | return greater(a, b) ? a : b; | 66 | 11.8k | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 64 | 2.68M | static T max(const T& a, const T& b) { | 65 | 2.68M | return greater(a, b) ? a : b; | 66 | 2.68M | } |
_ZN5doris7Compare3maxINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 64 | 4.09k | static T max(const T& a, const T& b) { | 65 | 4.09k | return greater(a, b) ? a : b; | 66 | 4.09k | } |
_ZN5doris7Compare3maxINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 64 | 13.2k | static T max(const T& a, const T& b) { | 65 | 13.2k | return greater(a, b) ? a : b; | 66 | 13.2k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 64 | 356 | static T max(const T& a, const T& b) { | 65 | 356 | return greater(a, b) ? a : b; | 66 | 356 | } |
|
67 | | |
68 | | template <typename T> |
69 | 1.10M | static T min_value() { |
70 | 1.10M | return type_limit<T>::min(); |
71 | 1.10M | } _ZN5doris7Compare9min_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 69 | 1 | static T min_value() { | 70 | 1 | return type_limit<T>::min(); | 71 | 1 | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 69 | 5.63k | static T min_value() { | 70 | 5.63k | return type_limit<T>::min(); | 71 | 5.63k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 2.83k | static T min_value() { | 70 | 2.83k | return type_limit<T>::min(); | 71 | 2.83k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 69 | 2.03k | static T min_value() { | 70 | 2.03k | return type_limit<T>::min(); | 71 | 2.03k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 69 | 2.47k | static T min_value() { | 70 | 2.47k | return type_limit<T>::min(); | 71 | 2.47k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 29 | static T min_value() { | 70 | 29 | return type_limit<T>::min(); | 71 | 29 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 29 | static T min_value() { | 70 | 29 | return type_limit<T>::min(); | 71 | 29 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 234 | static T min_value() { | 70 | 234 | return type_limit<T>::min(); | 71 | 234 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 2.02k | static T min_value() { | 70 | 2.02k | return type_limit<T>::min(); | 71 | 2.02k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 2.57k | static T min_value() { | 70 | 2.57k | return type_limit<T>::min(); | 71 | 2.57k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 1.01M | static T min_value() { | 70 | 1.01M | return type_limit<T>::min(); | 71 | 1.01M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 46.7k | static T min_value() { | 70 | 46.7k | return type_limit<T>::min(); | 71 | 46.7k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 2.17k | static T min_value() { | 70 | 2.17k | return type_limit<T>::min(); | 71 | 2.17k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 2.28k | static T min_value() { | 70 | 2.28k | return type_limit<T>::min(); | 71 | 2.28k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 6.27k | static T min_value() { | 70 | 6.27k | return type_limit<T>::min(); | 71 | 6.27k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 6.58k | static T min_value() { | 70 | 6.58k | return type_limit<T>::min(); | 71 | 6.58k | } |
_ZN5doris7Compare9min_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 69 | 4.09k | static T min_value() { | 70 | 4.09k | return type_limit<T>::min(); | 71 | 4.09k | } |
_ZN5doris7Compare9min_valueINS_12Decimal128V3EEET_v Line | Count | Source | 69 | 2.23k | static T min_value() { | 70 | 2.23k | return type_limit<T>::min(); | 71 | 2.23k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 185 | static T min_value() { | 70 | 185 | return type_limit<T>::min(); | 71 | 185 | } |
|
72 | | |
73 | | template <typename T> |
74 | 276k | static T max_value() { |
75 | 276k | return type_limit<T>::max(); |
76 | 276k | } _ZN5doris7Compare9max_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 74 | 1 | static T max_value() { | 75 | 1 | return type_limit<T>::max(); | 76 | 1 | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 74 | 4.78k | static T max_value() { | 75 | 4.78k | return type_limit<T>::max(); | 76 | 4.78k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 647 | static T max_value() { | 75 | 647 | return type_limit<T>::max(); | 76 | 647 | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 74 | 2.03k | static T max_value() { | 75 | 2.03k | return type_limit<T>::max(); | 76 | 2.03k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 74 | 26 | static T max_value() { | 75 | 26 | return type_limit<T>::max(); | 76 | 26 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 74 | 26 | static T max_value() { | 75 | 26 | return type_limit<T>::max(); | 76 | 26 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 74 | 112 | static T max_value() { | 75 | 112 | return type_limit<T>::max(); | 76 | 112 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 504 | static T max_value() { | 75 | 504 | return type_limit<T>::max(); | 76 | 504 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 303 | static T max_value() { | 75 | 303 | return type_limit<T>::max(); | 76 | 303 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 74 | 212k | static T max_value() { | 75 | 212k | return type_limit<T>::max(); | 76 | 212k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 74 | 44.7k | static T max_value() { | 75 | 44.7k | return type_limit<T>::max(); | 76 | 44.7k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 357 | static T max_value() { | 75 | 357 | return type_limit<T>::max(); | 76 | 357 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 148 | static T max_value() { | 75 | 148 | return type_limit<T>::max(); | 76 | 148 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 4.78k | static T max_value() { | 75 | 4.78k | return type_limit<T>::max(); | 76 | 4.78k | } |
_ZN5doris7Compare9max_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 74 | 4.09k | static T max_value() { | 75 | 4.09k | return type_limit<T>::max(); | 76 | 4.09k | } |
_ZN5doris7Compare9max_valueINS_12Decimal128V3EEET_v Line | Count | Source | 74 | 804 | static T max_value() { | 75 | 804 | return type_limit<T>::max(); | 76 | 804 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 182 | static T max_value() { | 75 | 182 | return type_limit<T>::max(); | 76 | 182 | } |
|
77 | | }; |
78 | | |
79 | | template <typename T> |
80 | 1.28M | bool EqualsFloat(T left, T right) { |
81 | 1.28M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
82 | 171 | return true; |
83 | 171 | } |
84 | 1.28M | return left == right; |
85 | 1.28M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 619 | bool EqualsFloat(T left, T right) { | 81 | 619 | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 7 | return true; | 83 | 7 | } | 84 | 612 | return left == right; | 85 | 619 | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 80 | 1.28M | bool EqualsFloat(T left, T right) { | 81 | 1.28M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 164 | return true; | 83 | 164 | } | 84 | 1.28M | return left == right; | 85 | 1.28M | } |
|
86 | | |
87 | | template <typename T> |
88 | 882k | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 882k | bool left_is_nan = std::isnan(left); |
91 | 882k | bool right_is_nan = std::isnan(right); |
92 | 882k | if (UNLIKELY(right_is_nan)) { |
93 | 376 | return false; |
94 | 376 | } |
95 | 881k | if (UNLIKELY(left_is_nan)) { |
96 | 17.0k | return true; |
97 | 17.0k | } |
98 | 864k | return left > right; |
99 | 881k | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 15.5k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 15.5k | bool left_is_nan = std::isnan(left); | 91 | 15.5k | bool right_is_nan = std::isnan(right); | 92 | 15.5k | if (UNLIKELY(right_is_nan)) { | 93 | 63 | return false; | 94 | 63 | } | 95 | 15.5k | if (UNLIKELY(left_is_nan)) { | 96 | 7.14k | return true; | 97 | 7.14k | } | 98 | 8.36k | return left > right; | 99 | 15.5k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 866k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 866k | bool left_is_nan = std::isnan(left); | 91 | 866k | bool right_is_nan = std::isnan(right); | 92 | 866k | if (UNLIKELY(right_is_nan)) { | 93 | 313 | return false; | 94 | 313 | } | 95 | 866k | if (UNLIKELY(left_is_nan)) { | 96 | 9.86k | return true; | 97 | 9.86k | } | 98 | 856k | return left > right; | 99 | 866k | } |
|
100 | | |
101 | | template <typename T> |
102 | 1.20M | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 1.20M | bool left_is_nan = std::isnan(left); |
105 | 1.20M | bool right_is_nan = std::isnan(right); |
106 | 1.20M | if (UNLIKELY(right_is_nan)) { |
107 | 359 | return left_is_nan; |
108 | 359 | } |
109 | 1.20M | if (UNLIKELY(left_is_nan)) { |
110 | 524 | return true; |
111 | 524 | } |
112 | 1.20M | return left >= right; |
113 | 1.20M | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 404 | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 404 | bool left_is_nan = std::isnan(left); | 105 | 404 | bool right_is_nan = std::isnan(right); | 106 | 404 | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 356 | if (UNLIKELY(left_is_nan)) { | 110 | 84 | return true; | 111 | 84 | } | 112 | 272 | return left >= right; | 113 | 356 | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 1.20M | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.20M | bool left_is_nan = std::isnan(left); | 105 | 1.20M | bool right_is_nan = std::isnan(right); | 106 | 1.20M | if (UNLIKELY(right_is_nan)) { | 107 | 311 | return left_is_nan; | 108 | 311 | } | 109 | 1.20M | if (UNLIKELY(left_is_nan)) { | 110 | 440 | return true; | 111 | 440 | } | 112 | 1.20M | return left >= right; | 113 | 1.20M | } |
|
114 | | |
115 | | template <typename T> |
116 | 44.9M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 44.9M | bool left_is_nan = std::isnan(left); |
119 | 44.9M | bool right_is_nan = std::isnan(right); |
120 | 44.9M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
121 | 5.14k | if (left_is_nan && right_is_nan) { |
122 | 1.88k | return 0; |
123 | 1.88k | } |
124 | 3.25k | if (left_is_nan) { |
125 | 884 | return 1; |
126 | 2.37k | } else { |
127 | 2.37k | return -1; |
128 | 2.37k | } |
129 | 3.25k | } |
130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 44.9M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 17.8M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 17.8M | bool left_is_nan = std::isnan(left); | 119 | 17.8M | bool right_is_nan = std::isnan(right); | 120 | 17.8M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.34k | if (left_is_nan && right_is_nan) { | 122 | 844 | return 0; | 123 | 844 | } | 124 | 1.50k | if (left_is_nan) { | 125 | 405 | return 1; | 126 | 1.09k | } else { | 127 | 1.09k | return -1; | 128 | 1.09k | } | 129 | 1.50k | } | 130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 17.8M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 27.0M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 27.0M | bool left_is_nan = std::isnan(left); | 119 | 27.0M | bool right_is_nan = std::isnan(right); | 120 | 27.0M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.80k | if (left_is_nan && right_is_nan) { | 122 | 1.04k | return 0; | 123 | 1.04k | } | 124 | 1.75k | if (left_is_nan) { | 125 | 479 | return 1; | 126 | 1.27k | } else { | 127 | 1.27k | return -1; | 128 | 1.27k | } | 129 | 1.75k | } | 130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 27.0M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 2.02k | inline bool Compare::less(const float& a, const float& b) { |
136 | 2.02k | return GreaterThanFloat(b, a); |
137 | 2.02k | } |
138 | | template <> |
139 | 13.5k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 13.5k | return GreaterThanFloat(a, b); |
141 | 13.5k | } |
142 | | template <> |
143 | 191 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 191 | return GreaterThanEqualsFloat(b, a); |
145 | 191 | } |
146 | | template <> |
147 | 213 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 213 | return GreaterThanEqualsFloat(a, b); |
149 | 213 | } |
150 | | template <> |
151 | 430 | inline bool Compare::equal(const float& a, const float& b) { |
152 | 430 | return EqualsFloat(a, b); |
153 | 430 | } |
154 | | template <> |
155 | 189 | inline bool Compare::not_equal(const float& a, const float& b) { |
156 | 189 | return !EqualsFloat(a, b); |
157 | 189 | } |
158 | | template <> |
159 | 17.8M | inline int Compare::compare(const float& a, const float& b) { |
160 | 17.8M | return CompareFloat(a, b); |
161 | 17.8M | } |
162 | | template <> |
163 | 168 | inline float Compare::max_value<float>() { |
164 | 168 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 168 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 673k | inline bool Compare::less(const double& a, const double& b) { |
170 | 673k | return GreaterThanFloat(b, a); |
171 | 673k | } |
172 | | template <> |
173 | 192k | inline bool Compare::greater(const double& a, const double& b) { |
174 | 192k | return GreaterThanFloat(a, b); |
175 | 192k | } |
176 | | template <> |
177 | 602k | inline bool Compare::less_equal(const double& a, const double& b) { |
178 | 602k | return GreaterThanEqualsFloat(b, a); |
179 | 602k | } |
180 | | template <> |
181 | 602k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 602k | return GreaterThanEqualsFloat(a, b); |
183 | 602k | } |
184 | | template <> |
185 | 1.28M | inline bool Compare::equal(const double& a, const double& b) { |
186 | 1.28M | return EqualsFloat(a, b); |
187 | 1.28M | } |
188 | | template <> |
189 | 554 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 554 | return !EqualsFloat(a, b); |
191 | 554 | } |
192 | | template <> |
193 | 27.0M | inline int Compare::compare(const double& a, const double& b) { |
194 | 27.0M | return CompareFloat(a, b); |
195 | 27.0M | } |
196 | | template <> |
197 | 492 | inline double Compare::max_value<double>() { |
198 | 492 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 492 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 977k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 400 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 2.56k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 909k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 3.69k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 104 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 50 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 45 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 203 | 57.1k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 268 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 2.09k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 193 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 877 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
Unexecuted instantiation: _ZNK5doris4LessINS_14DecimalV2ValueEEclERKS1_S4_ _ZNK5doris4LessIhEclERKhS3_ Line | Count | Source | 203 | 65 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
Unexecuted instantiation: _ZNK5doris4LessINS_9StringRefEEclERKS1_S4_ _ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 203 | 128 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 193 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 96 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 203 | 45 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
204 | | }; |
205 | | template <> |
206 | 240 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 240 | return Compare::less(lhs, rhs); |
208 | 240 | } |
209 | | template <> |
210 | 18 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 18 | return Compare::less(lhs, rhs); |
212 | 18 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 72.3M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 20.6M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 4.57k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 4.75k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 3.28M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 38.1M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 74 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 216 | 34 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 216 | 3.65k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 216 | 278 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 216 | 645 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 216 | 74.8k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 5.82M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 216 | 12 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 216 | 32 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 216 | 14 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 216 | 106 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 170 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 973 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 216 | 16.1k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 216 | 3.77M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 71.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 992 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
Unexecuted instantiation: _ZNK5doris7EqualToIN4wide7integerILm256EiEEEclERKS3_S6_ _ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 11.2k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm256EjEEEclERKS3_S6_ Line | Count | Source | 216 | 315k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 132k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 216 | 13.6k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt104EEclERKS1_S4_ Line | Count | Source | 216 | 1.66k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 216 | 4.13k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
217 | | }; |
218 | | template <> |
219 | 45 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 45 | return Compare::equal(lhs, rhs); |
221 | 45 | } |
222 | | template <> |
223 | 156 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
224 | 156 | return Compare::equal(lhs, rhs); |
225 | 156 | } |
226 | | |
227 | | template <typename T> |
228 | | requires(std::is_floating_point_v<T>) |
229 | 458k | void NormalizeFloat(T& val) { |
230 | 458k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 53.4k | val = (T)0.0; |
233 | 405k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 458k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 6.98k | void NormalizeFloat(T& val) { | 230 | 6.98k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 735 | val = (T)0.0; | 233 | 6.24k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 6.98k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 451k | void NormalizeFloat(T& val) { | 230 | 451k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 52.7k | val = (T)0.0; | 233 | 399k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 451k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |