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 | | struct Compare { |
26 | | template <typename T> |
27 | 89.1M | static bool less(const T& a, const T& b) { |
28 | 89.1M | return a < b; |
29 | 89.1M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 27 | 16.8M | static bool less(const T& a, const T& b) { | 28 | 16.8M | return a < b; | 29 | 16.8M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 27 | 692k | static bool less(const T& a, const T& b) { | 28 | 692k | return a < b; | 29 | 692k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 27 | 275k | static bool less(const T& a, const T& b) { | 28 | 275k | return a < b; | 29 | 275k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 27 | 975 | static bool less(const T& a, const T& b) { | 28 | 975 | return a < b; | 29 | 975 | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 27 | 16.1k | static bool less(const T& a, const T& b) { | 28 | 16.1k | return a < b; | 29 | 16.1k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 27 | 32.0k | static bool less(const T& a, const T& b) { | 28 | 32.0k | return a < b; | 29 | 32.0k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 27 | 30.0k | static bool less(const T& a, const T& b) { | 28 | 30.0k | return a < b; | 29 | 30.0k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 27 | 2.07k | static bool less(const T& a, const T& b) { | 28 | 2.07k | return a < b; | 29 | 2.07k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 27 | 2.06k | static bool less(const T& a, const T& b) { | 28 | 2.06k | return a < b; | 29 | 2.06k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 27 | 2.39k | static bool less(const T& a, const T& b) { | 28 | 2.39k | return a < b; | 29 | 2.39k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 16.4M | static bool less(const T& a, const T& b) { | 28 | 16.4M | return a < b; | 29 | 16.4M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 45.0M | static bool less(const T& a, const T& b) { | 28 | 45.0M | return a < b; | 29 | 45.0M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 27 | 7.37k | static bool less(const T& a, const T& b) { | 28 | 7.37k | return a < b; | 29 | 7.37k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 27 | 108k | static bool less(const T& a, const T& b) { | 28 | 108k | return a < b; | 29 | 108k | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 27 | 4.18k | static bool less(const T& a, const T& b) { | 28 | 4.18k | return a < b; | 29 | 4.18k | } |
_ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 27 | 2.20M | static bool less(const T& a, const T& b) { | 28 | 2.20M | return a < b; | 29 | 2.20M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 27 | 6.61M | static bool less(const T& a, const T& b) { | 28 | 6.61M | return a < b; | 29 | 6.61M | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 27 | 771k | static bool less(const T& a, const T& b) { | 28 | 771k | return a < b; | 29 | 771k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 27 | 3.01k | static bool less(const T& a, const T& b) { | 28 | 3.01k | return a < b; | 29 | 3.01k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 27 | 39 | static bool less(const T& a, const T& b) { | 28 | 39 | return a < b; | 29 | 39 | } |
|
30 | | template <typename T> |
31 | 135M | static bool greater(const T& a, const T& b) { |
32 | 135M | return a > b; |
33 | 135M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 31 | 33.5k | static bool greater(const T& a, const T& b) { | 32 | 33.5k | return a > b; | 33 | 33.5k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 31 | 290k | static bool greater(const T& a, const T& b) { | 32 | 290k | return a > b; | 33 | 290k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 31 | 72.3k | static bool greater(const T& a, const T& b) { | 32 | 72.3k | return a > b; | 33 | 72.3k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 31 | 22.2M | static bool greater(const T& a, const T& b) { | 32 | 22.2M | return a > b; | 33 | 22.2M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 31 | 38.9M | static bool greater(const T& a, const T& b) { | 32 | 38.9M | return a > b; | 33 | 38.9M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 31 | 1.06M | static bool greater(const T& a, const T& b) { | 32 | 1.06M | return a > b; | 33 | 1.06M | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 31 | 2.30k | static bool greater(const T& a, const T& b) { | 32 | 2.30k | return a > b; | 33 | 2.30k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 31 | 2.30k | static bool greater(const T& a, const T& b) { | 32 | 2.30k | return a > b; | 33 | 2.30k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 31 | 6.19k | static bool greater(const T& a, const T& b) { | 32 | 6.19k | return a > b; | 33 | 6.19k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 17.5M | static bool greater(const T& a, const T& b) { | 32 | 17.5M | return a > b; | 33 | 17.5M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 46.5M | static bool greater(const T& a, const T& b) { | 32 | 46.5M | return a > b; | 33 | 46.5M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 31 | 15.0k | static bool greater(const T& a, const T& b) { | 32 | 15.0k | return a > b; | 33 | 15.0k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 31 | 1.19M | static bool greater(const T& a, const T& b) { | 32 | 1.19M | return a > b; | 33 | 1.19M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 31 | 4.71k | static bool greater(const T& a, const T& b) { | 32 | 4.71k | return a > b; | 33 | 4.71k | } |
_ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 31 | 2.97M | static bool greater(const T& a, const T& b) { | 32 | 2.97M | return a > b; | 33 | 2.97M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 31 | 4.30M | static bool greater(const T& a, const T& b) { | 32 | 4.30M | return a > b; | 33 | 4.30M | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 31 | 26.6k | static bool greater(const T& a, const T& b) { | 32 | 26.6k | return a > b; | 33 | 26.6k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 31 | 2.28k | static bool greater(const T& a, const T& b) { | 32 | 2.28k | return a > b; | 33 | 2.28k | } |
_ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 31 | 6 | static bool greater(const T& a, const T& b) { | 32 | 6 | return a > b; | 33 | 6 | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 31 | 686 | static bool greater(const T& a, const T& b) { | 32 | 686 | return a > b; | 33 | 686 | } |
|
34 | | |
35 | | template <typename T> |
36 | 87.4M | static bool less_equal(const T& a, const T& b) { |
37 | 87.4M | return a <= b; |
38 | 87.4M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 36 | 63.2M | static bool less_equal(const T& a, const T& b) { | 37 | 63.2M | return a <= b; | 38 | 63.2M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 36 | 7.44M | static bool less_equal(const T& a, const T& b) { | 37 | 7.44M | return a <= b; | 38 | 7.44M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 36 | 563k | static bool less_equal(const T& a, const T& b) { | 37 | 563k | return a <= b; | 38 | 563k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 36 | 118 | static bool less_equal(const T& a, const T& b) { | 37 | 118 | return a <= b; | 38 | 118 | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 36 | 2.30M | static bool less_equal(const T& a, const T& b) { | 37 | 2.30M | return a <= b; | 38 | 2.30M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 36 | 542k | static bool less_equal(const T& a, const T& b) { | 37 | 542k | return a <= b; | 38 | 542k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 36 | 255 | static bool less_equal(const T& a, const T& b) { | 37 | 255 | return a <= b; | 38 | 255 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 36 | 156 | static bool less_equal(const T& a, const T& b) { | 37 | 156 | return a <= b; | 38 | 156 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 36 | 360k | static bool less_equal(const T& a, const T& b) { | 37 | 360k | return a <= b; | 38 | 360k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 36 | 591k | static bool less_equal(const T& a, const T& b) { | 37 | 591k | return a <= b; | 38 | 591k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 5.68M | static bool less_equal(const T& a, const T& b) { | 37 | 5.68M | return a <= b; | 38 | 5.68M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 197k | static bool less_equal(const T& a, const T& b) { | 37 | 197k | return a <= b; | 38 | 197k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 36 | 713 | static bool less_equal(const T& a, const T& b) { | 37 | 713 | return a <= b; | 38 | 713 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 36 | 30 | static bool less_equal(const T& a, const T& b) { | 37 | 30 | return a <= b; | 38 | 30 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 36 | 642k | static bool less_equal(const T& a, const T& b) { | 37 | 642k | return a <= b; | 38 | 642k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 36 | 131 | static bool less_equal(const T& a, const T& b) { | 37 | 131 | return a <= b; | 38 | 131 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 36 | 4.79M | static bool less_equal(const T& a, const T& b) { | 37 | 4.79M | return a <= b; | 38 | 4.79M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 36 | 689k | static bool less_equal(const T& a, const T& b) { | 37 | 689k | return a <= b; | 38 | 689k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 36 | 194 | static bool less_equal(const T& a, const T& b) { | 37 | 194 | return a <= b; | 38 | 194 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 36 | 409k | static bool less_equal(const T& a, const T& b) { | 37 | 409k | return a <= b; | 38 | 409k | } |
|
39 | | template <typename T> |
40 | 85.1M | static bool greater_equal(const T& a, const T& b) { |
41 | 85.1M | return a >= b; |
42 | 85.1M | } _ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 40 | 2.29M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.29M | return a >= b; | 42 | 2.29M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 40 | 489k | static bool greater_equal(const T& a, const T& b) { | 41 | 489k | return a >= b; | 42 | 489k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 40 | 57.5M | static bool greater_equal(const T& a, const T& b) { | 41 | 57.5M | return a >= b; | 42 | 57.5M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 40 | 1.89M | static bool greater_equal(const T& a, const T& b) { | 41 | 1.89M | return a >= b; | 42 | 1.89M | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 40 | 659k | static bool greater_equal(const T& a, const T& b) { | 41 | 659k | return a >= b; | 42 | 659k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 40 | 333 | static bool greater_equal(const T& a, const T& b) { | 41 | 333 | return a >= b; | 42 | 333 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 40 | 243 | static bool greater_equal(const T& a, const T& b) { | 41 | 243 | return a >= b; | 42 | 243 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 40 | 357k | static bool greater_equal(const T& a, const T& b) { | 41 | 357k | return a >= b; | 42 | 357k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 40 | 611k | static bool greater_equal(const T& a, const T& b) { | 41 | 611k | return a >= b; | 42 | 611k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 17.0M | static bool greater_equal(const T& a, const T& b) { | 41 | 17.0M | return a >= b; | 42 | 17.0M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 171k | static bool greater_equal(const T& a, const T& b) { | 41 | 171k | return a >= b; | 42 | 171k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 40 | 762 | static bool greater_equal(const T& a, const T& b) { | 41 | 762 | return a >= b; | 42 | 762 | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 40 | 30 | static bool greater_equal(const T& a, const T& b) { | 41 | 30 | return a >= b; | 42 | 30 | } |
_ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 40 | 520k | static bool greater_equal(const T& a, const T& b) { | 41 | 520k | return a >= b; | 42 | 520k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 40 | 153 | static bool greater_equal(const T& a, const T& b) { | 41 | 153 | return a >= b; | 42 | 153 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 40 | 2.40M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.40M | return a >= b; | 42 | 2.40M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 40 | 826k | static bool greater_equal(const T& a, const T& b) { | 41 | 826k | return a >= b; | 42 | 826k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 40 | 161 | static bool greater_equal(const T& a, const T& b) { | 41 | 161 | return a >= b; | 42 | 161 | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 40 | 133 | static bool greater_equal(const T& a, const T& b) { | 41 | 133 | return a >= b; | 42 | 133 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 40 | 398k | static bool greater_equal(const T& a, const T& b) { | 41 | 398k | return a >= b; | 42 | 398k | } |
|
43 | | template <typename T> |
44 | 131M | static bool equal(const T& a, const T& b) { |
45 | 131M | return a == b; |
46 | 131M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 44 | 50.2M | static bool equal(const T& a, const T& b) { | 45 | 50.2M | return a == b; | 46 | 50.2M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 44 | 4.04M | static bool equal(const T& a, const T& b) { | 45 | 4.04M | return a == b; | 46 | 4.04M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 44 | 813k | static bool equal(const T& a, const T& b) { | 45 | 813k | return a == b; | 46 | 813k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 44 | 41 | static bool equal(const T& a, const T& b) { | 45 | 41 | return a == b; | 46 | 41 | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 44 | 69.5M | static bool equal(const T& a, const T& b) { | 45 | 69.5M | return a == b; | 46 | 69.5M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 44 | 438k | static bool equal(const T& a, const T& b) { | 45 | 438k | return a == b; | 46 | 438k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 44 | 1.11k | static bool equal(const T& a, const T& b) { | 45 | 1.11k | return a == b; | 46 | 1.11k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 44 | 894 | static bool equal(const T& a, const T& b) { | 45 | 894 | return a == b; | 46 | 894 | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 44 | 402k | static bool equal(const T& a, const T& b) { | 45 | 402k | return a == b; | 46 | 402k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 516k | static bool equal(const T& a, const T& b) { | 45 | 516k | return a == b; | 46 | 516k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 44 | 455 | static bool equal(const T& a, const T& b) { | 45 | 455 | return a == b; | 46 | 455 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 44 | 762 | static bool equal(const T& a, const T& b) { | 45 | 762 | return a == b; | 46 | 762 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 44 | 702k | static bool equal(const T& a, const T& b) { | 45 | 702k | return a == b; | 46 | 702k | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 44 | 3.72k | static bool equal(const T& a, const T& b) { | 45 | 3.72k | return a == b; | 46 | 3.72k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 44 | 13 | static bool equal(const T& a, const T& b) { | 45 | 13 | return a == b; | 46 | 13 | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 204k | static bool equal(const T& a, const T& b) { | 45 | 204k | return a == b; | 46 | 204k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 44 | 4.70k | static bool equal(const T& a, const T& b) { | 45 | 4.70k | return a == b; | 46 | 4.70k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 44 | 365 | static bool equal(const T& a, const T& b) { | 45 | 365 | return a == b; | 46 | 365 | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 44 | 65.2k | static bool equal(const T& a, const T& b) { | 45 | 65.2k | return a == b; | 46 | 65.2k | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 44 | 1.78M | static bool equal(const T& a, const T& b) { | 45 | 1.78M | return a == b; | 46 | 1.78M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 44 | 2.72M | static bool equal(const T& a, const T& b) { | 45 | 2.72M | return a == b; | 46 | 2.72M | } |
|
47 | | template <typename T> |
48 | 2.53M | static bool not_equal(const T& a, const T& b) { |
49 | 2.53M | return a != b; |
50 | 2.53M | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 48 | 1.76k | static bool not_equal(const T& a, const T& b) { | 49 | 1.76k | return a != b; | 50 | 1.76k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 48 | 816 | static bool not_equal(const T& a, const T& b) { | 49 | 816 | return a != b; | 50 | 816 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 48 | 1.12M | static bool not_equal(const T& a, const T& b) { | 49 | 1.12M | return a != b; | 50 | 1.12M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 48 | 1.39M | static bool not_equal(const T& a, const T& b) { | 49 | 1.39M | return a != b; | 50 | 1.39M | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 48 | 1.79k | static bool not_equal(const T& a, const T& b) { | 49 | 1.79k | return a != b; | 50 | 1.79k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalIjEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIoEEbRKT_S4_ _ZN5doris7Compare9not_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 48 | 363 | static bool not_equal(const T& a, const T& b) { | 49 | 363 | return a != b; | 50 | 363 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 48 | 3.00k | static bool not_equal(const T& a, const T& b) { | 49 | 3.00k | return a != b; | 50 | 3.00k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 48 | 42 | static bool not_equal(const T& a, const T& b) { | 49 | 42 | return a != b; | 50 | 42 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 48 | 18 | static bool not_equal(const T& a, const T& b) { | 49 | 18 | return a != b; | 50 | 18 | } |
_ZN5doris7Compare9not_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 48 | 66 | static bool not_equal(const T& a, const T& b) { | 49 | 66 | return a != b; | 50 | 66 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 48 | 246 | static bool not_equal(const T& a, const T& b) { | 49 | 246 | return a != b; | 50 | 246 | } |
_ZN5doris7Compare9not_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 48 | 295 | static bool not_equal(const T& a, const T& b) { | 49 | 295 | return a != b; | 50 | 295 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 48 | 66 | static bool not_equal(const T& a, const T& b) { | 49 | 66 | return a != b; | 50 | 66 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 48 | 226 | static bool not_equal(const T& a, const T& b) { | 49 | 226 | return a != b; | 50 | 226 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 48 | 59 | static bool not_equal(const T& a, const T& b) { | 49 | 59 | return a != b; | 50 | 59 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 48 | 1.60k | static bool not_equal(const T& a, const T& b) { | 49 | 1.60k | return a != b; | 50 | 1.60k | } |
|
51 | | |
52 | | template <typename T> |
53 | 377M | static int compare(const T& a, const T& b) { |
54 | 377M | return a > b ? 1 : (a < b ? -1 : 0); |
55 | 377M | } _ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 53 | 14.6k | static int compare(const T& a, const T& b) { | 54 | 14.6k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 14.6k | } |
_ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 53 | 3.35M | static int compare(const T& a, const T& b) { | 54 | 3.35M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 3.35M | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 53 | 73.7M | static int compare(const T& a, const T& b) { | 54 | 73.7M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 73.7M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 53 | 5.22M | static int compare(const T& a, const T& b) { | 54 | 5.22M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 5.22M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 53 | 240M | static int compare(const T& a, const T& b) { | 54 | 240M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 240M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 4.96M | static int compare(const T& a, const T& b) { | 54 | 4.96M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.96M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 23.1M | static int compare(const T& a, const T& b) { | 54 | 23.1M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 23.1M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 53 | 6.52k | static int compare(const T& a, const T& b) { | 54 | 6.52k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 6.52k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 53 | 4.69k | static int compare(const T& a, const T& b) { | 54 | 4.69k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.69k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 53 | 4.03M | static int compare(const T& a, const T& b) { | 54 | 4.03M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.03M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 53 | 4.29M | static int compare(const T& a, const T& b) { | 54 | 4.29M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.29M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 53 | 7.81M | static int compare(const T& a, const T& b) { | 54 | 7.81M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.81M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 53 | 2.70k | static int compare(const T& a, const T& b) { | 54 | 2.70k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 2.70k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 53 | 23.6k | static int compare(const T& a, const T& b) { | 54 | 23.6k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 23.6k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 53 | 340k | static int compare(const T& a, const T& b) { | 54 | 340k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 340k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 53 | 164k | static int compare(const T& a, const T& b) { | 54 | 164k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 164k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 53 | 9.96M | static int compare(const T& a, const T& b) { | 54 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 9.96M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 53 | 95.5k | static int compare(const T& a, const T& b) { | 54 | 95.5k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 95.5k | } |
|
56 | | |
57 | | template <typename T> |
58 | 56.9M | static T min(const T& a, const T& b) { |
59 | 56.9M | return less(a, b) ? a : b; |
60 | 56.9M | } _ZN5doris7Compare3minINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 58 | 5 | static T min(const T& a, const T& b) { | 59 | 5 | return less(a, b) ? a : b; | 60 | 5 | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 58 | 1.98M | static T min(const T& a, const T& b) { | 59 | 1.98M | return less(a, b) ? a : b; | 60 | 1.98M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 58 | 44.0M | static T min(const T& a, const T& b) { | 59 | 44.0M | return less(a, b) ? a : b; | 60 | 44.0M | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 58 | 2.50k | static T min(const T& a, const T& b) { | 59 | 2.50k | return less(a, b) ? a : b; | 60 | 2.50k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 58 | 30.0k | static T min(const T& a, const T& b) { | 59 | 30.0k | return less(a, b) ? a : b; | 60 | 30.0k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 58 | 31 | static T min(const T& a, const T& b) { | 59 | 31 | return less(a, b) ? a : b; | 60 | 31 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 58 | 31 | static T min(const T& a, const T& b) { | 59 | 31 | return less(a, b) ? a : b; | 60 | 31 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 58 | 12.7k | static T min(const T& a, const T& b) { | 59 | 12.7k | return less(a, b) ? a : b; | 60 | 12.7k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 58 | 7.61k | static T min(const T& a, const T& b) { | 59 | 7.61k | return less(a, b) ? a : b; | 60 | 7.61k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 58 | 8.13k | static T min(const T& a, const T& b) { | 59 | 8.13k | return less(a, b) ? a : b; | 60 | 8.13k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 58 | 3.49M | static T min(const T& a, const T& b) { | 59 | 3.49M | return less(a, b) ? a : b; | 60 | 3.49M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 58 | 104k | static T min(const T& a, const T& b) { | 59 | 104k | return less(a, b) ? a : b; | 60 | 104k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 58 | 861 | static T min(const T& a, const T& b) { | 59 | 861 | return less(a, b) ? a : b; | 60 | 861 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 58 | 13.3k | static T min(const T& a, const T& b) { | 59 | 13.3k | return less(a, b) ? a : b; | 60 | 13.3k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 58 | 2.20M | static T min(const T& a, const T& b) { | 59 | 2.20M | return less(a, b) ? a : b; | 60 | 2.20M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 58 | 4.21M | static T min(const T& a, const T& b) { | 59 | 4.21M | return less(a, b) ? a : b; | 60 | 4.21M | } |
_ZN5doris7Compare3minINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 58 | 4.09k | static T min(const T& a, const T& b) { | 59 | 4.09k | return less(a, b) ? a : b; | 60 | 4.09k | } |
_ZN5doris7Compare3minINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 58 | 769k | static T min(const T& a, const T& b) { | 59 | 769k | return less(a, b) ? a : b; | 60 | 769k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 58 | 360 | static T min(const T& a, const T& b) { | 59 | 360 | return less(a, b) ? a : b; | 60 | 360 | } |
|
61 | | |
62 | | template <typename T> |
63 | 75.4M | static T max(const T& a, const T& b) { |
64 | 75.4M | return greater(a, b) ? a : b; |
65 | 75.4M | } _ZN5doris7Compare3maxINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 63 | 5 | static T max(const T& a, const T& b) { | 64 | 5 | return greater(a, b) ? a : b; | 65 | 5 | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 13.9M | static T max(const T& a, const T& b) { | 64 | 13.9M | return greater(a, b) ? a : b; | 65 | 13.9M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 44.0M | static T max(const T& a, const T& b) { | 64 | 44.0M | return greater(a, b) ? a : b; | 65 | 44.0M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 63 | 2.50k | static T max(const T& a, const T& b) { | 64 | 2.50k | return greater(a, b) ? a : b; | 65 | 2.50k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 63 | 5.70M | static T max(const T& a, const T& b) { | 64 | 5.70M | return greater(a, b) ? a : b; | 65 | 5.70M | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 63 | 27 | static T max(const T& a, const T& b) { | 64 | 27 | return greater(a, b) ? a : b; | 65 | 27 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 63 | 27 | static T max(const T& a, const T& b) { | 64 | 27 | return greater(a, b) ? a : b; | 65 | 27 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 63 | 19.8k | static T max(const T& a, const T& b) { | 64 | 19.8k | return greater(a, b) ? a : b; | 65 | 19.8k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 63 | 15.7k | static T max(const T& a, const T& b) { | 64 | 15.7k | return greater(a, b) ? a : b; | 65 | 15.7k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 63 | 16.3k | static T max(const T& a, const T& b) { | 64 | 16.3k | return greater(a, b) ? a : b; | 65 | 16.3k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 63 | 4.37M | static T max(const T& a, const T& b) { | 64 | 4.37M | return greater(a, b) ? a : b; | 65 | 4.37M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 63 | 122k | static T max(const T& a, const T& b) { | 64 | 122k | return greater(a, b) ? a : b; | 65 | 122k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 63 | 1.99k | static T max(const T& a, const T& b) { | 64 | 1.99k | return greater(a, b) ? a : b; | 65 | 1.99k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 63 | 21.4k | static T max(const T& a, const T& b) { | 64 | 21.4k | return greater(a, b) ? a : b; | 65 | 21.4k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 63 | 2.96M | static T max(const T& a, const T& b) { | 64 | 2.96M | return greater(a, b) ? a : b; | 65 | 2.96M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 63 | 4.22M | static T max(const T& a, const T& b) { | 64 | 4.22M | return greater(a, b) ? a : b; | 65 | 4.22M | } |
_ZN5doris7Compare3maxINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 63 | 4.09k | static T max(const T& a, const T& b) { | 64 | 4.09k | return greater(a, b) ? a : b; | 65 | 4.09k | } |
_ZN5doris7Compare3maxINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 63 | 11.5k | static T max(const T& a, const T& b) { | 64 | 11.5k | return greater(a, b) ? a : b; | 65 | 11.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 63 | 350 | static T max(const T& a, const T& b) { | 64 | 350 | return greater(a, b) ? a : b; | 65 | 350 | } |
|
66 | | |
67 | | template <typename T> |
68 | 1.55M | static T min_value() { |
69 | 1.55M | return type_limit<T>::min(); |
70 | 1.55M | } _ZN5doris7Compare9min_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 68 | 1 | static T min_value() { | 69 | 1 | return type_limit<T>::min(); | 70 | 1 | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 68 | 14.0k | static T min_value() { | 69 | 14.0k | return type_limit<T>::min(); | 70 | 14.0k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 68 | 16.5k | static T min_value() { | 69 | 16.5k | return type_limit<T>::min(); | 70 | 16.5k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 68 | 1.81k | static T min_value() { | 69 | 1.81k | return type_limit<T>::min(); | 70 | 1.81k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 68 | 323k | static T min_value() { | 69 | 323k | return type_limit<T>::min(); | 70 | 323k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 68 | 38 | static T min_value() { | 69 | 38 | return type_limit<T>::min(); | 70 | 38 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 68 | 38 | static T min_value() { | 69 | 38 | return type_limit<T>::min(); | 70 | 38 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 68 | 333 | static T min_value() { | 69 | 333 | return type_limit<T>::min(); | 70 | 333 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 68 | 1.45k | static T min_value() { | 69 | 1.45k | return type_limit<T>::min(); | 70 | 1.45k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 68 | 2.53k | static T min_value() { | 69 | 2.53k | return type_limit<T>::min(); | 70 | 2.53k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 68 | 1.09M | static T min_value() { | 69 | 1.09M | return type_limit<T>::min(); | 70 | 1.09M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 68 | 55.4k | static T min_value() { | 69 | 55.4k | return type_limit<T>::min(); | 70 | 55.4k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 68 | 1.28k | static T min_value() { | 69 | 1.28k | return type_limit<T>::min(); | 70 | 1.28k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 68 | 15.2k | static T min_value() { | 69 | 15.2k | return type_limit<T>::min(); | 70 | 15.2k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 68 | 8.15k | static T min_value() { | 69 | 8.15k | return type_limit<T>::min(); | 70 | 8.15k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 68 | 19.9k | static T min_value() { | 69 | 19.9k | return type_limit<T>::min(); | 70 | 19.9k | } |
_ZN5doris7Compare9min_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 68 | 4.09k | static T min_value() { | 69 | 4.09k | return type_limit<T>::min(); | 70 | 4.09k | } |
_ZN5doris7Compare9min_valueINS_12Decimal128V3EEET_v Line | Count | Source | 68 | 925 | static T min_value() { | 69 | 925 | return type_limit<T>::min(); | 70 | 925 | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 68 | 180 | static T min_value() { | 69 | 180 | return type_limit<T>::min(); | 70 | 180 | } |
|
71 | | |
72 | | template <typename T> |
73 | 270k | static T max_value() { |
74 | 270k | return type_limit<T>::max(); |
75 | 270k | } _ZN5doris7Compare9max_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 73 | 1 | static T max_value() { | 74 | 1 | return type_limit<T>::max(); | 75 | 1 | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 73 | 3.72k | static T max_value() { | 74 | 3.72k | return type_limit<T>::max(); | 75 | 3.72k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 73 | 1.04k | static T max_value() { | 74 | 1.04k | return type_limit<T>::max(); | 75 | 1.04k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 73 | 1.81k | static T max_value() { | 74 | 1.81k | return type_limit<T>::max(); | 75 | 1.81k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 73 | 26 | static T max_value() { | 74 | 26 | return type_limit<T>::max(); | 75 | 26 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 73 | 26 | static T max_value() { | 74 | 26 | return type_limit<T>::max(); | 75 | 26 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 73 | 181 | static T max_value() { | 74 | 181 | return type_limit<T>::max(); | 75 | 181 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 73 | 645 | static T max_value() { | 74 | 645 | return type_limit<T>::max(); | 75 | 645 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 73 | 619 | static T max_value() { | 74 | 619 | return type_limit<T>::max(); | 75 | 619 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 73 | 211k | static T max_value() { | 74 | 211k | return type_limit<T>::max(); | 75 | 211k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 73 | 39.2k | static T max_value() { | 74 | 39.2k | return type_limit<T>::max(); | 75 | 39.2k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 73 | 495 | static T max_value() { | 74 | 495 | return type_limit<T>::max(); | 75 | 495 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 73 | 385 | static T max_value() { | 74 | 385 | return type_limit<T>::max(); | 75 | 385 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 73 | 5.17k | static T max_value() { | 74 | 5.17k | return type_limit<T>::max(); | 75 | 5.17k | } |
_ZN5doris7Compare9max_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 73 | 4.09k | static T max_value() { | 74 | 4.09k | return type_limit<T>::max(); | 75 | 4.09k | } |
_ZN5doris7Compare9max_valueINS_12Decimal128V3EEET_v Line | Count | Source | 73 | 684 | static T max_value() { | 74 | 684 | return type_limit<T>::max(); | 75 | 684 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 73 | 179 | static T max_value() { | 74 | 179 | return type_limit<T>::max(); | 75 | 179 | } |
|
76 | | }; |
77 | | |
78 | | template <typename T> |
79 | 1.30M | bool EqualsFloat(T left, T right) { |
80 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
81 | 215 | return true; |
82 | 215 | } |
83 | 1.30M | return left == right; |
84 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 79 | 1.10k | bool EqualsFloat(T left, T right) { | 80 | 1.10k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 26 | return true; | 82 | 26 | } | 83 | 1.08k | return left == right; | 84 | 1.10k | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 79 | 1.30M | bool EqualsFloat(T left, T right) { | 80 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 189 | return true; | 82 | 189 | } | 83 | 1.30M | return left == right; | 84 | 1.30M | } |
|
85 | | |
86 | | template <typename T> |
87 | 7.16M | bool GreaterThanFloat(T left, T right) { |
88 | | // nan is always bigger than everything else |
89 | 7.16M | bool left_is_nan = std::isnan(left); |
90 | 7.16M | bool right_is_nan = std::isnan(right); |
91 | 7.16M | if (UNLIKELY(right_is_nan)) { |
92 | 554 | return false; |
93 | 554 | } |
94 | 7.15M | if (UNLIKELY(left_is_nan)) { |
95 | 29.1k | return true; |
96 | 29.1k | } |
97 | 7.13M | return left > right; |
98 | 7.15M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 87 | 52.1k | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 52.1k | bool left_is_nan = std::isnan(left); | 90 | 52.1k | bool right_is_nan = std::isnan(right); | 91 | 52.1k | if (UNLIKELY(right_is_nan)) { | 92 | 110 | return false; | 93 | 110 | } | 94 | 52.0k | if (UNLIKELY(left_is_nan)) { | 95 | 11.7k | return true; | 96 | 11.7k | } | 97 | 40.3k | return left > right; | 98 | 52.0k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 87 | 7.10M | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 7.10M | bool left_is_nan = std::isnan(left); | 90 | 7.10M | bool right_is_nan = std::isnan(right); | 91 | 7.10M | if (UNLIKELY(right_is_nan)) { | 92 | 444 | return false; | 93 | 444 | } | 94 | 7.10M | if (UNLIKELY(left_is_nan)) { | 95 | 17.3k | return true; | 96 | 17.3k | } | 97 | 7.09M | return left > right; | 98 | 7.10M | } |
|
99 | | |
100 | | template <typename T> |
101 | 556k | bool GreaterThanEqualsFloat(T left, T right) { |
102 | | // nan is always bigger than everything else |
103 | 556k | bool left_is_nan = std::isnan(left); |
104 | 556k | bool right_is_nan = std::isnan(right); |
105 | 556k | if (UNLIKELY(right_is_nan)) { |
106 | 370 | return left_is_nan; |
107 | 370 | } |
108 | 556k | if (UNLIKELY(left_is_nan)) { |
109 | 611 | return true; |
110 | 611 | } |
111 | 555k | return left >= right; |
112 | 556k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 101 | 1.14k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.14k | bool left_is_nan = std::isnan(left); | 104 | 1.14k | bool right_is_nan = std::isnan(right); | 105 | 1.14k | if (UNLIKELY(right_is_nan)) { | 106 | 48 | return left_is_nan; | 107 | 48 | } | 108 | 1.10k | if (UNLIKELY(left_is_nan)) { | 109 | 111 | return true; | 110 | 111 | } | 111 | 990 | return left >= right; | 112 | 1.10k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 101 | 555k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 555k | bool left_is_nan = std::isnan(left); | 104 | 555k | bool right_is_nan = std::isnan(right); | 105 | 555k | if (UNLIKELY(right_is_nan)) { | 106 | 322 | return left_is_nan; | 107 | 322 | } | 108 | 555k | if (UNLIKELY(left_is_nan)) { | 109 | 500 | return true; | 110 | 500 | } | 111 | 554k | return left >= right; | 112 | 555k | } |
|
113 | | |
114 | | template <typename T> |
115 | 11.8M | int CompareFloat(T left, T right) { |
116 | | // nan is always bigger than everything else |
117 | 11.8M | bool left_is_nan = std::isnan(left); |
118 | 11.8M | bool right_is_nan = std::isnan(right); |
119 | 11.8M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
120 | 5.21k | if (left_is_nan && right_is_nan) { |
121 | 1.91k | return 0; |
122 | 1.91k | } |
123 | 3.30k | if (left_is_nan) { |
124 | 913 | return 1; |
125 | 2.39k | } else { |
126 | 2.39k | return -1; |
127 | 2.39k | } |
128 | 3.30k | } |
129 | 11.8M | return left > right ? 1 : (left < right ? -1 : 0); |
130 | 11.8M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 115 | 3.92M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 3.92M | bool left_is_nan = std::isnan(left); | 118 | 3.92M | bool right_is_nan = std::isnan(right); | 119 | 3.92M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.35k | if (left_is_nan && right_is_nan) { | 121 | 848 | return 0; | 122 | 848 | } | 123 | 1.50k | if (left_is_nan) { | 124 | 411 | return 1; | 125 | 1.09k | } else { | 126 | 1.09k | return -1; | 127 | 1.09k | } | 128 | 1.50k | } | 129 | 3.91M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 3.92M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 115 | 7.94M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 7.94M | bool left_is_nan = std::isnan(left); | 118 | 7.94M | bool right_is_nan = std::isnan(right); | 119 | 7.94M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.86k | if (left_is_nan && right_is_nan) { | 121 | 1.06k | return 0; | 122 | 1.06k | } | 123 | 1.79k | if (left_is_nan) { | 124 | 502 | return 1; | 125 | 1.29k | } else { | 126 | 1.29k | return -1; | 127 | 1.29k | } | 128 | 1.79k | } | 129 | 7.94M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 7.94M | }; |
|
131 | | |
132 | | // float |
133 | | template <> |
134 | 14.6k | inline bool Compare::less(const float& a, const float& b) { |
135 | 14.6k | return GreaterThanFloat(b, a); |
136 | 14.6k | } |
137 | | template <> |
138 | 37.5k | inline bool Compare::greater(const float& a, const float& b) { |
139 | 37.5k | return GreaterThanFloat(a, b); |
140 | 37.5k | } |
141 | | template <> |
142 | 576 | inline bool Compare::less_equal(const float& a, const float& b) { |
143 | 576 | return GreaterThanEqualsFloat(b, a); |
144 | 576 | } |
145 | | template <> |
146 | 573 | inline bool Compare::greater_equal(const float& a, const float& b) { |
147 | 573 | return GreaterThanEqualsFloat(a, b); |
148 | 573 | } |
149 | | template <> |
150 | 925 | inline bool Compare::equal(const float& a, const float& b) { |
151 | 925 | return EqualsFloat(a, b); |
152 | 925 | } |
153 | | template <> |
154 | 183 | inline bool Compare::not_equal(const float& a, const float& b) { |
155 | 183 | return !EqualsFloat(a, b); |
156 | 183 | } |
157 | | template <> |
158 | 3.91M | inline int Compare::compare(const float& a, const float& b) { |
159 | 3.91M | return CompareFloat(a, b); |
160 | 3.91M | } |
161 | | template <> |
162 | 332 | inline float Compare::max_value<float>() { |
163 | 332 | return std::numeric_limits<float>::quiet_NaN(); |
164 | 332 | } |
165 | | |
166 | | // double |
167 | | template <> |
168 | 990k | inline bool Compare::less(const double& a, const double& b) { |
169 | 990k | return GreaterThanFloat(b, a); |
170 | 990k | } |
171 | | template <> |
172 | 6.11M | inline bool Compare::greater(const double& a, const double& b) { |
173 | 6.11M | return GreaterThanFloat(a, b); |
174 | 6.11M | } |
175 | | template <> |
176 | 277k | inline bool Compare::less_equal(const double& a, const double& b) { |
177 | 277k | return GreaterThanEqualsFloat(b, a); |
178 | 277k | } |
179 | | template <> |
180 | 278k | inline bool Compare::greater_equal(const double& a, const double& b) { |
181 | 278k | return GreaterThanEqualsFloat(a, b); |
182 | 278k | } |
183 | | template <> |
184 | 1.30M | inline bool Compare::equal(const double& a, const double& b) { |
185 | 1.30M | return EqualsFloat(a, b); |
186 | 1.30M | } |
187 | | template <> |
188 | 536 | inline bool Compare::not_equal(const double& a, const double& b) { |
189 | 536 | return !EqualsFloat(a, b); |
190 | 536 | } |
191 | | template <> |
192 | 7.94M | inline int Compare::compare(const double& a, const double& b) { |
193 | 7.94M | return CompareFloat(a, b); |
194 | 7.94M | } |
195 | | template <> |
196 | 761 | inline double Compare::max_value<double>() { |
197 | 761 | return std::numeric_limits<double>::quiet_NaN(); |
198 | 761 | } |
199 | | |
200 | | template <class T> |
201 | | struct Less { |
202 | 771k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 202 | 966 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 202 | 2.53k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 202 | 726k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 202 | 11.1k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 202 | 117 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 202 | 94 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 202 | 85 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 202 | 18.0k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 202 | 290 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 624 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 9.49k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 202 | 612 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 202 | 56 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIhEclERKhS3_ Line | Count | Source | 202 | 67 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 202 | 54 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 202 | 674 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 202 | 48 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 202 | 107 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
203 | | }; |
204 | | template <> |
205 | 410 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
206 | 410 | return Compare::less(lhs, rhs); |
207 | 410 | } |
208 | | template <> |
209 | 70 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
210 | 70 | return Compare::less(lhs, rhs); |
211 | 70 | } |
212 | | |
213 | | template <class T> |
214 | | struct EqualTo { |
215 | 111M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 215 | 21.1M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm256EjEEEclERKS3_S6_ Line | Count | Source | 215 | 86.6k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 215 | 3.75k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 215 | 61.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt104EEclERKS1_S4_ Line | Count | Source | 215 | 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 | 215 | 13.6k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 215 | 70.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 215 | 29.0M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 215 | 4.92M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 215 | 17.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 215 | 77.5k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 215 | 204 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 215 | 19.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 215 | 35.8M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 215 | 83 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 215 | 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 | 215 | 1.80k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 215 | 1.72k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 215 | 84 | 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 | 215 | 8.03k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 215 | 8 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 215 | 633 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 215 | 31 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 215 | 120 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 215 | 13 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 215 | 8.23k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 215 | 4.35k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 215 | 4.16k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
Unexecuted instantiation: _ZNK5doris7EqualToIN4wide7integerILm256EiEEEclERKS3_S6_ |
216 | | }; |
217 | | template <> |
218 | 32 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
219 | 32 | return Compare::equal(lhs, rhs); |
220 | 32 | } |
221 | | template <> |
222 | 408 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
223 | 408 | return Compare::equal(lhs, rhs); |
224 | 408 | } |
225 | | |
226 | | template <typename T> |
227 | | requires(std::is_floating_point_v<T>) |
228 | 527k | void NormalizeFloat(T& val) { |
229 | 527k | if (val == (T)0.0) { |
230 | | // Turn negative zero into positive zero |
231 | 48.1k | val = (T)0.0; |
232 | 479k | } else if (std::isnan(val)) { |
233 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
234 | 156 | } |
235 | 527k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 20.6k | void NormalizeFloat(T& val) { | 229 | 20.6k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 1.41k | val = (T)0.0; | 232 | 19.2k | } else if (std::isnan(val)) { | 233 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 41 | } | 235 | 20.6k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 506k | void NormalizeFloat(T& val) { | 229 | 506k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 46.7k | val = (T)0.0; | 232 | 459k | } else if (std::isnan(val)) { | 233 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 115 | } | 235 | 506k | } |
|
236 | | |
237 | | } // namespace doris |