Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #include <cmath> |
19 | | |
20 | | #include "common/compiler_util.h" |
21 | | #include "core/type_limit.h" |
22 | | |
23 | | #pragma once |
24 | | namespace doris { |
25 | | #include "common/compile_check_begin.h" |
26 | | struct Compare { |
27 | | template <typename T> |
28 | 88.5M | static bool less(const T& a, const T& b) { |
29 | 88.5M | return a < b; |
30 | 88.5M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 16.0M | static bool less(const T& a, const T& b) { | 29 | 16.0M | return a < b; | 30 | 16.0M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 671k | static bool less(const T& a, const T& b) { | 29 | 671k | return a < b; | 30 | 671k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 300k | static bool less(const T& a, const T& b) { | 29 | 300k | return a < b; | 30 | 300k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 28 | 975 | static bool less(const T& a, const T& b) { | 29 | 975 | return a < b; | 30 | 975 | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 16.0k | static bool less(const T& a, const T& b) { | 29 | 16.0k | return a < b; | 30 | 16.0k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 31.8k | static bool less(const T& a, const T& b) { | 29 | 31.8k | return a < b; | 30 | 31.8k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 30.1k | static bool less(const T& a, const T& b) { | 29 | 30.1k | return a < b; | 30 | 30.1k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 2.19k | static bool less(const T& a, const T& b) { | 29 | 2.19k | return a < b; | 30 | 2.19k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 2.21k | static bool less(const T& a, const T& b) { | 29 | 2.21k | return a < b; | 30 | 2.21k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 2.60k | static bool less(const T& a, const T& b) { | 29 | 2.60k | return a < b; | 30 | 2.60k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 16.5M | static bool less(const T& a, const T& b) { | 29 | 16.5M | return a < b; | 30 | 16.5M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 45.2M | static bool less(const T& a, const T& b) { | 29 | 45.2M | return a < b; | 30 | 45.2M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 7.55k | static bool less(const T& a, const T& b) { | 29 | 7.55k | return a < b; | 30 | 7.55k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 2.17M | static bool less(const T& a, const T& b) { | 29 | 2.17M | return a < b; | 30 | 2.17M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 6.54M | static bool less(const T& a, const T& b) { | 29 | 6.54M | return a < b; | 30 | 6.54M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.19k | static bool less(const T& a, const T& b) { | 29 | 4.19k | return a < b; | 30 | 4.19k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 762k | static bool less(const T& a, const T& b) { | 29 | 762k | return a < b; | 30 | 762k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 3.07k | static bool less(const T& a, const T& b) { | 29 | 3.07k | return a < b; | 30 | 3.07k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 28 | 15 | static bool less(const T& a, const T& b) { | 29 | 15 | return a < b; | 30 | 15 | } |
_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 | } |
|
31 | | template <typename T> |
32 | 142M | static bool greater(const T& a, const T& b) { |
33 | 142M | return a > b; |
34 | 142M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 32.6k | static bool greater(const T& a, const T& b) { | 33 | 32.6k | return a > b; | 34 | 32.6k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 292k | static bool greater(const T& a, const T& b) { | 33 | 292k | return a > b; | 34 | 292k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 71.0k | static bool greater(const T& a, const T& b) { | 33 | 71.0k | return a > b; | 34 | 71.0k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 24.9M | static bool greater(const T& a, const T& b) { | 33 | 24.9M | return a > b; | 34 | 24.9M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 44.1M | static bool greater(const T& a, const T& b) { | 33 | 44.1M | return a > b; | 34 | 44.1M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 910k | static bool greater(const T& a, const T& b) { | 33 | 910k | return a > b; | 34 | 910k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 32 | 2.31k | static bool greater(const T& a, const T& b) { | 33 | 2.31k | return a > b; | 34 | 2.31k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.31k | static bool greater(const T& a, const T& b) { | 33 | 2.31k | return a > b; | 34 | 2.31k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 6.11k | static bool greater(const T& a, const T& b) { | 33 | 6.11k | return a > b; | 34 | 6.11k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 16.9M | static bool greater(const T& a, const T& b) { | 33 | 16.9M | return a > b; | 34 | 16.9M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 46.7M | static bool greater(const T& a, const T& b) { | 33 | 46.7M | return a > b; | 34 | 46.7M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 15.2k | static bool greater(const T& a, const T& b) { | 33 | 15.2k | return a > b; | 34 | 15.2k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 2.96M | static bool greater(const T& a, const T& b) { | 33 | 2.96M | return a > b; | 34 | 2.96M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 4.25M | static bool greater(const T& a, const T& b) { | 33 | 4.25M | return a > b; | 34 | 4.25M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 4.74k | static bool greater(const T& a, const T& b) { | 33 | 4.74k | return a > b; | 34 | 4.74k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 25.8k | static bool greater(const T& a, const T& b) { | 33 | 25.8k | return a > b; | 34 | 25.8k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 2.89k | static bool greater(const T& a, const T& b) { | 33 | 2.89k | return a > b; | 34 | 2.89k | } |
_ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 32 | 6 | static bool greater(const T& a, const T& b) { | 33 | 6 | return a > b; | 34 | 6 | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 929 | static bool greater(const T& a, const T& b) { | 33 | 929 | return a > b; | 34 | 929 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 1.20M | static bool greater(const T& a, const T& b) { | 33 | 1.20M | return a > b; | 34 | 1.20M | } |
|
35 | | |
36 | | template <typename T> |
37 | 92.6M | static bool less_equal(const T& a, const T& b) { |
38 | 92.6M | return a <= b; |
39 | 92.6M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 71.0M | static bool less_equal(const T& a, const T& b) { | 38 | 71.0M | return a <= b; | 39 | 71.0M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 5.93M | static bool less_equal(const T& a, const T& b) { | 38 | 5.93M | return a <= b; | 39 | 5.93M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 461k | static bool less_equal(const T& a, const T& b) { | 38 | 461k | return a <= b; | 39 | 461k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 37 | 136 | static bool less_equal(const T& a, const T& b) { | 38 | 136 | return a <= b; | 39 | 136 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 426k | static bool less_equal(const T& a, const T& b) { | 38 | 426k | return a <= b; | 39 | 426k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 2.18M | static bool less_equal(const T& a, const T& b) { | 38 | 2.18M | return a <= b; | 39 | 2.18M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 219k | static bool less_equal(const T& a, const T& b) { | 38 | 219k | return a <= b; | 39 | 219k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 234 | static bool less_equal(const T& a, const T& b) { | 38 | 234 | return a <= b; | 39 | 234 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 143 | static bool less_equal(const T& a, const T& b) { | 38 | 143 | return a <= b; | 39 | 143 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 37 | 7 | static bool less_equal(const T& a, const T& b) { | 38 | 7 | return a <= b; | 39 | 7 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 37 | 297 | static bool less_equal(const T& a, const T& b) { | 38 | 297 | return a <= b; | 39 | 297 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.77M | static bool less_equal(const T& a, const T& b) { | 38 | 4.77M | return a <= b; | 39 | 4.77M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 754k | static bool less_equal(const T& a, const T& b) { | 38 | 754k | return a <= b; | 39 | 754k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 218 | static bool less_equal(const T& a, const T& b) { | 38 | 218 | return a <= b; | 39 | 218 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 359k | static bool less_equal(const T& a, const T& b) { | 38 | 359k | return a <= b; | 39 | 359k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 514k | static bool less_equal(const T& a, const T& b) { | 38 | 514k | return a <= b; | 39 | 514k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.58M | static bool less_equal(const T& a, const T& b) { | 38 | 5.58M | return a <= b; | 39 | 5.58M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 123k | static bool less_equal(const T& a, const T& b) { | 38 | 123k | return a <= b; | 39 | 123k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 712 | static bool less_equal(const T& a, const T& b) { | 38 | 712 | return a <= b; | 39 | 712 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 308k | static bool less_equal(const T& a, const T& b) { | 38 | 308k | return a <= b; | 39 | 308k | } |
|
40 | | template <typename T> |
41 | 90.5M | static bool greater_equal(const T& a, const T& b) { |
42 | 90.5M | return a >= b; |
43 | 90.5M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 344k | static bool greater_equal(const T& a, const T& b) { | 42 | 344k | return a >= b; | 43 | 344k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 2.17M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.17M | return a >= b; | 43 | 2.17M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 361k | static bool greater_equal(const T& a, const T& b) { | 42 | 361k | return a >= b; | 43 | 361k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 65.2M | static bool greater_equal(const T& a, const T& b) { | 42 | 65.2M | return a >= b; | 43 | 65.2M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 683k | static bool greater_equal(const T& a, const T& b) { | 42 | 683k | return a >= b; | 43 | 683k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 363k | static bool greater_equal(const T& a, const T& b) { | 42 | 363k | return a >= b; | 43 | 363k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 326 | static bool greater_equal(const T& a, const T& b) { | 42 | 326 | return a >= b; | 43 | 326 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 237 | static bool greater_equal(const T& a, const T& b) { | 42 | 237 | return a >= b; | 43 | 237 | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 151 | static bool greater_equal(const T& a, const T& b) { | 42 | 151 | return a >= b; | 43 | 151 | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 41 | 7 | static bool greater_equal(const T& a, const T& b) { | 42 | 7 | return a >= b; | 43 | 7 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 41 | 418 | static bool greater_equal(const T& a, const T& b) { | 42 | 418 | return a >= b; | 43 | 418 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.37M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.37M | return a >= b; | 43 | 2.37M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 711k | static bool greater_equal(const T& a, const T& b) { | 42 | 711k | return a >= b; | 43 | 711k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 206 | static bool greater_equal(const T& a, const T& b) { | 42 | 206 | return a >= b; | 43 | 206 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 357k | static bool greater_equal(const T& a, const T& b) { | 42 | 357k | return a >= b; | 43 | 357k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 478k | static bool greater_equal(const T& a, const T& b) { | 42 | 478k | return a >= b; | 43 | 478k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 17.0M | static bool greater_equal(const T& a, const T& b) { | 42 | 17.0M | return a >= b; | 43 | 17.0M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 98.4k | static bool greater_equal(const T& a, const T& b) { | 42 | 98.4k | return a >= b; | 43 | 98.4k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 748 | static bool greater_equal(const T& a, const T& b) { | 42 | 748 | return a >= b; | 43 | 748 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 345k | static bool greater_equal(const T& a, const T& b) { | 42 | 345k | return a >= b; | 43 | 345k | } |
|
44 | | template <typename T> |
45 | 124M | static bool equal(const T& a, const T& b) { |
46 | 124M | return a == b; |
47 | 124M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 46.6M | static bool equal(const T& a, const T& b) { | 46 | 46.6M | return a == b; | 47 | 46.6M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 4.27M | static bool equal(const T& a, const T& b) { | 46 | 4.27M | return a == b; | 47 | 4.27M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 814k | static bool equal(const T& a, const T& b) { | 46 | 814k | return a == b; | 47 | 814k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 45 | 41 | static bool equal(const T& a, const T& b) { | 46 | 41 | return a == b; | 47 | 41 | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 45 | 396k | static bool equal(const T& a, const T& b) { | 46 | 396k | return a == b; | 47 | 396k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 520k | static bool equal(const T& a, const T& b) { | 46 | 520k | return a == b; | 47 | 520k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 205k | static bool equal(const T& a, const T& b) { | 46 | 205k | return a == b; | 47 | 205k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 45 | 22.0k | static bool equal(const T& a, const T& b) { | 46 | 22.0k | return a == b; | 47 | 22.0k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.10k | static bool equal(const T& a, const T& b) { | 46 | 1.10k | return a == b; | 47 | 1.10k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 885 | static bool equal(const T& a, const T& b) { | 46 | 885 | return a == b; | 47 | 885 | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 3.78k | static bool equal(const T& a, const T& b) { | 46 | 3.78k | return a == b; | 47 | 3.78k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 67.1M | static bool equal(const T& a, const T& b) { | 46 | 67.1M | return a == b; | 47 | 67.1M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 438k | static bool equal(const T& a, const T& b) { | 46 | 438k | return a == b; | 47 | 438k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 562 | static bool equal(const T& a, const T& b) { | 46 | 562 | return a == b; | 47 | 562 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 1.10k | static bool equal(const T& a, const T& b) { | 46 | 1.10k | return a == b; | 47 | 1.10k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 13 | static bool equal(const T& a, const T& b) { | 46 | 13 | return a == b; | 47 | 13 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 700k | static bool equal(const T& a, const T& b) { | 46 | 700k | return a == b; | 47 | 700k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 397 | static bool equal(const T& a, const T& b) { | 46 | 397 | return a == b; | 47 | 397 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.78M | static bool equal(const T& a, const T& b) { | 46 | 1.78M | return a == b; | 47 | 1.78M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 1.59M | static bool equal(const T& a, const T& b) { | 46 | 1.59M | return a == b; | 47 | 1.59M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 65.8k | static bool equal(const T& a, const T& b) { | 46 | 65.8k | return a == b; | 47 | 65.8k | } |
|
48 | | template <typename T> |
49 | 1.61M | static bool not_equal(const T& a, const T& b) { |
50 | 1.61M | return a != b; |
51 | 1.61M | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 1.71k | static bool not_equal(const T& a, const T& b) { | 50 | 1.71k | return a != b; | 51 | 1.71k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 49 | 816 | static bool not_equal(const T& a, const T& b) { | 50 | 816 | return a != b; | 51 | 816 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 49 | 1.10M | static bool not_equal(const T& a, const T& b) { | 50 | 1.10M | return a != b; | 51 | 1.10M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 501k | static bool not_equal(const T& a, const T& b) { | 50 | 501k | return a != b; | 51 | 501k | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 49 | 1.83k | static bool not_equal(const T& a, const T& b) { | 50 | 1.83k | return a != b; | 51 | 1.83k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalIjEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIoEEbRKT_S4_ _ZN5doris7Compare9not_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 49 | 363 | static bool not_equal(const T& a, const T& b) { | 50 | 363 | return a != b; | 51 | 363 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 3.05k | static bool not_equal(const T& a, const T& b) { | 50 | 3.05k | return a != b; | 51 | 3.05k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 49 | 42 | static bool not_equal(const T& a, const T& b) { | 50 | 42 | return a != b; | 51 | 42 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 49 | 18 | static bool not_equal(const T& a, const T& b) { | 50 | 18 | return a != b; | 51 | 18 | } |
_ZN5doris7Compare9not_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 49 | 66 | static bool not_equal(const T& a, const T& b) { | 50 | 66 | return a != b; | 51 | 66 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 49 | 246 | static bool not_equal(const T& a, const T& b) { | 50 | 246 | return a != b; | 51 | 246 | } |
_ZN5doris7Compare9not_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 49 | 277 | static bool not_equal(const T& a, const T& b) { | 50 | 277 | return a != b; | 51 | 277 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 49 | 63 | static bool not_equal(const T& a, const T& b) { | 50 | 63 | return a != b; | 51 | 63 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 226 | static bool not_equal(const T& a, const T& b) { | 50 | 226 | return a != b; | 51 | 226 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 59 | static bool not_equal(const T& a, const T& b) { | 50 | 59 | return a != b; | 51 | 59 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 49 | 1.81k | static bool not_equal(const T& a, const T& b) { | 50 | 1.81k | return a != b; | 51 | 1.81k | } |
|
52 | | |
53 | | template <typename T> |
54 | 534M | static int compare(const T& a, const T& b) { |
55 | 534M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 534M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 4.74M | static int compare(const T& a, const T& b) { | 55 | 4.74M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.74M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 14.8k | static int compare(const T& a, const T& b) { | 55 | 14.8k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 14.8k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 102M | static int compare(const T& a, const T& b) { | 55 | 102M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 102M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 54 | 8.32M | static int compare(const T& a, const T& b) { | 55 | 8.32M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 8.32M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 307M | static int compare(const T& a, const T& b) { | 55 | 307M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 307M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 10.7M | static int compare(const T& a, const T& b) { | 55 | 10.7M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 10.7M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 52.4M | static int compare(const T& a, const T& b) { | 55 | 52.4M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 52.4M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 6.64k | static int compare(const T& a, const T& b) { | 55 | 6.64k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 6.64k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.58k | static int compare(const T& a, const T& b) { | 55 | 4.58k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.58k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 10.2M | static int compare(const T& a, const T& b) { | 55 | 10.2M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 10.2M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 10.2M | static int compare(const T& a, const T& b) { | 55 | 10.2M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 10.2M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 14.7M | static int compare(const T& a, const T& b) { | 55 | 14.7M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 14.7M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.60k | static int compare(const T& a, const T& b) { | 55 | 2.60k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.60k | } |
_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 | 438k | static int compare(const T& a, const T& b) { | 55 | 438k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 438k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 54 | 165k | static int compare(const T& a, const T& b) { | 55 | 165k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 165k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 12.3M | static int compare(const T& a, const T& b) { | 55 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.3M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 97.1k | static int compare(const T& a, const T& b) { | 55 | 97.1k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 97.1k | } |
|
57 | | |
58 | | template <typename T> |
59 | 56.8M | static T min(const T& a, const T& b) { |
60 | 56.8M | return less(a, b) ? a : b; |
61 | 56.8M | } _ZN5doris7Compare3minINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 59 | 5 | static T min(const T& a, const T& b) { | 60 | 5 | return less(a, b) ? a : b; | 61 | 5 | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 1.98M | static T min(const T& a, const T& b) { | 60 | 1.98M | return less(a, b) ? a : b; | 61 | 1.98M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 44.0M | static T min(const T& a, const T& b) { | 60 | 44.0M | return less(a, b) ? a : b; | 61 | 44.0M | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.53k | static T min(const T& a, const T& b) { | 60 | 2.53k | return less(a, b) ? a : b; | 61 | 2.53k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 30.0k | static T min(const T& a, const T& b) { | 60 | 30.0k | return less(a, b) ? a : b; | 61 | 30.0k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 59 | 31 | static T min(const T& a, const T& b) { | 60 | 31 | return less(a, b) ? a : b; | 61 | 31 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 59 | 31 | static T min(const T& a, const T& b) { | 60 | 31 | return less(a, b) ? a : b; | 61 | 31 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 59 | 12.7k | static T min(const T& a, const T& b) { | 60 | 12.7k | return less(a, b) ? a : b; | 61 | 12.7k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 7.61k | static T min(const T& a, const T& b) { | 60 | 7.61k | return less(a, b) ? a : b; | 61 | 7.61k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 8.13k | static T min(const T& a, const T& b) { | 60 | 8.13k | return less(a, b) ? a : b; | 61 | 8.13k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 59 | 3.49M | static T min(const T& a, const T& b) { | 60 | 3.49M | return less(a, b) ? a : b; | 61 | 3.49M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 59 | 103k | static T min(const T& a, const T& b) { | 60 | 103k | return less(a, b) ? a : b; | 61 | 103k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 917 | static T min(const T& a, const T& b) { | 60 | 917 | return less(a, b) ? a : b; | 61 | 917 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 13.3k | static T min(const T& a, const T& b) { | 60 | 13.3k | return less(a, b) ? a : b; | 61 | 13.3k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 2.17M | static T min(const T& a, const T& b) { | 60 | 2.17M | return less(a, b) ? a : b; | 61 | 2.17M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 59 | 4.17M | static T min(const T& a, const T& b) { | 60 | 4.17M | return less(a, b) ? a : b; | 61 | 4.17M | } |
_ZN5doris7Compare3minINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 59 | 4.09k | static T min(const T& a, const T& b) { | 60 | 4.09k | return less(a, b) ? a : b; | 61 | 4.09k | } |
_ZN5doris7Compare3minINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 59 | 761k | static T min(const T& a, const T& b) { | 60 | 761k | return less(a, b) ? a : b; | 61 | 761k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 59 | 360 | static T min(const T& a, const T& b) { | 60 | 360 | return less(a, b) ? a : b; | 61 | 360 | } |
|
62 | | |
63 | | template <typename T> |
64 | 75.8M | static T max(const T& a, const T& b) { |
65 | 75.8M | return greater(a, b) ? a : b; |
66 | 75.8M | } _ZN5doris7Compare3maxINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 64 | 5 | static T max(const T& a, const T& b) { | 65 | 5 | return greater(a, b) ? a : b; | 66 | 5 | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 13.9M | static T max(const T& a, const T& b) { | 65 | 13.9M | return greater(a, b) ? a : b; | 66 | 13.9M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 44.0M | static T max(const T& a, const T& b) { | 65 | 44.0M | return greater(a, b) ? a : b; | 66 | 44.0M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.53k | static T max(const T& a, const T& b) { | 65 | 2.53k | return greater(a, b) ? a : b; | 66 | 2.53k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 6.06M | static T max(const T& a, const T& b) { | 65 | 6.06M | return greater(a, b) ? a : b; | 66 | 6.06M | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 64 | 27 | static T max(const T& a, const T& b) { | 65 | 27 | return greater(a, b) ? a : b; | 66 | 27 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 64 | 27 | static T max(const T& a, const T& b) { | 65 | 27 | return greater(a, b) ? a : b; | 66 | 27 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 64 | 19.8k | static T max(const T& a, const T& b) { | 65 | 19.8k | return greater(a, b) ? a : b; | 66 | 19.8k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 15.7k | static T max(const T& a, const T& b) { | 65 | 15.7k | return greater(a, b) ? a : b; | 66 | 15.7k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 16.3k | static T max(const T& a, const T& b) { | 65 | 16.3k | return greater(a, b) ? a : b; | 66 | 16.3k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 4.37M | static T max(const T& a, const T& b) { | 65 | 4.37M | return greater(a, b) ? a : b; | 66 | 4.37M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 126k | static T max(const T& a, const T& b) { | 65 | 126k | return greater(a, b) ? a : b; | 66 | 126k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 2.08k | static T max(const T& a, const T& b) { | 65 | 2.08k | return greater(a, b) ? a : b; | 66 | 2.08k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 21.4k | static T max(const T& a, const T& b) { | 65 | 21.4k | return greater(a, b) ? a : b; | 66 | 21.4k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 2.95M | static T max(const T& a, const T& b) { | 65 | 2.95M | return greater(a, b) ? a : b; | 66 | 2.95M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 64 | 4.17M | static T max(const T& a, const T& b) { | 65 | 4.17M | return greater(a, b) ? a : b; | 66 | 4.17M | } |
_ZN5doris7Compare3maxINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 64 | 4.09k | static T max(const T& a, const T& b) { | 65 | 4.09k | return greater(a, b) ? a : b; | 66 | 4.09k | } |
_ZN5doris7Compare3maxINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 64 | 11.5k | static T max(const T& a, const T& b) { | 65 | 11.5k | return greater(a, b) ? a : b; | 66 | 11.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 64 | 356 | static T max(const T& a, const T& b) { | 65 | 356 | return greater(a, b) ? a : b; | 66 | 356 | } |
|
67 | | |
68 | | template <typename T> |
69 | 1.57M | static T min_value() { |
70 | 1.57M | return type_limit<T>::min(); |
71 | 1.57M | } _ZN5doris7Compare9min_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 69 | 1 | static T min_value() { | 70 | 1 | return type_limit<T>::min(); | 71 | 1 | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 69 | 14.0k | static T min_value() { | 70 | 14.0k | return type_limit<T>::min(); | 71 | 14.0k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 16.4k | static T min_value() { | 70 | 16.4k | return type_limit<T>::min(); | 71 | 16.4k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 69 | 1.82k | static T min_value() { | 70 | 1.82k | return type_limit<T>::min(); | 71 | 1.82k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 69 | 343k | static T min_value() { | 70 | 343k | return type_limit<T>::min(); | 71 | 343k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 28 | static T min_value() { | 70 | 28 | return type_limit<T>::min(); | 71 | 28 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 28 | static T min_value() { | 70 | 28 | return type_limit<T>::min(); | 71 | 28 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 323 | static T min_value() { | 70 | 323 | return type_limit<T>::min(); | 71 | 323 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 1.52k | static T min_value() { | 70 | 1.52k | return type_limit<T>::min(); | 71 | 1.52k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 2.53k | static T min_value() { | 70 | 2.53k | return type_limit<T>::min(); | 71 | 2.53k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 1.09M | static T min_value() { | 70 | 1.09M | return type_limit<T>::min(); | 71 | 1.09M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 58.6k | static T min_value() { | 70 | 58.6k | return type_limit<T>::min(); | 71 | 58.6k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 1.30k | static T min_value() { | 70 | 1.30k | return type_limit<T>::min(); | 71 | 1.30k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 15.1k | static T min_value() { | 70 | 15.1k | return type_limit<T>::min(); | 71 | 15.1k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 5.68k | static T min_value() { | 70 | 5.68k | return type_limit<T>::min(); | 71 | 5.68k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 19.6k | static T min_value() { | 70 | 19.6k | return type_limit<T>::min(); | 71 | 19.6k | } |
_ZN5doris7Compare9min_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 69 | 4.09k | static T min_value() { | 70 | 4.09k | return type_limit<T>::min(); | 71 | 4.09k | } |
_ZN5doris7Compare9min_valueINS_12Decimal128V3EEET_v Line | Count | Source | 69 | 909 | static T min_value() { | 70 | 909 | return type_limit<T>::min(); | 71 | 909 | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 168 | static T min_value() { | 70 | 168 | return type_limit<T>::min(); | 71 | 168 | } |
|
72 | | |
73 | | template <typename T> |
74 | 273k | static T max_value() { |
75 | 273k | return type_limit<T>::max(); |
76 | 273k | } _ZN5doris7Compare9max_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 74 | 1 | static T max_value() { | 75 | 1 | return type_limit<T>::max(); | 76 | 1 | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 74 | 3.79k | static T max_value() { | 75 | 3.79k | return type_limit<T>::max(); | 76 | 3.79k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 1.04k | static T max_value() { | 75 | 1.04k | return type_limit<T>::max(); | 76 | 1.04k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 74 | 1.82k | static T max_value() { | 75 | 1.82k | return type_limit<T>::max(); | 76 | 1.82k | } |
_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 | 192 | static T max_value() { | 75 | 192 | return type_limit<T>::max(); | 76 | 192 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 714 | static T max_value() { | 75 | 714 | return type_limit<T>::max(); | 76 | 714 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 631 | static T max_value() { | 75 | 631 | return type_limit<T>::max(); | 76 | 631 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 74 | 211k | static T max_value() { | 75 | 211k | return type_limit<T>::max(); | 76 | 211k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 74 | 42.5k | static T max_value() { | 75 | 42.5k | return type_limit<T>::max(); | 76 | 42.5k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 509 | static T max_value() { | 75 | 509 | return type_limit<T>::max(); | 76 | 509 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 427 | static T max_value() { | 75 | 427 | return type_limit<T>::max(); | 76 | 427 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 4.93k | static T max_value() { | 75 | 4.93k | return type_limit<T>::max(); | 76 | 4.93k | } |
_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 | 698 | static T max_value() { | 75 | 698 | return type_limit<T>::max(); | 76 | 698 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 178 | static T max_value() { | 75 | 178 | return type_limit<T>::max(); | 76 | 178 | } |
|
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 | 207 | return true; |
83 | 207 | } |
84 | 1.30M | return left == right; |
85 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 1.26k | bool EqualsFloat(T left, T right) { | 81 | 1.26k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 26 | return true; | 83 | 26 | } | 84 | 1.23k | return left == right; | 85 | 1.26k | } |
_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 | 181 | return true; | 83 | 181 | } | 84 | 1.30M | return left == right; | 85 | 1.30M | } |
|
86 | | |
87 | | template <typename T> |
88 | 7.29M | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 7.29M | bool left_is_nan = std::isnan(left); |
91 | 7.29M | bool right_is_nan = std::isnan(right); |
92 | 7.29M | if (UNLIKELY(right_is_nan)) { |
93 | 511 | return false; |
94 | 511 | } |
95 | 7.29M | if (UNLIKELY(left_is_nan)) { |
96 | 28.1k | return true; |
97 | 28.1k | } |
98 | 7.26M | return left > right; |
99 | 7.29M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 52.0k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 52.0k | bool left_is_nan = std::isnan(left); | 91 | 52.0k | bool right_is_nan = std::isnan(right); | 92 | 52.0k | if (UNLIKELY(right_is_nan)) { | 93 | 106 | return false; | 94 | 106 | } | 95 | 51.9k | if (UNLIKELY(left_is_nan)) { | 96 | 11.5k | return true; | 97 | 11.5k | } | 98 | 40.3k | return left > right; | 99 | 51.9k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 7.24M | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 7.24M | bool left_is_nan = std::isnan(left); | 91 | 7.24M | bool right_is_nan = std::isnan(right); | 92 | 7.24M | if (UNLIKELY(right_is_nan)) { | 93 | 405 | return false; | 94 | 405 | } | 95 | 7.24M | if (UNLIKELY(left_is_nan)) { | 96 | 16.5k | return true; | 97 | 16.5k | } | 98 | 7.22M | return left > right; | 99 | 7.24M | } |
|
100 | | |
101 | | template <typename T> |
102 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 1.36M | bool left_is_nan = std::isnan(left); |
105 | 1.36M | bool right_is_nan = std::isnan(right); |
106 | 1.36M | if (UNLIKELY(right_is_nan)) { |
107 | 364 | return left_is_nan; |
108 | 364 | } |
109 | 1.36M | if (UNLIKELY(left_is_nan)) { |
110 | 547 | return true; |
111 | 547 | } |
112 | 1.36M | return left >= right; |
113 | 1.36M | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 1.15k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.15k | bool left_is_nan = std::isnan(left); | 105 | 1.15k | bool right_is_nan = std::isnan(right); | 106 | 1.15k | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 1.11k | if (UNLIKELY(left_is_nan)) { | 110 | 97 | return true; | 111 | 97 | } | 112 | 1.01k | return left >= right; | 113 | 1.11k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.36M | bool left_is_nan = std::isnan(left); | 105 | 1.36M | bool right_is_nan = std::isnan(right); | 106 | 1.36M | if (UNLIKELY(right_is_nan)) { | 107 | 316 | return left_is_nan; | 108 | 316 | } | 109 | 1.36M | if (UNLIKELY(left_is_nan)) { | 110 | 450 | return true; | 111 | 450 | } | 112 | 1.36M | return left >= right; | 113 | 1.36M | } |
|
114 | | |
115 | | template <typename T> |
116 | 20.9M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 20.9M | bool left_is_nan = std::isnan(left); |
119 | 20.9M | bool right_is_nan = std::isnan(right); |
120 | 20.9M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
121 | 5.18k | if (left_is_nan && right_is_nan) { |
122 | 1.90k | return 0; |
123 | 1.90k | } |
124 | 3.28k | if (left_is_nan) { |
125 | 891 | return 1; |
126 | 2.39k | } else { |
127 | 2.39k | return -1; |
128 | 2.39k | } |
129 | 3.28k | } |
130 | 20.9M | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 20.9M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 10.9M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 10.9M | bool left_is_nan = std::isnan(left); | 119 | 10.9M | bool right_is_nan = std::isnan(right); | 120 | 10.9M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.35k | if (left_is_nan && right_is_nan) { | 122 | 847 | return 0; | 123 | 847 | } | 124 | 1.51k | if (left_is_nan) { | 125 | 411 | return 1; | 126 | 1.10k | } else { | 127 | 1.10k | return -1; | 128 | 1.10k | } | 129 | 1.51k | } | 130 | 10.9M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 10.9M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 10.0M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 10.0M | bool left_is_nan = std::isnan(left); | 119 | 10.0M | bool right_is_nan = std::isnan(right); | 120 | 10.0M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.82k | if (left_is_nan && right_is_nan) { | 122 | 1.05k | return 0; | 123 | 1.05k | } | 124 | 1.76k | if (left_is_nan) { | 125 | 480 | return 1; | 126 | 1.28k | } else { | 127 | 1.28k | return -1; | 128 | 1.28k | } | 129 | 1.76k | } | 130 | 10.0M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 10.0M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 14.7k | inline bool Compare::less(const float& a, const float& b) { |
136 | 14.7k | return GreaterThanFloat(b, a); |
137 | 14.7k | } |
138 | | template <> |
139 | 37.2k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 37.2k | return GreaterThanFloat(a, b); |
141 | 37.2k | } |
142 | | template <> |
143 | 580 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 580 | return GreaterThanEqualsFloat(b, a); |
145 | 580 | } |
146 | | template <> |
147 | 577 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 577 | return GreaterThanEqualsFloat(a, b); |
149 | 577 | } |
150 | | template <> |
151 | 1.07k | inline bool Compare::equal(const float& a, const float& b) { |
152 | 1.07k | return EqualsFloat(a, b); |
153 | 1.07k | } |
154 | | template <> |
155 | 183 | inline bool Compare::not_equal(const float& a, const float& b) { |
156 | 183 | return !EqualsFloat(a, b); |
157 | 183 | } |
158 | | template <> |
159 | 10.9M | inline int Compare::compare(const float& a, const float& b) { |
160 | 10.9M | return CompareFloat(a, b); |
161 | 10.9M | } |
162 | | template <> |
163 | 344 | inline float Compare::max_value<float>() { |
164 | 344 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 344 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 730k | inline bool Compare::less(const double& a, const double& b) { |
170 | 730k | return GreaterThanFloat(b, a); |
171 | 730k | } |
172 | | template <> |
173 | 6.51M | inline bool Compare::greater(const double& a, const double& b) { |
174 | 6.51M | return GreaterThanFloat(a, b); |
175 | 6.51M | } |
176 | | template <> |
177 | 602k | inline bool Compare::less_equal(const double& a, const double& b) { |
178 | 602k | return GreaterThanEqualsFloat(b, a); |
179 | 602k | } |
180 | | template <> |
181 | 763k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 763k | return GreaterThanEqualsFloat(a, b); |
183 | 763k | } |
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 | 536 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 536 | return !EqualsFloat(a, b); |
191 | 536 | } |
192 | | template <> |
193 | 10.0M | inline int Compare::compare(const double& a, const double& b) { |
194 | 10.0M | return CompareFloat(a, b); |
195 | 10.0M | } |
196 | | template <> |
197 | 700 | inline double Compare::max_value<double>() { |
198 | 700 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 700 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 858k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 777 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 238 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 831k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 15.5k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 68 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 88 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 85 | 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.59k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 285 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 1.25k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 305 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 505 | 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 | 61 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 203 | 102 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 435 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 102 | 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 | 266 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 266 | return Compare::less(lhs, rhs); |
208 | 266 | } |
209 | | template <> |
210 | 46 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 46 | return Compare::less(lhs, rhs); |
212 | 46 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 117M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 21.0M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 4.85k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 4.47k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 13.3M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 35.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 319 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 216 | 118 | 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 | 4.34k | 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.46k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 216 | 695 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 216 | 78.2k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 5.52M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 216 | 13 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 216 | 20 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 216 | 8 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 216 | 778 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 86 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 190 | 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 | 10.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 61.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 882 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 216 | 41.2M | 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 | 242k | 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.09k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt104EEclERKS1_S4_ Line | Count | Source | 216 | 1.70k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 216 | 11.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 70.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 17.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
217 | | }; |
218 | | template <> |
219 | 53 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 53 | return Compare::equal(lhs, rhs); |
221 | 53 | } |
222 | | template <> |
223 | 574 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
224 | 574 | return Compare::equal(lhs, rhs); |
225 | 574 | } |
226 | | |
227 | | template <typename T> |
228 | | requires(std::is_floating_point_v<T>) |
229 | 602k | void NormalizeFloat(T& val) { |
230 | 602k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 55.2k | val = (T)0.0; |
233 | 546k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 602k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 20.9k | void NormalizeFloat(T& val) { | 230 | 20.9k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 1.39k | val = (T)0.0; | 233 | 19.5k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 20.9k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 581k | void NormalizeFloat(T& val) { | 230 | 581k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 53.8k | val = (T)0.0; | 233 | 527k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 581k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |