Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #include <cmath> |
19 | | |
20 | | #include "common/compiler_util.h" |
21 | | #include "core/type_limit.h" |
22 | | |
23 | | #pragma once |
24 | | namespace doris { |
25 | | #include "common/compile_check_begin.h" |
26 | | struct Compare { |
27 | | template <typename T> |
28 | 141M | static bool less(const T& a, const T& b) { |
29 | 141M | return a < b; |
30 | 141M | } _ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 41.5k | static bool less(const T& a, const T& b) { | 29 | 41.5k | return a < b; | 30 | 41.5k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 32.6k | static bool less(const T& a, const T& b) { | 29 | 32.6k | return a < b; | 30 | 32.6k | } |
_ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 20.6M | static bool less(const T& a, const T& b) { | 29 | 20.6M | return a < b; | 30 | 20.6M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 1.51M | static bool less(const T& a, const T& b) { | 29 | 1.51M | return a < b; | 30 | 1.51M | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 255k | static bool less(const T& a, const T& b) { | 29 | 255k | return a < b; | 30 | 255k | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.27k | static bool less(const T& a, const T& b) { | 29 | 4.27k | return a < b; | 30 | 4.27k | } |
_ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 3.28M | static bool less(const T& a, const T& b) { | 29 | 3.28M | return a < b; | 30 | 3.28M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 7.99M | static bool less(const T& a, const T& b) { | 29 | 7.99M | return a < b; | 30 | 7.99M | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 1.49M | static bool less(const T& a, const T& b) { | 29 | 1.49M | return a < b; | 30 | 1.49M | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 3.30k | static bool less(const T& a, const T& b) { | 29 | 3.30k | return a < b; | 30 | 3.30k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 28 | 19 | static bool less(const T& a, const T& b) { | 29 | 19 | return a < b; | 30 | 19 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 28 | 108k | static bool less(const T& a, const T& b) { | 29 | 108k | return a < b; | 30 | 108k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 2.20k | static bool less(const T& a, const T& b) { | 29 | 2.20k | return a < b; | 30 | 2.20k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 16.6M | static bool less(const T& a, const T& b) { | 29 | 16.6M | return a < b; | 30 | 16.6M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 89.0M | static bool less(const T& a, const T& b) { | 29 | 89.0M | return a < b; | 30 | 89.0M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 6.43k | static bool less(const T& a, const T& b) { | 29 | 6.43k | return a < b; | 30 | 6.43k | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 22.6k | static bool less(const T& a, const T& b) { | 29 | 22.6k | return a < b; | 30 | 22.6k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 1.89k | static bool less(const T& a, const T& b) { | 29 | 1.89k | return a < b; | 30 | 1.89k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 1.92k | static bool less(const T& a, const T& b) { | 29 | 1.92k | return a < b; | 30 | 1.92k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 28 | 975 | static bool less(const T& a, const T& b) { | 29 | 975 | return a < b; | 30 | 975 | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ |
31 | | template <typename T> |
32 | 194M | static bool greater(const T& a, const T& b) { |
33 | 194M | return a > b; |
34 | 194M | } _ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 305k | static bool greater(const T& a, const T& b) { | 33 | 305k | return a > b; | 34 | 305k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 85.8k | static bool greater(const T& a, const T& b) { | 33 | 85.8k | return a > b; | 34 | 85.8k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 30.0M | static bool greater(const T& a, const T& b) { | 33 | 30.0M | return a > b; | 34 | 30.0M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 32.1M | static bool greater(const T& a, const T& b) { | 33 | 32.1M | return a > b; | 34 | 32.1M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 910k | static bool greater(const T& a, const T& b) { | 33 | 910k | return a > b; | 34 | 910k | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 5.47k | static bool greater(const T& a, const T& b) { | 33 | 5.47k | return a > b; | 34 | 5.47k | } |
_ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 4.79M | static bool greater(const T& a, const T& b) { | 33 | 4.79M | return a > b; | 34 | 4.79M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 5.69M | static bool greater(const T& a, const T& b) { | 33 | 5.69M | return a > b; | 34 | 5.69M | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 28.6k | static bool greater(const T& a, const T& b) { | 33 | 28.6k | return a > b; | 34 | 28.6k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 3.78k | static bool greater(const T& a, const T& b) { | 33 | 3.78k | return a > b; | 34 | 3.78k | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 1.39k | static bool greater(const T& a, const T& b) { | 33 | 1.39k | return a > b; | 34 | 1.39k | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 1.22M | static bool greater(const T& a, const T& b) { | 33 | 1.22M | return a > b; | 34 | 1.22M | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 6.00k | static bool greater(const T& a, const T& b) { | 33 | 6.00k | return a > b; | 34 | 6.00k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 28.9M | static bool greater(const T& a, const T& b) { | 33 | 28.9M | return a > b; | 34 | 28.9M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 90.6M | static bool greater(const T& a, const T& b) { | 33 | 90.6M | return a > b; | 34 | 90.6M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 11.3k | static bool greater(const T& a, const T& b) { | 33 | 11.3k | return a > b; | 34 | 11.3k | } |
_ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 47.8k | static bool greater(const T& a, const T& b) { | 33 | 47.8k | return a > b; | 34 | 47.8k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 32 | 2.27k | static bool greater(const T& a, const T& b) { | 33 | 2.27k | return a > b; | 34 | 2.27k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.27k | static bool greater(const T& a, const T& b) { | 33 | 2.27k | return a > b; | 34 | 2.27k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 32 | 6 | static bool greater(const T& a, const T& b) { | 33 | 6 | return a > b; | 34 | 6 | } |
|
35 | | |
36 | | template <typename T> |
37 | 95.0M | static bool less_equal(const T& a, const T& b) { |
38 | 95.0M | return a <= b; |
39 | 95.0M | } _ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 2.19M | static bool less_equal(const T& a, const T& b) { | 38 | 2.19M | return a <= b; | 39 | 2.19M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 211k | static bool less_equal(const T& a, const T& b) { | 38 | 211k | return a <= b; | 39 | 211k | } |
_ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 68.8M | static bool less_equal(const T& a, const T& b) { | 38 | 68.8M | return a <= b; | 39 | 68.8M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 10.1M | static bool less_equal(const T& a, const T& b) { | 38 | 10.1M | return a <= b; | 39 | 10.1M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 327k | static bool less_equal(const T& a, const T& b) { | 38 | 327k | return a <= b; | 39 | 327k | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 37 | 1 | static bool less_equal(const T& a, const T& b) { | 38 | 1 | return a <= b; | 39 | 1 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 37 | 124 | static bool less_equal(const T& a, const T& b) { | 38 | 124 | return a <= b; | 39 | 124 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.86M | static bool less_equal(const T& a, const T& b) { | 38 | 4.86M | return a <= b; | 39 | 4.86M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 501k | static bool less_equal(const T& a, const T& b) { | 38 | 501k | return a <= b; | 39 | 501k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 255 | static bool less_equal(const T& a, const T& b) { | 38 | 255 | return a <= b; | 39 | 255 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 355k | static bool less_equal(const T& a, const T& b) { | 38 | 355k | return a <= b; | 39 | 355k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 232k | static bool less_equal(const T& a, const T& b) { | 38 | 232k | return a <= b; | 39 | 232k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.49M | static bool less_equal(const T& a, const T& b) { | 38 | 5.49M | return a <= b; | 39 | 5.49M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 1.29M | static bool less_equal(const T& a, const T& b) { | 38 | 1.29M | return a <= b; | 39 | 1.29M | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 609 | static bool less_equal(const T& a, const T& b) { | 38 | 609 | return a <= b; | 39 | 609 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 369k | static bool less_equal(const T& a, const T& b) { | 38 | 369k | return a <= b; | 39 | 369k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 218 | static bool less_equal(const T& a, const T& b) { | 38 | 218 | return a <= b; | 39 | 218 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 127 | static bool less_equal(const T& a, const T& b) { | 38 | 127 | return a <= b; | 39 | 127 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 198k | static bool less_equal(const T& a, const T& b) { | 38 | 198k | return a <= b; | 39 | 198k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 37 | 118 | static bool less_equal(const T& a, const T& b) { | 38 | 118 | return a <= b; | 39 | 118 | } |
|
40 | | template <typename T> |
41 | 86.6M | static bool greater_equal(const T& a, const T& b) { |
42 | 86.6M | return a >= b; |
43 | 86.6M | } _ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 2.11M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.11M | return a >= b; | 43 | 2.11M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 136k | static bool greater_equal(const T& a, const T& b) { | 42 | 136k | return a >= b; | 43 | 136k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 62.1M | static bool greater_equal(const T& a, const T& b) { | 42 | 62.1M | return a >= b; | 43 | 62.1M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 383k | static bool greater_equal(const T& a, const T& b) { | 42 | 383k | return a >= b; | 43 | 383k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 308k | static bool greater_equal(const T& a, const T& b) { | 42 | 308k | return a >= b; | 43 | 308k | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 41 | 1 | static bool greater_equal(const T& a, const T& b) { | 42 | 1 | return a >= b; | 43 | 1 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 41 | 160 | static bool greater_equal(const T& a, const T& b) { | 42 | 160 | return a >= b; | 43 | 160 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.46M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.46M | return a >= b; | 43 | 2.46M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 332k | static bool greater_equal(const T& a, const T& b) { | 42 | 332k | return a >= b; | 43 | 332k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 239 | static bool greater_equal(const T& a, const T& b) { | 42 | 239 | return a >= b; | 43 | 239 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 351k | static bool greater_equal(const T& a, const T& b) { | 42 | 351k | return a >= b; | 43 | 351k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 325k | static bool greater_equal(const T& a, const T& b) { | 42 | 325k | return a >= b; | 43 | 325k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 16.8M | static bool greater_equal(const T& a, const T& b) { | 42 | 16.8M | return a >= b; | 43 | 16.8M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 647k | static bool greater_equal(const T& a, const T& b) { | 42 | 647k | return a >= b; | 43 | 647k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 631 | static bool greater_equal(const T& a, const T& b) { | 42 | 631 | return a >= b; | 43 | 631 | } |
_ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 185k | static bool greater_equal(const T& a, const T& b) { | 42 | 185k | return a >= b; | 43 | 185k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 316 | static bool greater_equal(const T& a, const T& b) { | 42 | 316 | return a >= b; | 43 | 316 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 229 | static bool greater_equal(const T& a, const T& b) { | 42 | 229 | return a >= b; | 43 | 229 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 328k | static bool greater_equal(const T& a, const T& b) { | 42 | 328k | return a >= b; | 43 | 328k | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 133 | static bool greater_equal(const T& a, const T& b) { | 42 | 133 | return a >= b; | 43 | 133 | } |
|
44 | | template <typename T> |
45 | 150M | static bool equal(const T& a, const T& b) { |
46 | 150M | return a == b; |
47 | 150M | } _ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 71.1M | static bool equal(const T& a, const T& b) { | 46 | 71.1M | return a == b; | 47 | 71.1M | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.86M | static bool equal(const T& a, const T& b) { | 46 | 1.86M | return a == b; | 47 | 1.86M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 438k | static bool equal(const T& a, const T& b) { | 46 | 438k | return a == b; | 47 | 438k | } |
_ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 66.3M | static bool equal(const T& a, const T& b) { | 46 | 66.3M | return a == b; | 47 | 66.3M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 5.36M | static bool equal(const T& a, const T& b) { | 46 | 5.36M | return a == b; | 47 | 5.36M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 814k | static bool equal(const T& a, const T& b) { | 46 | 814k | return a == b; | 47 | 814k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 765 | static bool equal(const T& a, const T& b) { | 46 | 765 | return a == b; | 47 | 765 | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 465 | static bool equal(const T& a, const T& b) { | 46 | 465 | return a == b; | 47 | 465 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 1.57k | static bool equal(const T& a, const T& b) { | 46 | 1.57k | return a == b; | 47 | 1.57k | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 699k | static bool equal(const T& a, const T& b) { | 46 | 699k | return a == b; | 47 | 699k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 461 | static bool equal(const T& a, const T& b) { | 46 | 461 | return a == b; | 47 | 461 | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 1.74M | static bool equal(const T& a, const T& b) { | 46 | 1.74M | return a == b; | 47 | 1.74M | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 45 | 397k | static bool equal(const T& a, const T& b) { | 46 | 397k | return a == b; | 47 | 397k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 536k | static bool equal(const T& a, const T& b) { | 46 | 536k | return a == b; | 47 | 536k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 199k | static bool equal(const T& a, const T& b) { | 46 | 199k | return a == b; | 47 | 199k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 45 | 21.4k | static bool equal(const T& a, const T& b) { | 46 | 21.4k | return a == b; | 47 | 21.4k | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 2.87k | static bool equal(const T& a, const T& b) { | 46 | 2.87k | return a == b; | 47 | 2.87k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.09k | static bool equal(const T& a, const T& b) { | 46 | 1.09k | return a == b; | 47 | 1.09k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 877 | static bool equal(const T& a, const T& b) { | 46 | 877 | return a == b; | 47 | 877 | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 824k | static bool equal(const T& a, const T& b) { | 46 | 824k | return a == b; | 47 | 824k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 45 | 41 | static bool equal(const T& a, const T& b) { | 46 | 41 | return a == b; | 47 | 41 | } |
|
48 | | template <typename T> |
49 | 1.37M | static bool not_equal(const T& a, const T& b) { |
50 | 1.37M | return a != b; |
51 | 1.37M | } _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 1.51k | static bool not_equal(const T& a, const T& b) { | 50 | 1.51k | return a != b; | 51 | 1.51k | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 2.85k | static bool not_equal(const T& a, const T& b) { | 50 | 2.85k | return a != b; | 51 | 2.85k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 49 | 820 | static bool not_equal(const T& a, const T& b) { | 50 | 820 | return a != b; | 51 | 820 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 49 | 902k | static bool not_equal(const T& a, const T& b) { | 50 | 902k | return a != b; | 51 | 902k | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 459k | static bool not_equal(const T& a, const T& b) { | 50 | 459k | return a != b; | 51 | 459k | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 49 | 2.37k | static bool not_equal(const T& a, const T& b) { | 50 | 2.37k | return a != b; | 51 | 2.37k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 49 | 48 | static bool not_equal(const T& a, const T& b) { | 50 | 48 | return a != b; | 51 | 48 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 49 | 18 | static bool not_equal(const T& a, const T& b) { | 50 | 18 | return a != b; | 51 | 18 | } |
_ZN5doris7Compare9not_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 49 | 66 | static bool not_equal(const T& a, const T& b) { | 50 | 66 | return a != b; | 51 | 66 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 49 | 246 | static bool not_equal(const T& a, const T& b) { | 50 | 246 | return a != b; | 51 | 246 | } |
_ZN5doris7Compare9not_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 49 | 345 | static bool not_equal(const T& a, const T& b) { | 50 | 345 | return a != b; | 51 | 345 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 49 | 64 | static bool not_equal(const T& a, const T& b) { | 50 | 64 | return a != b; | 51 | 64 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 226 | static bool not_equal(const T& a, const T& b) { | 50 | 226 | return a != b; | 51 | 226 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 57 | static bool not_equal(const T& a, const T& b) { | 50 | 57 | return a != b; | 51 | 57 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 49 | 2.01k | static bool not_equal(const T& a, const T& b) { | 50 | 2.01k | return a != b; | 51 | 2.01k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIjEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIoEEbRKT_S4_ _ZN5doris7Compare9not_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 49 | 363 | static bool not_equal(const T& a, const T& b) { | 50 | 363 | return a != b; | 51 | 363 | } |
|
52 | | |
53 | | template <typename T> |
54 | 630M | static int compare(const T& a, const T& b) { |
55 | 630M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 630M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 6.01M | static int compare(const T& a, const T& b) { | 55 | 6.01M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 6.01M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 19.4k | static int compare(const T& a, const T& b) { | 55 | 19.4k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 19.4k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 125M | static int compare(const T& a, const T& b) { | 55 | 125M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 125M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 54 | 11.0M | static int compare(const T& a, const T& b) { | 55 | 11.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 11.0M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 352M | static int compare(const T& a, const T& b) { | 55 | 352M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 352M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 13.5M | static int compare(const T& a, const T& b) { | 55 | 13.5M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 13.5M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 49.9M | static int compare(const T& a, const T& b) { | 55 | 49.9M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 49.9M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 7.05k | static int compare(const T& a, const T& b) { | 55 | 7.05k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 7.05k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.96k | static int compare(const T& a, const T& b) { | 55 | 4.96k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.96k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 13.9M | static int compare(const T& a, const T& b) { | 55 | 13.9M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 13.9M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 12.6M | static int compare(const T& a, const T& b) { | 55 | 12.6M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.6M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 22.6M | static int compare(const T& a, const T& b) { | 55 | 22.6M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 22.6M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.92k | static int compare(const T& a, const T& b) { | 55 | 2.92k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.92k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 54 | 23.9k | static int compare(const T& a, const T& b) { | 55 | 23.9k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 23.9k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 54 | 657k | static int compare(const T& a, const T& b) { | 55 | 657k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 657k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 54 | 166k | static int compare(const T& a, const T& b) { | 55 | 166k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 166k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 22.2M | static int compare(const T& a, const T& b) { | 55 | 22.2M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 22.2M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 96.8k | static int compare(const T& a, const T& b) { | 55 | 96.8k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 96.8k | } |
|
57 | | |
58 | | template <typename T> |
59 | 104M | static T min(const T& a, const T& b) { |
60 | 104M | return less(a, b) ? a : b; |
61 | 104M | } _ZN5doris7Compare3minINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 59 | 5 | static T min(const T& a, const T& b) { | 60 | 5 | return less(a, b) ? a : b; | 61 | 5 | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 1.99M | static T min(const T& a, const T& b) { | 60 | 1.99M | return less(a, b) ? a : b; | 61 | 1.99M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 88.1M | static T min(const T& a, const T& b) { | 60 | 88.1M | return less(a, b) ? a : b; | 61 | 88.1M | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.80k | static T min(const T& a, const T& b) { | 60 | 2.80k | return less(a, b) ? a : b; | 61 | 2.80k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 36.6k | static T min(const T& a, const T& b) { | 60 | 36.6k | return less(a, b) ? a : b; | 61 | 36.6k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 59 | 31 | static T min(const T& a, const T& b) { | 60 | 31 | return less(a, b) ? a : b; | 61 | 31 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 59 | 31 | static T min(const T& a, const T& b) { | 60 | 31 | return less(a, b) ? a : b; | 61 | 31 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 59 | 19.5k | static T min(const T& a, const T& b) { | 60 | 19.5k | return less(a, b) ? a : b; | 61 | 19.5k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 14.2k | static T min(const T& a, const T& b) { | 60 | 14.2k | return less(a, b) ? a : b; | 61 | 14.2k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 14.5k | static T min(const T& a, const T& b) { | 60 | 14.5k | return less(a, b) ? a : b; | 61 | 14.5k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 59 | 3.53M | static T min(const T& a, const T& b) { | 60 | 3.53M | return less(a, b) ? a : b; | 61 | 3.53M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 59 | 125k | static T min(const T& a, const T& b) { | 60 | 125k | return less(a, b) ? a : b; | 61 | 125k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 1.00k | static T min(const T& a, const T& b) { | 60 | 1.00k | return less(a, b) ? a : b; | 61 | 1.00k | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 20.0k | static T min(const T& a, const T& b) { | 60 | 20.0k | return less(a, b) ? a : b; | 61 | 20.0k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 3.28M | static T min(const T& a, const T& b) { | 60 | 3.28M | return less(a, b) ? a : b; | 61 | 3.28M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 59 | 5.60M | static T min(const T& a, const T& b) { | 60 | 5.60M | return less(a, b) ? a : b; | 61 | 5.60M | } |
_ZN5doris7Compare3minINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 59 | 4.09k | static T min(const T& a, const T& b) { | 60 | 4.09k | return less(a, b) ? a : b; | 61 | 4.09k | } |
_ZN5doris7Compare3minINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 59 | 1.49M | static T min(const T& a, const T& b) { | 60 | 1.49M | return less(a, b) ? a : b; | 61 | 1.49M | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 59 | 352 | static T min(const T& a, const T& b) { | 60 | 352 | return less(a, b) ? a : b; | 61 | 352 | } |
|
62 | | |
63 | | template <typename T> |
64 | 146M | static T max(const T& a, const T& b) { |
65 | 146M | return greater(a, b) ? a : b; |
66 | 146M | } _ZN5doris7Compare3maxINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 64 | 5 | static T max(const T& a, const T& b) { | 65 | 5 | return greater(a, b) ? a : b; | 66 | 5 | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 25.8M | static T max(const T& a, const T& b) { | 65 | 25.8M | return greater(a, b) ? a : b; | 66 | 25.8M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 88.1M | static T max(const T& a, const T& b) { | 65 | 88.1M | return greater(a, b) ? a : b; | 66 | 88.1M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.80k | static T max(const T& a, const T& b) { | 65 | 2.80k | return greater(a, b) ? a : b; | 66 | 2.80k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 11.0M | static T max(const T& a, const T& b) { | 65 | 11.0M | return greater(a, b) ? a : b; | 66 | 11.0M | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 64 | 27 | static T max(const T& a, const T& b) { | 65 | 27 | return greater(a, b) ? a : b; | 66 | 27 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 64 | 27 | static T max(const T& a, const T& b) { | 65 | 27 | return greater(a, b) ? a : b; | 66 | 27 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 64 | 34.4k | static T max(const T& a, const T& b) { | 65 | 34.4k | return greater(a, b) ? a : b; | 66 | 34.4k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 30.4k | static T max(const T& a, const T& b) { | 65 | 30.4k | return greater(a, b) ? a : b; | 66 | 30.4k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 30.8k | static T max(const T& a, const T& b) { | 65 | 30.8k | return greater(a, b) ? a : b; | 66 | 30.8k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 10.9M | static T max(const T& a, const T& b) { | 65 | 10.9M | return greater(a, b) ? a : b; | 66 | 10.9M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 151k | static T max(const T& a, const T& b) { | 65 | 151k | return greater(a, b) ? a : b; | 66 | 151k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 3.73k | static T max(const T& a, const T& b) { | 65 | 3.73k | return greater(a, b) ? a : b; | 66 | 3.73k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 36.2k | static T max(const T& a, const T& b) { | 65 | 36.2k | return greater(a, b) ? a : b; | 66 | 36.2k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 4.78M | static T max(const T& a, const T& b) { | 65 | 4.78M | return greater(a, b) ? a : b; | 66 | 4.78M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 64 | 5.60M | static T max(const T& a, const T& b) { | 65 | 5.60M | return greater(a, b) ? a : b; | 66 | 5.60M | } |
_ZN5doris7Compare3maxINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 64 | 4.09k | static T max(const T& a, const T& b) { | 65 | 4.09k | return greater(a, b) ? a : b; | 66 | 4.09k | } |
_ZN5doris7Compare3maxINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 64 | 13.6k | static T max(const T& a, const T& b) { | 65 | 13.6k | return greater(a, b) ? a : b; | 66 | 13.6k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 64 | 348 | static T max(const T& a, const T& b) { | 65 | 348 | return greater(a, b) ? a : b; | 66 | 348 | } |
|
67 | | |
68 | | template <typename T> |
69 | 7.90M | static T min_value() { |
70 | 7.90M | return type_limit<T>::min(); |
71 | 7.90M | } _ZN5doris7Compare9min_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 69 | 1 | static T min_value() { | 70 | 1 | return type_limit<T>::min(); | 71 | 1 | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 69 | 25.2k | static T min_value() { | 70 | 25.2k | return type_limit<T>::min(); | 71 | 25.2k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 30.7k | static T min_value() { | 70 | 30.7k | return type_limit<T>::min(); | 71 | 30.7k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 69 | 2.01k | static T min_value() { | 70 | 2.01k | return type_limit<T>::min(); | 71 | 2.01k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 69 | 598k | static T min_value() { | 70 | 598k | return type_limit<T>::min(); | 71 | 598k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 27 | static T min_value() { | 70 | 27 | return type_limit<T>::min(); | 71 | 27 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 27 | static T min_value() { | 70 | 27 | return type_limit<T>::min(); | 71 | 27 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 475 | static T min_value() { | 70 | 475 | return type_limit<T>::min(); | 71 | 475 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 2.79k | static T min_value() { | 70 | 2.79k | return type_limit<T>::min(); | 71 | 2.79k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 4.53k | static T min_value() { | 70 | 4.53k | return type_limit<T>::min(); | 71 | 4.53k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 7.08M | static T min_value() { | 70 | 7.08M | return type_limit<T>::min(); | 71 | 7.08M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 73.0k | static T min_value() { | 70 | 73.0k | return type_limit<T>::min(); | 71 | 73.0k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 2.86k | static T min_value() { | 70 | 2.86k | return type_limit<T>::min(); | 71 | 2.86k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 29.7k | static T min_value() { | 70 | 29.7k | return type_limit<T>::min(); | 71 | 29.7k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 6.55k | static T min_value() { | 70 | 6.55k | return type_limit<T>::min(); | 71 | 6.55k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 34.1k | static T min_value() { | 70 | 34.1k | return type_limit<T>::min(); | 71 | 34.1k | } |
_ZN5doris7Compare9min_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 69 | 4.09k | static T min_value() { | 70 | 4.09k | return type_limit<T>::min(); | 71 | 4.09k | } |
_ZN5doris7Compare9min_valueINS_12Decimal128V3EEET_v Line | Count | Source | 69 | 2.77k | static T min_value() { | 70 | 2.77k | return type_limit<T>::min(); | 71 | 2.77k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 155 | static T min_value() { | 70 | 155 | return type_limit<T>::min(); | 71 | 155 | } |
|
72 | | |
73 | | template <typename T> |
74 | 281k | static T max_value() { |
75 | 281k | return type_limit<T>::max(); |
76 | 281k | } _ZN5doris7Compare9max_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 74 | 1 | static T max_value() { | 75 | 1 | return type_limit<T>::max(); | 76 | 1 | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 74 | 4.92k | static T max_value() { | 75 | 4.92k | return type_limit<T>::max(); | 76 | 4.92k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 904 | static T max_value() { | 75 | 904 | return type_limit<T>::max(); | 76 | 904 | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 74 | 2.01k | static T max_value() { | 75 | 2.01k | return type_limit<T>::max(); | 76 | 2.01k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 74 | 38 | static T max_value() { | 75 | 38 | return type_limit<T>::max(); | 76 | 38 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 74 | 38 | static T max_value() { | 75 | 38 | return type_limit<T>::max(); | 76 | 38 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 74 | 211 | static T max_value() { | 75 | 211 | return type_limit<T>::max(); | 76 | 211 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 603 | static T max_value() { | 75 | 603 | return type_limit<T>::max(); | 76 | 603 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 515 | static T max_value() { | 75 | 515 | return type_limit<T>::max(); | 76 | 515 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 74 | 218k | static T max_value() { | 75 | 218k | return type_limit<T>::max(); | 76 | 218k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 74 | 42.4k | static T max_value() { | 75 | 42.4k | return type_limit<T>::max(); | 76 | 42.4k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 411 | static T max_value() { | 75 | 411 | return type_limit<T>::max(); | 76 | 411 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 501 | static T max_value() { | 75 | 501 | return type_limit<T>::max(); | 76 | 501 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 5.49k | static T max_value() { | 75 | 5.49k | return type_limit<T>::max(); | 76 | 5.49k | } |
_ZN5doris7Compare9max_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 74 | 4.09k | static T max_value() { | 75 | 4.09k | return type_limit<T>::max(); | 76 | 4.09k | } |
_ZN5doris7Compare9max_valueINS_12Decimal128V3EEET_v Line | Count | Source | 74 | 881 | static T max_value() { | 75 | 881 | return type_limit<T>::max(); | 76 | 881 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 166 | static T max_value() { | 75 | 166 | return type_limit<T>::max(); | 76 | 166 | } |
|
77 | | }; |
78 | | |
79 | | template <typename T> |
80 | 1.30M | bool EqualsFloat(T left, T right) { |
81 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
82 | 233 | return true; |
83 | 233 | } |
84 | 1.30M | return left == right; |
85 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 5.36k | bool EqualsFloat(T left, T right) { | 81 | 5.36k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 39 | return true; | 83 | 39 | } | 84 | 5.32k | return left == right; | 85 | 5.36k | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 80 | 1.30M | bool EqualsFloat(T left, T right) { | 81 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 194 | return true; | 83 | 194 | } | 84 | 1.30M | return left == right; | 85 | 1.30M | } |
|
86 | | |
87 | | template <typename T> |
88 | 12.6M | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 12.6M | bool left_is_nan = std::isnan(left); |
91 | 12.6M | bool right_is_nan = std::isnan(right); |
92 | 12.6M | if (UNLIKELY(right_is_nan)) { |
93 | 530 | return false; |
94 | 530 | } |
95 | 12.6M | if (UNLIKELY(left_is_nan)) { |
96 | 29.6k | return true; |
97 | 29.6k | } |
98 | 12.6M | return left > right; |
99 | 12.6M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 74.1k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 74.1k | bool left_is_nan = std::isnan(left); | 91 | 74.1k | bool right_is_nan = std::isnan(right); | 92 | 74.1k | if (UNLIKELY(right_is_nan)) { | 93 | 133 | return false; | 94 | 133 | } | 95 | 74.0k | if (UNLIKELY(left_is_nan)) { | 96 | 12.0k | return true; | 97 | 12.0k | } | 98 | 61.9k | return left > right; | 99 | 74.0k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 12.6M | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 12.6M | bool left_is_nan = std::isnan(left); | 91 | 12.6M | bool right_is_nan = std::isnan(right); | 92 | 12.6M | if (UNLIKELY(right_is_nan)) { | 93 | 397 | return false; | 94 | 397 | } | 95 | 12.6M | if (UNLIKELY(left_is_nan)) { | 96 | 17.5k | return true; | 97 | 17.5k | } | 98 | 12.6M | return left > right; | 99 | 12.6M | } |
|
100 | | |
101 | | template <typename T> |
102 | 556k | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 556k | bool left_is_nan = std::isnan(left); |
105 | 556k | bool right_is_nan = std::isnan(right); |
106 | 556k | if (UNLIKELY(right_is_nan)) { |
107 | 359 | return left_is_nan; |
108 | 359 | } |
109 | 555k | if (UNLIKELY(left_is_nan)) { |
110 | 588 | return true; |
111 | 588 | } |
112 | 555k | return left >= right; |
113 | 555k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 1.10k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.10k | bool left_is_nan = std::isnan(left); | 105 | 1.10k | bool right_is_nan = std::isnan(right); | 106 | 1.10k | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 1.06k | if (UNLIKELY(left_is_nan)) { | 110 | 113 | return true; | 111 | 113 | } | 112 | 947 | return left >= right; | 113 | 1.06k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 555k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 555k | bool left_is_nan = std::isnan(left); | 105 | 555k | bool right_is_nan = std::isnan(right); | 106 | 555k | if (UNLIKELY(right_is_nan)) { | 107 | 311 | return left_is_nan; | 108 | 311 | } | 109 | 554k | if (UNLIKELY(left_is_nan)) { | 110 | 475 | return true; | 111 | 475 | } | 112 | 554k | return left >= right; | 113 | 554k | } |
|
114 | | |
115 | | template <typename T> |
116 | 16.7M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 16.7M | bool left_is_nan = std::isnan(left); |
119 | 16.7M | bool right_is_nan = std::isnan(right); |
120 | 16.7M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
121 | 5.14k | if (left_is_nan && right_is_nan) { |
122 | 1.88k | return 0; |
123 | 1.88k | } |
124 | 3.25k | if (left_is_nan) { |
125 | 884 | return 1; |
126 | 2.37k | } else { |
127 | 2.37k | return -1; |
128 | 2.37k | } |
129 | 3.25k | } |
130 | 16.7M | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 16.7M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 6.44M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 6.44M | bool left_is_nan = std::isnan(left); | 119 | 6.44M | bool right_is_nan = std::isnan(right); | 120 | 6.44M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.34k | if (left_is_nan && right_is_nan) { | 122 | 844 | return 0; | 123 | 844 | } | 124 | 1.50k | if (left_is_nan) { | 125 | 405 | return 1; | 126 | 1.09k | } else { | 127 | 1.09k | return -1; | 128 | 1.09k | } | 129 | 1.50k | } | 130 | 6.44M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 6.44M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 10.2M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 10.2M | bool left_is_nan = std::isnan(left); | 119 | 10.2M | bool right_is_nan = std::isnan(right); | 120 | 10.2M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.80k | if (left_is_nan && right_is_nan) { | 122 | 1.04k | return 0; | 123 | 1.04k | } | 124 | 1.75k | if (left_is_nan) { | 125 | 479 | return 1; | 126 | 1.27k | } else { | 127 | 1.27k | return -1; | 128 | 1.27k | } | 129 | 1.75k | } | 130 | 10.2M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 10.2M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 21.5k | inline bool Compare::less(const float& a, const float& b) { |
136 | 21.5k | return GreaterThanFloat(b, a); |
137 | 21.5k | } |
138 | | template <> |
139 | 52.5k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 52.5k | return GreaterThanFloat(a, b); |
141 | 52.5k | } |
142 | | template <> |
143 | 552 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 552 | return GreaterThanEqualsFloat(b, a); |
145 | 552 | } |
146 | | template <> |
147 | 557 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 557 | return GreaterThanEqualsFloat(a, b); |
149 | 557 | } |
150 | | template <> |
151 | 5.17k | inline bool Compare::equal(const float& a, const float& b) { |
152 | 5.17k | return EqualsFloat(a, b); |
153 | 5.17k | } |
154 | | template <> |
155 | 189 | inline bool Compare::not_equal(const float& a, const float& b) { |
156 | 189 | return !EqualsFloat(a, b); |
157 | 189 | } |
158 | | template <> |
159 | 6.44M | inline int Compare::compare(const float& a, const float& b) { |
160 | 6.44M | return CompareFloat(a, b); |
161 | 6.44M | } |
162 | | template <> |
163 | 296 | inline float Compare::max_value<float>() { |
164 | 296 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 296 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 987k | inline bool Compare::less(const double& a, const double& b) { |
170 | 987k | return GreaterThanFloat(b, a); |
171 | 987k | } |
172 | | template <> |
173 | 11.6M | inline bool Compare::greater(const double& a, const double& b) { |
174 | 11.6M | return GreaterThanFloat(a, b); |
175 | 11.6M | } |
176 | | template <> |
177 | 277k | inline bool Compare::less_equal(const double& a, const double& b) { |
178 | 277k | return GreaterThanEqualsFloat(b, a); |
179 | 277k | } |
180 | | template <> |
181 | 277k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 277k | return GreaterThanEqualsFloat(a, b); |
183 | 277k | } |
184 | | template <> |
185 | 1.30M | inline bool Compare::equal(const double& a, const double& b) { |
186 | 1.30M | return EqualsFloat(a, b); |
187 | 1.30M | } |
188 | | template <> |
189 | 554 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 554 | return !EqualsFloat(a, b); |
191 | 554 | } |
192 | | template <> |
193 | 10.2M | inline int Compare::compare(const double& a, const double& b) { |
194 | 10.2M | return CompareFloat(a, b); |
195 | 10.2M | } |
196 | | template <> |
197 | 608 | inline double Compare::max_value<double>() { |
198 | 608 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 608 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 1.48M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 455 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 102 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 1.45M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 18.0k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 36 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 62 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 54 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 203 | 7.64k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 408 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 1.60k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 268 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 413 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
Unexecuted instantiation: _ZNK5doris4LessINS_14DecimalV2ValueEEclERKS1_S4_ _ZNK5doris4LessIhEclERKhS3_ Line | Count | Source | 203 | 101 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
Unexecuted instantiation: _ZNK5doris4LessINS_9StringRefEEclERKS1_S4_ _ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 203 | 90 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 411 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 66 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 203 | 45 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
204 | | }; |
205 | | template <> |
206 | 255 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 255 | return Compare::less(lhs, rhs); |
208 | 255 | } |
209 | | template <> |
210 | 76 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 76 | return Compare::less(lhs, rhs); |
212 | 76 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 103M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 21.9M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 4.60k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 6.36k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 14.3M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 38.8M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 127 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 216 | 46 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 216 | 3.63k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 216 | 1.38k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 216 | 616 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 216 | 79.9k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 10.3M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 216 | 13 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 216 | 32 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 216 | 8 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 216 | 764 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 91 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 1.13k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 216 | 11.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 216 | 17.5M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 44.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 1.16k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
Unexecuted instantiation: _ZNK5doris7EqualToIN4wide7integerILm256EiEEEclERKS3_S6_ _ZNK5doris7EqualToIN4wide7integerILm256EjEEEclERKS3_S6_ Line | Count | Source | 216 | 50.6k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 216 | 4.22k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt104EEclERKS1_S4_ Line | Count | Source | 216 | 5.70k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 216 | 14.9k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 138k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 43.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
217 | | }; |
218 | | template <> |
219 | 45 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 45 | return Compare::equal(lhs, rhs); |
221 | 45 | } |
222 | | template <> |
223 | 4.62k | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
224 | 4.62k | return Compare::equal(lhs, rhs); |
225 | 4.62k | } |
226 | | |
227 | | template <typename T> |
228 | | requires(std::is_floating_point_v<T>) |
229 | 592k | void NormalizeFloat(T& val) { |
230 | 592k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 52.7k | val = (T)0.0; |
233 | 539k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 592k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 37.2k | void NormalizeFloat(T& val) { | 230 | 37.2k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 2.13k | val = (T)0.0; | 233 | 35.1k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 37.2k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 555k | void NormalizeFloat(T& val) { | 230 | 555k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 50.5k | val = (T)0.0; | 233 | 504k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 555k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |