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 | 88.6M | static bool less(const T& a, const T& b) { |
28 | 88.6M | return a < b; |
29 | 88.6M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 27 | 16.2M | static bool less(const T& a, const T& b) { | 28 | 16.2M | return a < b; | 29 | 16.2M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 27 | 685k | static bool less(const T& a, const T& b) { | 28 | 685k | return a < b; | 29 | 685k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 27 | 306k | static bool less(const T& a, const T& b) { | 28 | 306k | return a < b; | 29 | 306k | } |
_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.5k | static bool less(const T& a, const T& b) { | 28 | 16.5k | return a < b; | 29 | 16.5k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 27 | 33.8k | static bool less(const T& a, const T& b) { | 28 | 33.8k | return a < b; | 29 | 33.8k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 27 | 29.7k | static bool less(const T& a, const T& b) { | 28 | 29.7k | return a < b; | 29 | 29.7k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 27 | 1.90k | static bool less(const T& a, const T& b) { | 28 | 1.90k | return a < b; | 29 | 1.90k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 27 | 1.94k | static bool less(const T& a, const T& b) { | 28 | 1.94k | return a < b; | 29 | 1.94k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 27 | 2.21k | static bool less(const T& a, const T& b) { | 28 | 2.21k | return a < b; | 29 | 2.21k | } |
_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.1M | static bool less(const T& a, const T& b) { | 28 | 45.1M | return a < b; | 29 | 45.1M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 27 | 6.28k | static bool less(const T& a, const T& b) { | 28 | 6.28k | return a < b; | 29 | 6.28k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 27 | 2.18M | static bool less(const T& a, const T& b) { | 28 | 2.18M | return a < b; | 29 | 2.18M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 27 | 6.55M | static bool less(const T& a, const T& b) { | 28 | 6.55M | return a < b; | 29 | 6.55M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 27 | 4.25k | static bool less(const T& a, const T& b) { | 28 | 4.25k | return a < b; | 29 | 4.25k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 27 | 762k | static bool less(const T& a, const T& b) { | 28 | 762k | return a < b; | 29 | 762k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 27 | 3.22k | static bool less(const T& a, const T& b) { | 28 | 3.22k | return a < b; | 29 | 3.22k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 27 | 15 | static bool less(const T& a, const T& b) { | 28 | 15 | return a < b; | 29 | 15 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 27 | 109k | static bool less(const T& a, const T& b) { | 28 | 109k | return a < b; | 29 | 109k | } |
|
30 | | template <typename T> |
31 | 136M | static bool greater(const T& a, const T& b) { |
32 | 136M | return a > b; |
33 | 136M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 31 | 34.0k | static bool greater(const T& a, const T& b) { | 32 | 34.0k | return a > b; | 33 | 34.0k | } |
_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 | 71.4k | static bool greater(const T& a, const T& b) { | 32 | 71.4k | return a > b; | 33 | 71.4k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 31 | 20.6M | static bool greater(const T& a, const T& b) { | 32 | 20.6M | return a > b; | 33 | 20.6M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 31 | 42.3M | static bool greater(const T& a, const T& b) { | 32 | 42.3M | return a > b; | 33 | 42.3M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 31 | 899k | static bool greater(const T& a, const T& b) { | 32 | 899k | return a > b; | 33 | 899k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 31 | 2.38k | static bool greater(const T& a, const T& b) { | 32 | 2.38k | return a > b; | 33 | 2.38k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 31 | 2.39k | static bool greater(const T& a, const T& b) { | 32 | 2.39k | return a > b; | 33 | 2.39k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 31 | 6.28k | static bool greater(const T& a, const T& b) { | 32 | 6.28k | return a > b; | 33 | 6.28k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 16.9M | static bool greater(const T& a, const T& b) { | 32 | 16.9M | return a > b; | 33 | 16.9M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 46.9M | static bool greater(const T& a, const T& b) { | 32 | 46.9M | return a > b; | 33 | 46.9M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 31 | 11.3k | static bool greater(const T& a, const T& b) { | 32 | 11.3k | return a > b; | 33 | 11.3k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 31 | 2.92M | static bool greater(const T& a, const T& b) { | 32 | 2.92M | return a > b; | 33 | 2.92M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 31 | 4.27M | static bool greater(const T& a, const T& b) { | 32 | 4.27M | return a > b; | 33 | 4.27M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 31 | 5.12k | static bool greater(const T& a, const T& b) { | 32 | 5.12k | return a > b; | 33 | 5.12k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 31 | 26.4k | static bool greater(const T& a, const T& b) { | 32 | 26.4k | return a > b; | 33 | 26.4k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 31 | 3.38k | static bool greater(const T& a, const T& b) { | 32 | 3.38k | return a > b; | 33 | 3.38k | } |
_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 | 671 | static bool greater(const T& a, const T& b) { | 32 | 671 | return a > b; | 33 | 671 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 31 | 1.21M | static bool greater(const T& a, const T& b) { | 32 | 1.21M | return a > b; | 33 | 1.21M | } |
|
34 | | |
35 | | template <typename T> |
36 | 55.3M | static bool less_equal(const T& a, const T& b) { |
37 | 55.3M | return a <= b; |
38 | 55.3M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 36 | 34.0M | static bool less_equal(const T& a, const T& b) { | 37 | 34.0M | return a <= b; | 38 | 34.0M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 36 | 5.78M | static bool less_equal(const T& a, const T& b) { | 37 | 5.78M | return a <= b; | 38 | 5.78M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 36 | 447k | static bool less_equal(const T& a, const T& b) { | 37 | 447k | return a <= b; | 38 | 447k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 36 | 136 | static bool less_equal(const T& a, const T& b) { | 37 | 136 | return a <= b; | 38 | 136 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 36 | 336k | static bool less_equal(const T& a, const T& b) { | 37 | 336k | return a <= b; | 38 | 336k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 36 | 2.32M | static bool less_equal(const T& a, const T& b) { | 37 | 2.32M | return a <= b; | 38 | 2.32M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 36 | 276k | static bool less_equal(const T& a, const T& b) { | 37 | 276k | return a <= b; | 38 | 276k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 36 | 241 | static bool less_equal(const T& a, const T& b) { | 37 | 241 | return a <= b; | 38 | 241 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 36 | 143 | static bool less_equal(const T& a, const T& b) { | 37 | 143 | return a <= b; | 38 | 143 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 36 | 31 | static bool less_equal(const T& a, const T& b) { | 37 | 31 | return a <= b; | 38 | 31 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 36 | 144 | static bool less_equal(const T& a, const T& b) { | 37 | 144 | return a <= b; | 38 | 144 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 36 | 4.78M | static bool less_equal(const T& a, const T& b) { | 37 | 4.78M | return a <= b; | 38 | 4.78M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 36 | 564k | static bool less_equal(const T& a, const T& b) { | 37 | 564k | return a <= b; | 38 | 564k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 36 | 203 | static bool less_equal(const T& a, const T& b) { | 37 | 203 | return a <= b; | 38 | 203 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 36 | 354k | static bool less_equal(const T& a, const T& b) { | 37 | 354k | return a <= b; | 38 | 354k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 36 | 486k | static bool less_equal(const T& a, const T& b) { | 37 | 486k | return a <= b; | 38 | 486k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 5.52M | static bool less_equal(const T& a, const T& b) { | 37 | 5.52M | return a <= b; | 38 | 5.52M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 167k | static bool less_equal(const T& a, const T& b) { | 37 | 167k | return a <= b; | 38 | 167k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 36 | 613 | static bool less_equal(const T& a, const T& b) { | 37 | 613 | return a <= b; | 38 | 613 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 36 | 246k | static bool less_equal(const T& a, const T& b) { | 37 | 246k | return a <= b; | 38 | 246k | } |
|
39 | | template <typename T> |
40 | 57.1M | static bool greater_equal(const T& a, const T& b) { |
41 | 57.1M | return a >= b; |
42 | 57.1M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 40 | 301k | static bool greater_equal(const T& a, const T& b) { | 41 | 301k | return a >= b; | 42 | 301k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 40 | 2.21M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.21M | return a >= b; | 42 | 2.21M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 40 | 281k | static bool greater_equal(const T& a, const T& b) { | 41 | 281k | return a >= b; | 42 | 281k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 40 | 32.3M | static bool greater_equal(const T& a, const T& b) { | 41 | 32.3M | return a >= b; | 42 | 32.3M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 40 | 478k | static bool greater_equal(const T& a, const T& b) { | 41 | 478k | return a >= b; | 42 | 478k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 40 | 544k | static bool greater_equal(const T& a, const T& b) { | 41 | 544k | return a >= b; | 42 | 544k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 40 | 328 | static bool greater_equal(const T& a, const T& b) { | 41 | 328 | return a >= b; | 42 | 328 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 40 | 240 | static bool greater_equal(const T& a, const T& b) { | 41 | 240 | return a >= b; | 42 | 240 | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 40 | 151 | static bool greater_equal(const T& a, const T& b) { | 41 | 151 | return a >= b; | 42 | 151 | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 40 | 31 | static bool greater_equal(const T& a, const T& b) { | 41 | 31 | return a >= b; | 42 | 31 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 40 | 214 | static bool greater_equal(const T& a, const T& b) { | 41 | 214 | return a >= b; | 42 | 214 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 40 | 2.39M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.39M | return a >= b; | 42 | 2.39M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 40 | 541k | static bool greater_equal(const T& a, const T& b) { | 41 | 541k | return a >= b; | 42 | 541k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 40 | 186 | static bool greater_equal(const T& a, const T& b) { | 41 | 186 | return a >= b; | 42 | 186 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 40 | 351k | static bool greater_equal(const T& a, const T& b) { | 41 | 351k | return a >= b; | 42 | 351k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 40 | 462k | static bool greater_equal(const T& a, const T& b) { | 41 | 462k | return a >= b; | 42 | 462k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 16.7M | static bool greater_equal(const T& a, const T& b) { | 41 | 16.7M | return a >= b; | 42 | 16.7M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 117k | static bool greater_equal(const T& a, const T& b) { | 41 | 117k | return a >= b; | 42 | 117k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 40 | 636 | static bool greater_equal(const T& a, const T& b) { | 41 | 636 | return a >= b; | 42 | 636 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 40 | 292k | static bool greater_equal(const T& a, const T& b) { | 41 | 292k | return a >= b; | 42 | 292k | } |
|
43 | | template <typename T> |
44 | 116M | static bool equal(const T& a, const T& b) { |
45 | 116M | return a == b; |
46 | 116M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 44 | 42.1M | static bool equal(const T& a, const T& b) { | 45 | 42.1M | return a == b; | 46 | 42.1M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 44 | 4.24M | static bool equal(const T& a, const T& b) { | 45 | 4.24M | return a == b; | 46 | 4.24M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 44 | 815k | static bool equal(const T& a, const T& b) { | 45 | 815k | return a == b; | 46 | 815k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 44 | 41 | static bool equal(const T& a, const T& b) { | 45 | 41 | return a == b; | 46 | 41 | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 44 | 401k | static bool equal(const T& a, const T& b) { | 45 | 401k | return a == b; | 46 | 401k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 509k | static bool equal(const T& a, const T& b) { | 45 | 509k | return a == b; | 46 | 509k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 205k | static bool equal(const T& a, const T& b) { | 45 | 205k | return a == b; | 46 | 205k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 44 | 21.0k | static bool equal(const T& a, const T& b) { | 45 | 21.0k | return a == b; | 46 | 21.0k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 44 | 1.07k | static bool equal(const T& a, const T& b) { | 45 | 1.07k | return a == b; | 46 | 1.07k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 44 | 888 | static bool equal(const T& a, const T& b) { | 45 | 888 | return a == b; | 46 | 888 | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 44 | 3.77k | static bool equal(const T& a, const T& b) { | 45 | 3.77k | return a == b; | 46 | 3.77k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 44 | 63.3M | static bool equal(const T& a, const T& b) { | 45 | 63.3M | return a == b; | 46 | 63.3M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 44 | 439k | static bool equal(const T& a, const T& b) { | 45 | 439k | return a == b; | 46 | 439k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 44 | 498 | static bool equal(const T& a, const T& b) { | 45 | 498 | return a == b; | 46 | 498 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 44 | 1.05k | static bool equal(const T& a, const T& b) { | 45 | 1.05k | return a == b; | 46 | 1.05k | } |
_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_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 44 | 703k | static bool equal(const T& a, const T& b) { | 45 | 703k | return a == b; | 46 | 703k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 44 | 414 | static bool equal(const T& a, const T& b) { | 45 | 414 | return a == b; | 46 | 414 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 44 | 1.81M | static bool equal(const T& a, const T& b) { | 45 | 1.81M | return a == b; | 46 | 1.81M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 44 | 1.63M | static bool equal(const T& a, const T& b) { | 45 | 1.63M | return a == b; | 46 | 1.63M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 44 | 62.2k | static bool equal(const T& a, const T& b) { | 45 | 62.2k | return a == b; | 46 | 62.2k | } |
|
47 | | template <typename T> |
48 | 1.57M | static bool not_equal(const T& a, const T& b) { |
49 | 1.57M | return a != b; |
50 | 1.57M | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 48 | 1.85k | static bool not_equal(const T& a, const T& b) { | 49 | 1.85k | return a != b; | 50 | 1.85k | } |
_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.06M | static bool not_equal(const T& a, const T& b) { | 49 | 1.06M | return a != b; | 50 | 1.06M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 48 | 500k | static bool not_equal(const T& a, const T& b) { | 49 | 500k | return a != b; | 50 | 500k | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 48 | 1.82k | static bool not_equal(const T& a, const T& b) { | 49 | 1.82k | return a != b; | 50 | 1.82k | } |
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 | 2.91k | static bool not_equal(const T& a, const T& b) { | 49 | 2.91k | return a != b; | 50 | 2.91k | } |
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 | 269 | static bool not_equal(const T& a, const T& b) { | 49 | 269 | return a != b; | 50 | 269 | } |
_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.77k | static bool not_equal(const T& a, const T& b) { | 49 | 1.77k | return a != b; | 50 | 1.77k | } |
|
51 | | |
52 | | template <typename T> |
53 | 547M | static int compare(const T& a, const T& b) { |
54 | 547M | return a > b ? 1 : (a < b ? -1 : 0); |
55 | 547M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 53 | 5.34M | static int compare(const T& a, const T& b) { | 54 | 5.34M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 5.34M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 53 | 14.9k | static int compare(const T& a, const T& b) { | 54 | 14.9k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 14.9k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 53 | 110M | static int compare(const T& a, const T& b) { | 54 | 110M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 110M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 53 | 6.96M | static int compare(const T& a, const T& b) { | 54 | 6.96M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 6.96M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 53 | 311M | static int compare(const T& a, const T& b) { | 54 | 311M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 311M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 13.1M | static int compare(const T& a, const T& b) { | 54 | 13.1M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 13.1M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 50.0M | static int compare(const T& a, const T& b) { | 54 | 50.0M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 50.0M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 53 | 7.12k | static int compare(const T& a, const T& b) { | 54 | 7.12k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.12k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 53 | 4.95k | static int compare(const T& a, const T& b) { | 54 | 4.95k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.95k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 53 | 10.8M | static int compare(const T& a, const T& b) { | 54 | 10.8M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 10.8M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 53 | 9.14M | static int compare(const T& a, const T& b) { | 54 | 9.14M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 9.14M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 53 | 15.0M | static int compare(const T& a, const T& b) { | 54 | 15.0M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 15.0M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 53 | 2.56k | static int compare(const T& a, const T& b) { | 54 | 2.56k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 2.56k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 53 | 23.4k | static int compare(const T& a, const T& b) { | 54 | 23.4k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 23.4k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 53 | 444k | static int compare(const T& a, const T& b) { | 54 | 444k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 444k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 53 | 166k | static int compare(const T& a, const T& b) { | 54 | 166k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 166k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 53 | 14.4M | static int compare(const T& a, const T& b) { | 54 | 14.4M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 14.4M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 53 | 96.0k | static int compare(const T& a, const T& b) { | 54 | 96.0k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 96.0k | } |
|
56 | | |
57 | | template <typename T> |
58 | 56.8M | static T min(const T& a, const T& b) { |
59 | 56.8M | return less(a, b) ? a : b; |
60 | 56.8M | } _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.54k | static T min(const T& a, const T& b) { | 59 | 2.54k | return less(a, b) ? a : b; | 60 | 2.54k | } |
_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 | 869 | static T min(const T& a, const T& b) { | 59 | 869 | return less(a, b) ? a : b; | 60 | 869 | } |
_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.18M | static T min(const T& a, const T& b) { | 59 | 2.18M | return less(a, b) ? a : b; | 60 | 2.18M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 58 | 4.16M | static T min(const T& a, const T& b) { | 59 | 4.16M | return less(a, b) ? a : b; | 60 | 4.16M | } |
_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 | 760k | static T min(const T& a, const T& b) { | 59 | 760k | return less(a, b) ? a : b; | 60 | 760k | } |
_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.8M | static T max(const T& a, const T& b) { |
64 | 75.8M | return greater(a, b) ? a : b; |
65 | 75.8M | } _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.54k | static T max(const T& a, const T& b) { | 64 | 2.54k | return greater(a, b) ? a : b; | 65 | 2.54k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 63 | 6.06M | static T max(const T& a, const T& b) { | 64 | 6.06M | return greater(a, b) ? a : b; | 65 | 6.06M | } |
_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.8k | static T max(const T& a, const T& b) { | 64 | 15.8k | return greater(a, b) ? a : b; | 65 | 15.8k | } |
_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.36M | static T max(const T& a, const T& b) { | 64 | 4.36M | return greater(a, b) ? a : b; | 65 | 4.36M | } |
_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 | 2.10k | static T max(const T& a, const T& b) { | 64 | 2.10k | return greater(a, b) ? a : b; | 65 | 2.10k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 63 | 21.5k | static T max(const T& a, const T& b) { | 64 | 21.5k | return greater(a, b) ? a : b; | 65 | 21.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 63 | 2.91M | static T max(const T& a, const T& b) { | 64 | 2.91M | return greater(a, b) ? a : b; | 65 | 2.91M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 63 | 4.19M | static T max(const T& a, const T& b) { | 64 | 4.19M | return greater(a, b) ? a : b; | 65 | 4.19M | } |
_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.3k | static T max(const T& a, const T& b) { | 64 | 11.3k | return greater(a, b) ? a : b; | 65 | 11.3k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 63 | 356 | static T max(const T& a, const T& b) { | 64 | 356 | return greater(a, b) ? a : b; | 65 | 356 | } |
|
66 | | |
67 | | template <typename T> |
68 | 1.57M | static T min_value() { |
69 | 1.57M | return type_limit<T>::min(); |
70 | 1.57M | } _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 | 13.7k | static T min_value() { | 69 | 13.7k | return type_limit<T>::min(); | 70 | 13.7k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 68 | 16.4k | static T min_value() { | 69 | 16.4k | return type_limit<T>::min(); | 70 | 16.4k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 68 | 1.83k | static T min_value() { | 69 | 1.83k | return type_limit<T>::min(); | 70 | 1.83k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 68 | 343k | static T min_value() { | 69 | 343k | return type_limit<T>::min(); | 70 | 343k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 68 | 27 | static T min_value() { | 69 | 27 | return type_limit<T>::min(); | 70 | 27 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 68 | 27 | static T min_value() { | 69 | 27 | return type_limit<T>::min(); | 70 | 27 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 68 | 318 | static T min_value() { | 69 | 318 | return type_limit<T>::min(); | 70 | 318 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 68 | 1.48k | static T min_value() { | 69 | 1.48k | return type_limit<T>::min(); | 70 | 1.48k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 68 | 2.56k | static T min_value() { | 69 | 2.56k | return type_limit<T>::min(); | 70 | 2.56k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 68 | 1.08M | static T min_value() { | 69 | 1.08M | return type_limit<T>::min(); | 70 | 1.08M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 68 | 58.6k | static T min_value() { | 69 | 58.6k | return type_limit<T>::min(); | 70 | 58.6k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 68 | 1.30k | static T min_value() { | 69 | 1.30k | return type_limit<T>::min(); | 70 | 1.30k | } |
_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.10k | static T min_value() { | 69 | 8.10k | return type_limit<T>::min(); | 70 | 8.10k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 68 | 19.5k | static T min_value() { | 69 | 19.5k | return type_limit<T>::min(); | 70 | 19.5k | } |
_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 | 780 | static T min_value() { | 69 | 780 | return type_limit<T>::min(); | 70 | 780 | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 68 | 167 | static T min_value() { | 69 | 167 | return type_limit<T>::min(); | 70 | 167 | } |
|
71 | | |
72 | | template <typename T> |
73 | 272k | static T max_value() { |
74 | 272k | return type_limit<T>::max(); |
75 | 272k | } _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.73k | static T max_value() { | 74 | 3.73k | return type_limit<T>::max(); | 75 | 3.73k | } |
_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.83k | static T max_value() { | 74 | 1.83k | return type_limit<T>::max(); | 75 | 1.83k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 73 | 29 | static T max_value() { | 74 | 29 | return type_limit<T>::max(); | 75 | 29 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 73 | 29 | static T max_value() { | 74 | 29 | return type_limit<T>::max(); | 75 | 29 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 73 | 183 | static T max_value() { | 74 | 183 | return type_limit<T>::max(); | 75 | 183 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 73 | 633 | static T max_value() { | 74 | 633 | return type_limit<T>::max(); | 75 | 633 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 73 | 622 | static T max_value() { | 74 | 622 | return type_limit<T>::max(); | 75 | 622 | } |
_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 | 42.0k | static T max_value() { | 74 | 42.0k | return type_limit<T>::max(); | 75 | 42.0k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 73 | 471 | static T max_value() { | 74 | 471 | return type_limit<T>::max(); | 75 | 471 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 73 | 390 | static T max_value() { | 74 | 390 | return type_limit<T>::max(); | 75 | 390 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 73 | 4.94k | static T max_value() { | 74 | 4.94k | return type_limit<T>::max(); | 75 | 4.94k | } |
_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 | 653 | static T max_value() { | 74 | 653 | return type_limit<T>::max(); | 75 | 653 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 73 | 169 | static T max_value() { | 74 | 169 | return type_limit<T>::max(); | 75 | 169 | } |
|
76 | | }; |
77 | | |
78 | | template <typename T> |
79 | 1.29M | bool EqualsFloat(T left, T right) { |
80 | 1.29M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
81 | 212 | return true; |
82 | 212 | } |
83 | 1.29M | return left == right; |
84 | 1.29M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 79 | 1.27k | bool EqualsFloat(T left, T right) { | 80 | 1.27k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 27 | return true; | 82 | 27 | } | 83 | 1.24k | return left == right; | 84 | 1.27k | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 79 | 1.29M | bool EqualsFloat(T left, T right) { | 80 | 1.29M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 185 | return true; | 82 | 185 | } | 83 | 1.29M | return left == right; | 84 | 1.29M | } |
|
85 | | |
86 | | template <typename T> |
87 | 7.26M | bool GreaterThanFloat(T left, T right) { |
88 | | // nan is always bigger than everything else |
89 | 7.26M | bool left_is_nan = std::isnan(left); |
90 | 7.26M | bool right_is_nan = std::isnan(right); |
91 | 7.26M | if (UNLIKELY(right_is_nan)) { |
92 | 553 | return false; |
93 | 553 | } |
94 | 7.26M | if (UNLIKELY(left_is_nan)) { |
95 | 29.3k | return true; |
96 | 29.3k | } |
97 | 7.23M | return left > right; |
98 | 7.26M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 87 | 53.1k | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 53.1k | bool left_is_nan = std::isnan(left); | 90 | 53.1k | bool right_is_nan = std::isnan(right); | 91 | 53.1k | if (UNLIKELY(right_is_nan)) { | 92 | 112 | return false; | 93 | 112 | } | 94 | 53.0k | if (UNLIKELY(left_is_nan)) { | 95 | 11.9k | return true; | 96 | 11.9k | } | 97 | 41.0k | return left > right; | 98 | 53.0k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 87 | 7.20M | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 7.20M | bool left_is_nan = std::isnan(left); | 90 | 7.20M | bool right_is_nan = std::isnan(right); | 91 | 7.20M | if (UNLIKELY(right_is_nan)) { | 92 | 441 | return false; | 93 | 441 | } | 94 | 7.20M | if (UNLIKELY(left_is_nan)) { | 95 | 17.4k | return true; | 96 | 17.4k | } | 97 | 7.19M | return left > right; | 98 | 7.20M | } |
|
99 | | |
100 | | template <typename T> |
101 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { |
102 | | // nan is always bigger than everything else |
103 | 1.36M | bool left_is_nan = std::isnan(left); |
104 | 1.36M | bool right_is_nan = std::isnan(right); |
105 | 1.36M | if (UNLIKELY(right_is_nan)) { |
106 | 371 | return left_is_nan; |
107 | 371 | } |
108 | 1.36M | if (UNLIKELY(left_is_nan)) { |
109 | 656 | return true; |
110 | 656 | } |
111 | 1.36M | return left >= right; |
112 | 1.36M | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 101 | 1.20k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.20k | bool left_is_nan = std::isnan(left); | 104 | 1.20k | bool right_is_nan = std::isnan(right); | 105 | 1.20k | if (UNLIKELY(right_is_nan)) { | 106 | 48 | return left_is_nan; | 107 | 48 | } | 108 | 1.15k | if (UNLIKELY(left_is_nan)) { | 109 | 123 | return true; | 110 | 123 | } | 111 | 1.03k | return left >= right; | 112 | 1.15k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 101 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.36M | bool left_is_nan = std::isnan(left); | 104 | 1.36M | bool right_is_nan = std::isnan(right); | 105 | 1.36M | if (UNLIKELY(right_is_nan)) { | 106 | 323 | return left_is_nan; | 107 | 323 | } | 108 | 1.36M | if (UNLIKELY(left_is_nan)) { | 109 | 533 | return true; | 110 | 533 | } | 111 | 1.36M | return left >= right; | 112 | 1.36M | } |
|
113 | | |
114 | | template <typename T> |
115 | 19.7M | int CompareFloat(T left, T right) { |
116 | | // nan is always bigger than everything else |
117 | 19.7M | bool left_is_nan = std::isnan(left); |
118 | 19.7M | bool right_is_nan = std::isnan(right); |
119 | 19.7M | 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 | 19.7M | return left > right ? 1 : (left < right ? -1 : 0); |
130 | 19.7M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 115 | 8.32M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 8.32M | bool left_is_nan = std::isnan(left); | 118 | 8.32M | bool right_is_nan = std::isnan(right); | 119 | 8.32M | 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 | 8.32M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 8.32M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 115 | 11.3M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 11.3M | bool left_is_nan = std::isnan(left); | 118 | 11.3M | bool right_is_nan = std::isnan(right); | 119 | 11.3M | 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 | 11.3M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 11.3M | }; |
|
131 | | |
132 | | // float |
133 | | template <> |
134 | 14.7k | inline bool Compare::less(const float& a, const float& b) { |
135 | 14.7k | return GreaterThanFloat(b, a); |
136 | 14.7k | } |
137 | | template <> |
138 | 38.3k | inline bool Compare::greater(const float& a, const float& b) { |
139 | 38.3k | return GreaterThanFloat(a, b); |
140 | 38.3k | } |
141 | | template <> |
142 | 606 | inline bool Compare::less_equal(const float& a, const float& b) { |
143 | 606 | return GreaterThanEqualsFloat(b, a); |
144 | 606 | } |
145 | | template <> |
146 | 601 | inline bool Compare::greater_equal(const float& a, const float& b) { |
147 | 601 | return GreaterThanEqualsFloat(a, b); |
148 | 601 | } |
149 | | template <> |
150 | 1.09k | inline bool Compare::equal(const float& a, const float& b) { |
151 | 1.09k | return EqualsFloat(a, b); |
152 | 1.09k | } |
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 | 8.32M | inline int Compare::compare(const float& a, const float& b) { |
159 | 8.32M | return CompareFloat(a, b); |
160 | 8.32M | } |
161 | | template <> |
162 | 335 | inline float Compare::max_value<float>() { |
163 | 335 | return std::numeric_limits<float>::quiet_NaN(); |
164 | 335 | } |
165 | | |
166 | | // double |
167 | | template <> |
168 | 723k | inline bool Compare::less(const double& a, const double& b) { |
169 | 723k | return GreaterThanFloat(b, a); |
170 | 723k | } |
171 | | template <> |
172 | 6.49M | inline bool Compare::greater(const double& a, const double& b) { |
173 | 6.49M | return GreaterThanFloat(a, b); |
174 | 6.49M | } |
175 | | template <> |
176 | 602k | inline bool Compare::less_equal(const double& a, const double& b) { |
177 | 602k | return GreaterThanEqualsFloat(b, a); |
178 | 602k | } |
179 | | template <> |
180 | 762k | inline bool Compare::greater_equal(const double& a, const double& b) { |
181 | 762k | return GreaterThanEqualsFloat(a, b); |
182 | 762k | } |
183 | | template <> |
184 | 1.29M | inline bool Compare::equal(const double& a, const double& b) { |
185 | 1.29M | return EqualsFloat(a, b); |
186 | 1.29M | } |
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 | 11.3M | inline int Compare::compare(const double& a, const double& b) { |
193 | 11.3M | return CompareFloat(a, b); |
194 | 11.3M | } |
195 | | template <> |
196 | 653 | inline double Compare::max_value<double>() { |
197 | 653 | return std::numeric_limits<double>::quiet_NaN(); |
198 | 653 | } |
199 | | |
200 | | template <class T> |
201 | | struct Less { |
202 | 763k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 202 | 1.45k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 202 | 648 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 202 | 734k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 202 | 11.5k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 202 | 63 | 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 | 6.84k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 202 | 601 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 6.46k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 389 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 202 | 309 | 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 | 61 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 202 | 72 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 202 | 402 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 202 | 72 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 202 | 45 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
203 | | }; |
204 | | template <> |
205 | 393 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
206 | 393 | return Compare::less(lhs, rhs); |
207 | 393 | } |
208 | | template <> |
209 | 64 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
210 | 64 | return Compare::less(lhs, rhs); |
211 | 64 | } |
212 | | |
213 | | template <class T> |
214 | | struct EqualTo { |
215 | 118M | 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); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 215 | 5.08k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 215 | 4.80k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 215 | 15.0M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 215 | 35.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 215 | 226 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 215 | 106 | 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 | 4.35k | 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.42k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 215 | 695 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 215 | 86.9k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 215 | 5.51M | 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); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 215 | 44 | 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 | 824 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 215 | 105 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 215 | 282 | 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 | 10.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 215 | 68.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 215 | 1.07k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 215 | 40.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 | 215 | 289k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 215 | 4.05k | 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 | 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 | 215 | 70.6k | 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); } |
|
216 | | }; |
217 | | template <> |
218 | 45 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
219 | 45 | return Compare::equal(lhs, rhs); |
220 | 45 | } |
221 | | template <> |
222 | 574 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
223 | 574 | return Compare::equal(lhs, rhs); |
224 | 574 | } |
225 | | |
226 | | template <typename T> |
227 | | requires(std::is_floating_point_v<T>) |
228 | 559k | void NormalizeFloat(T& val) { |
229 | 559k | if (val == (T)0.0) { |
230 | | // Turn negative zero into positive zero |
231 | 49.7k | val = (T)0.0; |
232 | 509k | } else if (std::isnan(val)) { |
233 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
234 | 156 | } |
235 | 559k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 21.1k | void NormalizeFloat(T& val) { | 229 | 21.1k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 1.41k | val = (T)0.0; | 232 | 19.6k | } else if (std::isnan(val)) { | 233 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 41 | } | 235 | 21.1k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 538k | void NormalizeFloat(T& val) { | 229 | 538k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 48.3k | val = (T)0.0; | 232 | 489k | } else if (std::isnan(val)) { | 233 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 115 | } | 235 | 538k | } |
|
236 | | |
237 | | } // namespace doris |