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 | 88.0M | static bool less(const T& a, const T& b) { |
29 | 88.0M | return a < b; |
30 | 88.0M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 15.9M | static bool less(const T& a, const T& b) { | 29 | 15.9M | return a < b; | 30 | 15.9M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 661k | static bool less(const T& a, const T& b) { | 29 | 661k | return a < b; | 30 | 661k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 263k | static bool less(const T& a, const T& b) { | 29 | 263k | return a < b; | 30 | 263k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 28 | 975 | static bool less(const T& a, const T& b) { | 29 | 975 | return a < b; | 30 | 975 | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 16.2k | static bool less(const T& a, const T& b) { | 29 | 16.2k | return a < b; | 30 | 16.2k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 32.3k | static bool less(const T& a, const T& b) { | 29 | 32.3k | return a < b; | 30 | 32.3k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 29.7k | static bool less(const T& a, const T& b) { | 29 | 29.7k | return a < b; | 30 | 29.7k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 2.17k | static bool less(const T& a, const T& b) { | 29 | 2.17k | return a < b; | 30 | 2.17k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 2.19k | static bool less(const T& a, const T& b) { | 29 | 2.19k | return a < b; | 30 | 2.19k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 2.61k | static bool less(const T& a, const T& b) { | 29 | 2.61k | return a < b; | 30 | 2.61k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 16.1M | static bool less(const T& a, const T& b) { | 29 | 16.1M | return a < b; | 30 | 16.1M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 45.3M | static bool less(const T& a, const T& b) { | 29 | 45.3M | return a < b; | 30 | 45.3M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 8.13k | static bool less(const T& a, const T& b) { | 29 | 8.13k | return a < b; | 30 | 8.13k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 2.19M | static bool less(const T& a, const T& b) { | 29 | 2.19M | return a < b; | 30 | 2.19M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 6.56M | static bool less(const T& a, const T& b) { | 29 | 6.56M | return a < b; | 30 | 6.56M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.31k | static bool less(const T& a, const T& b) { | 29 | 4.31k | return a < b; | 30 | 4.31k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 762k | static bool less(const T& a, const T& b) { | 29 | 762k | return a < b; | 30 | 762k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 3.01k | static bool less(const T& a, const T& b) { | 29 | 3.01k | return a < b; | 30 | 3.01k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 28 | 75 | static bool less(const T& a, const T& b) { | 29 | 75 | return a < b; | 30 | 75 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 28 | 112k | static bool less(const T& a, const T& b) { | 29 | 112k | return a < b; | 30 | 112k | } |
|
31 | | template <typename T> |
32 | 146M | static bool greater(const T& a, const T& b) { |
33 | 146M | return a > b; |
34 | 146M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 34.1k | static bool greater(const T& a, const T& b) { | 33 | 34.1k | return a > b; | 34 | 34.1k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 294k | static bool greater(const T& a, const T& b) { | 33 | 294k | return a > b; | 34 | 294k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 72.9k | static bool greater(const T& a, const T& b) { | 33 | 72.9k | return a > b; | 34 | 72.9k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 25.1M | static bool greater(const T& a, const T& b) { | 33 | 25.1M | return a > b; | 34 | 25.1M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 48.2M | static bool greater(const T& a, const T& b) { | 33 | 48.2M | return a > b; | 34 | 48.2M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 913k | static bool greater(const T& a, const T& b) { | 33 | 913k | return a > b; | 34 | 913k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 32 | 2.19k | static bool greater(const T& a, const T& b) { | 33 | 2.19k | return a > b; | 34 | 2.19k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.18k | static bool greater(const T& a, const T& b) { | 33 | 2.18k | return a > b; | 34 | 2.18k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 6.16k | static bool greater(const T& a, const T& b) { | 33 | 6.16k | return a > b; | 34 | 6.16k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 17.0M | static bool greater(const T& a, const T& b) { | 33 | 17.0M | return a > b; | 34 | 17.0M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 46.7M | static bool greater(const T& a, const T& b) { | 33 | 46.7M | return a > b; | 34 | 46.7M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 19.2k | static bool greater(const T& a, const T& b) { | 33 | 19.2k | return a > b; | 34 | 19.2k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 2.94M | static bool greater(const T& a, const T& b) { | 33 | 2.94M | return a > b; | 34 | 2.94M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 4.26M | static bool greater(const T& a, const T& b) { | 33 | 4.26M | return a > b; | 34 | 4.26M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 5.08k | static bool greater(const T& a, const T& b) { | 33 | 5.08k | return a > b; | 34 | 5.08k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 27.9k | static bool greater(const T& a, const T& b) { | 33 | 27.9k | return a > b; | 34 | 27.9k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 2.62k | static bool greater(const T& a, const T& b) { | 33 | 2.62k | return a > b; | 34 | 2.62k | } |
_ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 32 | 6 | static bool greater(const T& a, const T& b) { | 33 | 6 | return a > b; | 34 | 6 | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 927 | static bool greater(const T& a, const T& b) { | 33 | 927 | return a > b; | 34 | 927 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 1.21M | static bool greater(const T& a, const T& b) { | 33 | 1.21M | return a > b; | 34 | 1.21M | } |
|
35 | | |
36 | | template <typename T> |
37 | 91.5M | static bool less_equal(const T& a, const T& b) { |
38 | 91.5M | return a <= b; |
39 | 91.5M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 70.4M | static bool less_equal(const T& a, const T& b) { | 38 | 70.4M | return a <= b; | 39 | 70.4M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 5.69M | static bool less_equal(const T& a, const T& b) { | 38 | 5.69M | return a <= b; | 39 | 5.69M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 454k | static bool less_equal(const T& a, const T& b) { | 38 | 454k | return a <= b; | 39 | 454k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 37 | 118 | static bool less_equal(const T& a, const T& b) { | 38 | 118 | return a <= b; | 39 | 118 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 395k | static bool less_equal(const T& a, const T& b) { | 38 | 395k | return a <= b; | 39 | 395k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 2.10M | static bool less_equal(const T& a, const T& b) { | 38 | 2.10M | return a <= b; | 39 | 2.10M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 301k | static bool less_equal(const T& a, const T& b) { | 38 | 301k | return a <= b; | 39 | 301k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 220 | static bool less_equal(const T& a, const T& b) { | 38 | 220 | return a <= b; | 39 | 220 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 125 | static bool less_equal(const T& a, const T& b) { | 38 | 125 | return a <= b; | 39 | 125 | } |
_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 | 235 | static bool less_equal(const T& a, const T& b) { | 38 | 235 | return a <= b; | 39 | 235 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.84M | static bool less_equal(const T& a, const T& b) { | 38 | 4.84M | return a <= b; | 39 | 4.84M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 440k | static bool less_equal(const T& a, const T& b) { | 38 | 440k | return a <= b; | 39 | 440k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 180 | static bool less_equal(const T& a, const T& b) { | 38 | 180 | return a <= b; | 39 | 180 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 361k | static bool less_equal(const T& a, const T& b) { | 38 | 361k | return a <= b; | 39 | 361k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 549k | static bool less_equal(const T& a, const T& b) { | 38 | 549k | return a <= b; | 39 | 549k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.55M | static bool less_equal(const T& a, const T& b) { | 38 | 5.55M | return a <= b; | 39 | 5.55M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 132k | static bool less_equal(const T& a, const T& b) { | 38 | 132k | return a <= b; | 39 | 132k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 901 | static bool less_equal(const T& a, const T& b) { | 38 | 901 | return a <= b; | 39 | 901 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 244k | static bool less_equal(const T& a, const T& b) { | 38 | 244k | return a <= b; | 39 | 244k | } |
|
40 | | template <typename T> |
41 | 91.4M | static bool greater_equal(const T& a, const T& b) { |
42 | 91.4M | return a >= b; |
43 | 91.4M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 361k | static bool greater_equal(const T& a, const T& b) { | 42 | 361k | return a >= b; | 43 | 361k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 2.06M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.06M | return a >= b; | 43 | 2.06M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 289k | static bool greater_equal(const T& a, const T& b) { | 42 | 289k | return a >= b; | 43 | 289k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 66.9M | static bool greater_equal(const T& a, const T& b) { | 42 | 66.9M | return a >= b; | 43 | 66.9M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 476k | static bool greater_equal(const T& a, const T& b) { | 42 | 476k | return a >= b; | 43 | 476k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 423k | static bool greater_equal(const T& a, const T& b) { | 42 | 423k | return a >= b; | 43 | 423k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 307 | static bool greater_equal(const T& a, const T& b) { | 42 | 307 | return a >= b; | 43 | 307 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 220 | static bool greater_equal(const T& a, const T& b) { | 42 | 220 | return a >= b; | 43 | 220 | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 133 | static bool greater_equal(const T& a, const T& b) { | 42 | 133 | return a >= b; | 43 | 133 | } |
_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 | 317 | static bool greater_equal(const T& a, const T& b) { | 42 | 317 | return a >= b; | 43 | 317 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.45M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.45M | return a >= b; | 43 | 2.45M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 741k | static bool greater_equal(const T& a, const T& b) { | 42 | 741k | return a >= b; | 43 | 741k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 150 | static bool greater_equal(const T& a, const T& b) { | 42 | 150 | return a >= b; | 43 | 150 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 358k | static bool greater_equal(const T& a, const T& b) { | 42 | 358k | return a >= b; | 43 | 358k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 424k | static bool greater_equal(const T& a, const T& b) { | 42 | 424k | return a >= b; | 43 | 424k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 16.4M | static bool greater_equal(const T& a, const T& b) { | 42 | 16.4M | return a >= b; | 43 | 16.4M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 103k | static bool greater_equal(const T& a, const T& b) { | 42 | 103k | return a >= b; | 43 | 103k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 1.01k | static bool greater_equal(const T& a, const T& b) { | 42 | 1.01k | return a >= b; | 43 | 1.01k | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 252k | static bool greater_equal(const T& a, const T& b) { | 42 | 252k | return a >= b; | 43 | 252k | } |
|
44 | | template <typename T> |
45 | 122M | static bool equal(const T& a, const T& b) { |
46 | 122M | return a == b; |
47 | 122M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 44.3M | static bool equal(const T& a, const T& b) { | 46 | 44.3M | return a == b; | 47 | 44.3M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 4.18M | static bool equal(const T& a, const T& b) { | 46 | 4.18M | return a == b; | 47 | 4.18M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 813k | static bool equal(const T& a, const T& b) { | 46 | 813k | return a == b; | 47 | 813k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 45 | 41 | static bool equal(const T& a, const T& b) { | 46 | 41 | return a == b; | 47 | 41 | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 45 | 402k | static bool equal(const T& a, const T& b) { | 46 | 402k | return a == b; | 47 | 402k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 515k | static bool equal(const T& a, const T& b) { | 46 | 515k | return a == b; | 47 | 515k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 205k | static bool equal(const T& a, const T& b) { | 46 | 205k | return a == b; | 47 | 205k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 45 | 21.7k | static bool equal(const T& a, const T& b) { | 46 | 21.7k | return a == b; | 47 | 21.7k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.10k | static bool equal(const T& a, const T& b) { | 46 | 1.10k | return a == b; | 47 | 1.10k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 884 | static bool equal(const T& a, const T& b) { | 46 | 884 | return a == b; | 47 | 884 | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 3.81k | static bool equal(const T& a, const T& b) { | 46 | 3.81k | return a == b; | 47 | 3.81k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 64.7M | static bool equal(const T& a, const T& b) { | 46 | 64.7M | return a == b; | 47 | 64.7M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 439k | static bool equal(const T& a, const T& b) { | 46 | 439k | return a == b; | 47 | 439k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 535 | static bool equal(const T& a, const T& b) { | 46 | 535 | return a == b; | 47 | 535 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 763 | static bool equal(const T& a, const T& b) { | 46 | 763 | return a == b; | 47 | 763 | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 13 | static bool equal(const T& a, const T& b) { | 46 | 13 | return a == b; | 47 | 13 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 703k | static bool equal(const T& a, const T& b) { | 46 | 703k | return a == b; | 47 | 703k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 353 | static bool equal(const T& a, const T& b) { | 46 | 353 | return a == b; | 47 | 353 | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 4.55M | static bool equal(const T& a, const T& b) { | 46 | 4.55M | return a == b; | 47 | 4.55M | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.74M | static bool equal(const T& a, const T& b) { | 46 | 1.74M | return a == b; | 47 | 1.74M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 61.9k | static bool equal(const T& a, const T& b) { | 46 | 61.9k | return a == b; | 47 | 61.9k | } |
|
48 | | template <typename T> |
49 | 2.21M | static bool not_equal(const T& a, const T& b) { |
50 | 2.21M | return a != b; |
51 | 2.21M | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 1.75k | static bool not_equal(const T& a, const T& b) { | 50 | 1.75k | return a != b; | 51 | 1.75k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 49 | 816 | static bool not_equal(const T& a, const T& b) { | 50 | 816 | return a != b; | 51 | 816 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 49 | 1.69M | static bool not_equal(const T& a, const T& b) { | 50 | 1.69M | return a != b; | 51 | 1.69M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 507k | static bool not_equal(const T& a, const T& b) { | 50 | 507k | return a != b; | 51 | 507k | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 49 | 1.86k | static bool not_equal(const T& a, const T& b) { | 50 | 1.86k | return a != b; | 51 | 1.86k | } |
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 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 3.07k | static bool not_equal(const T& a, const T& b) { | 50 | 3.07k | return a != b; | 51 | 3.07k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 49 | 42 | static bool not_equal(const T& a, const T& b) { | 50 | 42 | return a != b; | 51 | 42 | } |
_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 | 312 | static bool not_equal(const T& a, const T& b) { | 50 | 312 | return a != b; | 51 | 312 | } |
_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.77k | static bool not_equal(const T& a, const T& b) { | 50 | 1.77k | return a != b; | 51 | 1.77k | } |
|
52 | | |
53 | | template <typename T> |
54 | 558M | static int compare(const T& a, const T& b) { |
55 | 558M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 558M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 4.59M | static int compare(const T& a, const T& b) { | 55 | 4.59M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.59M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 14.9k | static int compare(const T& a, const T& b) { | 55 | 14.9k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 14.9k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 111M | static int compare(const T& a, const T& b) { | 55 | 111M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 111M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 54 | 9.84M | static int compare(const T& a, const T& b) { | 55 | 9.84M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 9.84M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 321M | static int compare(const T& a, const T& b) { | 55 | 321M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 321M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 9.53M | static int compare(const T& a, const T& b) { | 55 | 9.53M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 9.53M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 50.7M | static int compare(const T& a, const T& b) { | 55 | 50.7M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 50.7M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 6.53k | static int compare(const T& a, const T& b) { | 55 | 6.53k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 6.53k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.57k | static int compare(const T& a, const T& b) { | 55 | 4.57k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.57k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 10.1M | static int compare(const T& a, const T& b) { | 55 | 10.1M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 10.1M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 9.30M | static int compare(const T& a, const T& b) { | 55 | 9.30M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 9.30M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 14.4M | static int compare(const T& a, const T& b) { | 55 | 14.4M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 14.4M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.96k | static int compare(const T& a, const T& b) { | 55 | 2.96k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.96k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 54 | 24.2k | static int compare(const T& a, const T& b) { | 55 | 24.2k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 24.2k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 54 | 446k | static int compare(const T& a, const T& b) { | 55 | 446k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 446k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 54 | 163k | static int compare(const T& a, const T& b) { | 55 | 163k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 163k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 16.4M | static int compare(const T& a, const T& b) { | 55 | 16.4M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 16.4M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 96.5k | static int compare(const T& a, const T& b) { | 55 | 96.5k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 96.5k | } |
|
57 | | |
58 | | template <typename T> |
59 | 56.8M | static T min(const T& a, const T& b) { |
60 | 56.8M | return less(a, b) ? a : b; |
61 | 56.8M | } _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.98M | static T min(const T& a, const T& b) { | 60 | 1.98M | return less(a, b) ? a : b; | 61 | 1.98M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 44.0M | static T min(const T& a, const T& b) { | 60 | 44.0M | return less(a, b) ? a : b; | 61 | 44.0M | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.56k | static T min(const T& a, const T& b) { | 60 | 2.56k | return less(a, b) ? a : b; | 61 | 2.56k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 30.0k | static T min(const T& a, const T& b) { | 60 | 30.0k | return less(a, b) ? a : b; | 61 | 30.0k | } |
_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 | 12.7k | static T min(const T& a, const T& b) { | 60 | 12.7k | return less(a, b) ? a : b; | 61 | 12.7k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 7.60k | static T min(const T& a, const T& b) { | 60 | 7.60k | return less(a, b) ? a : b; | 61 | 7.60k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 8.14k | static T min(const T& a, const T& b) { | 60 | 8.14k | return less(a, b) ? a : b; | 61 | 8.14k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 59 | 3.49M | static T min(const T& a, const T& b) { | 60 | 3.49M | return less(a, b) ? a : b; | 61 | 3.49M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 59 | 103k | static T min(const T& a, const T& b) { | 60 | 103k | return less(a, b) ? a : b; | 61 | 103k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 880 | static T min(const T& a, const T& b) { | 60 | 880 | return less(a, b) ? a : b; | 61 | 880 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 13.3k | static T min(const T& a, const T& b) { | 60 | 13.3k | return less(a, b) ? a : b; | 61 | 13.3k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 2.18M | static T min(const T& a, const T& b) { | 60 | 2.18M | return less(a, b) ? a : b; | 61 | 2.18M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 59 | 4.17M | static T min(const T& a, const T& b) { | 60 | 4.17M | return less(a, b) ? a : b; | 61 | 4.17M | } |
_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 | 760k | static T min(const T& a, const T& b) { | 60 | 760k | return less(a, b) ? a : b; | 61 | 760k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 59 | 358 | static T min(const T& a, const T& b) { | 60 | 358 | return less(a, b) ? a : b; | 61 | 358 | } |
|
62 | | |
63 | | template <typename T> |
64 | 76.1M | static T max(const T& a, const T& b) { |
65 | 76.1M | return greater(a, b) ? a : b; |
66 | 76.1M | } _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 | 13.9M | static T max(const T& a, const T& b) { | 65 | 13.9M | return greater(a, b) ? a : b; | 66 | 13.9M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 44.0M | static T max(const T& a, const T& b) { | 65 | 44.0M | return greater(a, b) ? a : b; | 66 | 44.0M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.56k | static T max(const T& a, const T& b) { | 65 | 2.56k | return greater(a, b) ? a : b; | 66 | 2.56k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 6.39M | static T max(const T& a, const T& b) { | 65 | 6.39M | return greater(a, b) ? a : b; | 66 | 6.39M | } |
_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 | 19.8k | static T max(const T& a, const T& b) { | 65 | 19.8k | return greater(a, b) ? a : b; | 66 | 19.8k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 15.8k | static T max(const T& a, const T& b) { | 65 | 15.8k | return greater(a, b) ? a : b; | 66 | 15.8k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 16.4k | static T max(const T& a, const T& b) { | 65 | 16.4k | return greater(a, b) ? a : b; | 66 | 16.4k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 4.36M | static T max(const T& a, const T& b) { | 65 | 4.36M | return greater(a, b) ? a : b; | 66 | 4.36M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 122k | static T max(const T& a, const T& b) { | 65 | 122k | return greater(a, b) ? a : b; | 66 | 122k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 2.16k | static T max(const T& a, const T& b) { | 65 | 2.16k | return greater(a, b) ? a : b; | 66 | 2.16k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 21.5k | static T max(const T& a, const T& b) { | 65 | 21.5k | return greater(a, b) ? a : b; | 66 | 21.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 2.93M | static T max(const T& a, const T& b) { | 65 | 2.93M | return greater(a, b) ? a : b; | 66 | 2.93M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 64 | 4.18M | static T max(const T& a, const T& b) { | 65 | 4.18M | return greater(a, b) ? a : b; | 66 | 4.18M | } |
_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 | 11.5k | static T max(const T& a, const T& b) { | 65 | 11.5k | return greater(a, b) ? a : b; | 66 | 11.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 64 | 354 | static T max(const T& a, const T& b) { | 65 | 354 | return greater(a, b) ? a : b; | 66 | 354 | } |
|
67 | | |
68 | | template <typename T> |
69 | 1.58M | static T min_value() { |
70 | 1.58M | return type_limit<T>::min(); |
71 | 1.58M | } _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 | 14.2k | static T min_value() { | 70 | 14.2k | return type_limit<T>::min(); | 71 | 14.2k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 16.4k | static T min_value() { | 70 | 16.4k | return type_limit<T>::min(); | 71 | 16.4k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 69 | 1.85k | static T min_value() { | 70 | 1.85k | return type_limit<T>::min(); | 71 | 1.85k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 69 | 344k | static T min_value() { | 70 | 344k | return type_limit<T>::min(); | 71 | 344k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 26 | static T min_value() { | 70 | 26 | return type_limit<T>::min(); | 71 | 26 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 26 | static T min_value() { | 70 | 26 | return type_limit<T>::min(); | 71 | 26 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 320 | static T min_value() { | 70 | 320 | return type_limit<T>::min(); | 71 | 320 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 1.53k | static T min_value() { | 70 | 1.53k | return type_limit<T>::min(); | 71 | 1.53k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 2.56k | static T min_value() { | 70 | 2.56k | return type_limit<T>::min(); | 71 | 2.56k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 1.08M | static T min_value() { | 70 | 1.08M | return type_limit<T>::min(); | 71 | 1.08M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 59.2k | static T min_value() { | 70 | 59.2k | return type_limit<T>::min(); | 71 | 59.2k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 1.33k | static T min_value() { | 70 | 1.33k | return type_limit<T>::min(); | 71 | 1.33k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 15.2k | static T min_value() { | 70 | 15.2k | return type_limit<T>::min(); | 71 | 15.2k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 13.1k | static T min_value() { | 70 | 13.1k | return type_limit<T>::min(); | 71 | 13.1k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 19.6k | static T min_value() { | 70 | 19.6k | return type_limit<T>::min(); | 71 | 19.6k | } |
_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 | 901 | static T min_value() { | 70 | 901 | return type_limit<T>::min(); | 71 | 901 | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 217 | static T min_value() { | 70 | 217 | return type_limit<T>::min(); | 71 | 217 | } |
|
72 | | |
73 | | template <typename T> |
74 | 273k | static T max_value() { |
75 | 273k | return type_limit<T>::max(); |
76 | 273k | } _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 | 3.79k | static T max_value() { | 75 | 3.79k | return type_limit<T>::max(); | 76 | 3.79k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 1.02k | static T max_value() { | 75 | 1.02k | return type_limit<T>::max(); | 76 | 1.02k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 74 | 1.85k | static T max_value() { | 75 | 1.85k | return type_limit<T>::max(); | 76 | 1.85k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 74 | 38 | static T max_value() { | 75 | 38 | return type_limit<T>::max(); | 76 | 38 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 74 | 38 | static T max_value() { | 75 | 38 | return type_limit<T>::max(); | 76 | 38 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 74 | 185 | static T max_value() { | 75 | 185 | return type_limit<T>::max(); | 76 | 185 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 682 | static T max_value() { | 75 | 682 | return type_limit<T>::max(); | 76 | 682 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 611 | static T max_value() { | 75 | 611 | return type_limit<T>::max(); | 76 | 611 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 74 | 211k | static T max_value() { | 75 | 211k | return type_limit<T>::max(); | 76 | 211k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 74 | 43.0k | static T max_value() { | 75 | 43.0k | return type_limit<T>::max(); | 76 | 43.0k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 479 | static T max_value() { | 75 | 479 | return type_limit<T>::max(); | 76 | 479 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 386 | static T max_value() { | 75 | 386 | return type_limit<T>::max(); | 76 | 386 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 4.92k | static T max_value() { | 75 | 4.92k | return type_limit<T>::max(); | 76 | 4.92k | } |
_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 | 690 | static T max_value() { | 75 | 690 | return type_limit<T>::max(); | 76 | 690 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 229 | static T max_value() { | 75 | 229 | return type_limit<T>::max(); | 76 | 229 | } |
|
77 | | }; |
78 | | |
79 | | template <typename T> |
80 | 1.30M | bool EqualsFloat(T left, T right) { |
81 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
82 | 198 | return true; |
83 | 198 | } |
84 | 1.30M | return left == right; |
85 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 1.21k | bool EqualsFloat(T left, T right) { | 81 | 1.21k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 23 | return true; | 83 | 23 | } | 84 | 1.19k | return left == right; | 85 | 1.21k | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 80 | 1.29M | bool EqualsFloat(T left, T right) { | 81 | 1.29M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 175 | return true; | 83 | 175 | } | 84 | 1.29M | return left == right; | 85 | 1.29M | } |
|
86 | | |
87 | | template <typename T> |
88 | 7.56M | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 7.56M | bool left_is_nan = std::isnan(left); |
91 | 7.56M | bool right_is_nan = std::isnan(right); |
92 | 7.56M | if (UNLIKELY(right_is_nan)) { |
93 | 451 | return false; |
94 | 451 | } |
95 | 7.56M | if (UNLIKELY(left_is_nan)) { |
96 | 28.9k | return true; |
97 | 28.9k | } |
98 | 7.53M | return left > right; |
99 | 7.56M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 52.1k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 52.1k | bool left_is_nan = std::isnan(left); | 91 | 52.1k | bool right_is_nan = std::isnan(right); | 92 | 52.1k | if (UNLIKELY(right_is_nan)) { | 93 | 103 | return false; | 94 | 103 | } | 95 | 52.0k | if (UNLIKELY(left_is_nan)) { | 96 | 11.7k | return true; | 97 | 11.7k | } | 98 | 40.3k | return left > right; | 99 | 52.0k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 7.51M | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 7.51M | bool left_is_nan = std::isnan(left); | 91 | 7.51M | bool right_is_nan = std::isnan(right); | 92 | 7.51M | if (UNLIKELY(right_is_nan)) { | 93 | 348 | return false; | 94 | 348 | } | 95 | 7.51M | if (UNLIKELY(left_is_nan)) { | 96 | 17.1k | return true; | 97 | 17.1k | } | 98 | 7.49M | return left > right; | 99 | 7.51M | } |
|
100 | | |
101 | | template <typename T> |
102 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 1.36M | bool left_is_nan = std::isnan(left); |
105 | 1.36M | bool right_is_nan = std::isnan(right); |
106 | 1.36M | if (UNLIKELY(right_is_nan)) { |
107 | 353 | return left_is_nan; |
108 | 353 | } |
109 | 1.36M | if (UNLIKELY(left_is_nan)) { |
110 | 492 | return true; |
111 | 492 | } |
112 | 1.36M | return left >= right; |
113 | 1.36M | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 1.10k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.10k | bool left_is_nan = std::isnan(left); | 105 | 1.10k | bool right_is_nan = std::isnan(right); | 106 | 1.10k | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 1.05k | if (UNLIKELY(left_is_nan)) { | 110 | 87 | return true; | 111 | 87 | } | 112 | 970 | return left >= right; | 113 | 1.05k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.36M | bool left_is_nan = std::isnan(left); | 105 | 1.36M | bool right_is_nan = std::isnan(right); | 106 | 1.36M | if (UNLIKELY(right_is_nan)) { | 107 | 305 | return left_is_nan; | 108 | 305 | } | 109 | 1.36M | if (UNLIKELY(left_is_nan)) { | 110 | 405 | return true; | 111 | 405 | } | 112 | 1.36M | return left >= right; | 113 | 1.36M | } |
|
114 | | |
115 | | template <typename T> |
116 | 17.2M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 17.2M | bool left_is_nan = std::isnan(left); |
119 | 17.2M | bool right_is_nan = std::isnan(right); |
120 | 17.2M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
121 | 5.30k | if (left_is_nan && right_is_nan) { |
122 | 1.92k | return 0; |
123 | 1.92k | } |
124 | 3.37k | if (left_is_nan) { |
125 | 950 | return 1; |
126 | 2.42k | } else { |
127 | 2.42k | return -1; |
128 | 2.42k | } |
129 | 3.37k | } |
130 | 17.2M | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 17.2M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 6.68M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 6.68M | bool left_is_nan = std::isnan(left); | 119 | 6.68M | bool right_is_nan = std::isnan(right); | 120 | 6.68M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.37k | if (left_is_nan && right_is_nan) { | 122 | 849 | return 0; | 123 | 849 | } | 124 | 1.52k | if (left_is_nan) { | 125 | 419 | return 1; | 126 | 1.10k | } else { | 127 | 1.10k | return -1; | 128 | 1.10k | } | 129 | 1.52k | } | 130 | 6.68M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 6.68M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 10.5M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 10.5M | bool left_is_nan = std::isnan(left); | 119 | 10.5M | bool right_is_nan = std::isnan(right); | 120 | 10.5M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.93k | if (left_is_nan && right_is_nan) { | 122 | 1.07k | return 0; | 123 | 1.07k | } | 124 | 1.85k | if (left_is_nan) { | 125 | 531 | return 1; | 126 | 1.32k | } else { | 127 | 1.32k | return -1; | 128 | 1.32k | } | 129 | 1.85k | } | 130 | 10.5M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 10.5M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 14.6k | inline bool Compare::less(const float& a, const float& b) { |
136 | 14.6k | return GreaterThanFloat(b, a); |
137 | 14.6k | } |
138 | | template <> |
139 | 37.5k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 37.5k | return GreaterThanFloat(a, b); |
141 | 37.5k | } |
142 | | template <> |
143 | 552 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 552 | return GreaterThanEqualsFloat(b, a); |
145 | 552 | } |
146 | | template <> |
147 | 554 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 554 | return GreaterThanEqualsFloat(a, b); |
149 | 554 | } |
150 | | template <> |
151 | 1.03k | inline bool Compare::equal(const float& a, const float& b) { |
152 | 1.03k | return EqualsFloat(a, b); |
153 | 1.03k | } |
154 | | template <> |
155 | 183 | inline bool Compare::not_equal(const float& a, const float& b) { |
156 | 183 | return !EqualsFloat(a, b); |
157 | 183 | } |
158 | | template <> |
159 | 6.68M | inline int Compare::compare(const float& a, const float& b) { |
160 | 6.68M | return CompareFloat(a, b); |
161 | 6.68M | } |
162 | | template <> |
163 | 336 | inline float Compare::max_value<float>() { |
164 | 336 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 336 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 718k | inline bool Compare::less(const double& a, const double& b) { |
170 | 718k | return GreaterThanFloat(b, a); |
171 | 718k | } |
172 | | template <> |
173 | 6.79M | inline bool Compare::greater(const double& a, const double& b) { |
174 | 6.79M | return GreaterThanFloat(a, b); |
175 | 6.79M | } |
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 | 762k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 762k | return GreaterThanEqualsFloat(a, b); |
183 | 762k | } |
184 | | template <> |
185 | 1.29M | inline bool Compare::equal(const double& a, const double& b) { |
186 | 1.29M | return EqualsFloat(a, b); |
187 | 1.29M | } |
188 | | template <> |
189 | 536 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 536 | return !EqualsFloat(a, b); |
191 | 536 | } |
192 | | template <> |
193 | 10.5M | inline int Compare::compare(const double& a, const double& b) { |
194 | 10.5M | return CompareFloat(a, b); |
195 | 10.5M | } |
196 | | template <> |
197 | 665 | inline double Compare::max_value<double>() { |
198 | 665 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 665 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 688k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 1.04k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 437 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 595k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 12.3k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 28 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 56 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 50 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 203 | 74.5k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 286 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 1.04k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 350 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 1.00k | 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 | 77 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 203 | 88 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 1.31k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 78 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 203 | 76 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
204 | | }; |
205 | | template <> |
206 | 138 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 138 | return Compare::less(lhs, rhs); |
208 | 138 | } |
209 | | template <> |
210 | 46 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 46 | return Compare::less(lhs, rhs); |
212 | 46 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 105M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 21.0M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 5.11k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 5.02k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 13.9M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 35.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 164 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 216 | 418 | 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 | 2.87k | 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 | 2.14k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 216 | 595 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 216 | 92.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 5.56M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 216 | 13 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 216 | 20 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 216 | 8 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 216 | 956 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 95 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 280 | 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 | 17.1k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 73.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 931 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 216 | 28.9M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
Unexecuted instantiation: _ZNK5doris7EqualToIN4wide7integerILm256EiEEEclERKS3_S6_ _ZNK5doris7EqualToIN4wide7integerILm256EjEEEclERKS3_S6_ Line | Count | Source | 216 | 80.2k | 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.04k | 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.70k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 216 | 11.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 70.2k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 17.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
217 | | }; |
218 | | template <> |
219 | 53 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 53 | return Compare::equal(lhs, rhs); |
221 | 53 | } |
222 | | template <> |
223 | 564 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
224 | 564 | return Compare::equal(lhs, rhs); |
225 | 564 | } |
226 | | |
227 | | template <typename T> |
228 | | requires(std::is_floating_point_v<T>) |
229 | 552k | void NormalizeFloat(T& val) { |
230 | 552k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 49.6k | val = (T)0.0; |
233 | 503k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 552k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 20.9k | void NormalizeFloat(T& val) { | 230 | 20.9k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 1.39k | val = (T)0.0; | 233 | 19.5k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 20.9k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 531k | void NormalizeFloat(T& val) { | 230 | 531k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 48.2k | val = (T)0.0; | 233 | 483k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 531k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |