Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #include <cmath> |
19 | | |
20 | | #include "common/compiler_util.h" |
21 | | #include "core/type_limit.h" |
22 | | |
23 | | #pragma once |
24 | | namespace doris { |
25 | | struct Compare { |
26 | | template <typename T> |
27 | 91.0M | static bool less(const T& a, const T& b) { |
28 | 91.0M | return a < b; |
29 | 91.0M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 27 | 17.5M | static bool less(const T& a, const T& b) { | 28 | 17.5M | return a < b; | 29 | 17.5M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 27 | 1.96M | static bool less(const T& a, const T& b) { | 28 | 1.96M | return a < b; | 29 | 1.96M | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 27 | 293k | static bool less(const T& a, const T& b) { | 28 | 293k | return a < b; | 29 | 293k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 27 | 975 | static bool less(const T& a, const T& b) { | 28 | 975 | return a < b; | 29 | 975 | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 27 | 15.7k | static bool less(const T& a, const T& b) { | 28 | 15.7k | return a < b; | 29 | 15.7k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 27 | 30.2k | static bool less(const T& a, const T& b) { | 28 | 30.2k | return a < b; | 29 | 30.2k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 27 | 30.9k | static bool less(const T& a, const T& b) { | 28 | 30.9k | return a < b; | 29 | 30.9k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 27 | 2.16k | static bool less(const T& a, const T& b) { | 28 | 2.16k | return a < b; | 29 | 2.16k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 27 | 2.19k | static bool less(const T& a, const T& b) { | 28 | 2.19k | return a < b; | 29 | 2.19k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 27 | 2.65k | static bool less(const T& a, const T& b) { | 28 | 2.65k | return a < b; | 29 | 2.65k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 16.5M | static bool less(const T& a, const T& b) { | 28 | 16.5M | return a < b; | 29 | 16.5M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 44.9M | static bool less(const T& a, const T& b) { | 28 | 44.9M | return a < b; | 29 | 44.9M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 27 | 6.98k | static bool less(const T& a, const T& b) { | 28 | 6.98k | return a < b; | 29 | 6.98k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 27 | 2.19M | static bool less(const T& a, const T& b) { | 28 | 2.19M | return a < b; | 29 | 2.19M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 27 | 6.54M | static bool less(const T& a, const T& b) { | 28 | 6.54M | return a < b; | 29 | 6.54M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 27 | 4.23k | static bool less(const T& a, const T& b) { | 28 | 4.23k | return a < b; | 29 | 4.23k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 27 | 763k | static bool less(const T& a, const T& b) { | 28 | 763k | return a < b; | 29 | 763k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 27 | 3.07k | static bool less(const T& a, const T& b) { | 28 | 3.07k | return a < b; | 29 | 3.07k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 27 | 15 | static bool less(const T& a, const T& b) { | 28 | 15 | return a < b; | 29 | 15 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 27 | 109k | static bool less(const T& a, const T& b) { | 28 | 109k | return a < b; | 29 | 109k | } |
|
30 | | template <typename T> |
31 | 181M | static bool greater(const T& a, const T& b) { |
32 | 181M | return a > b; |
33 | 181M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 31 | 45.5k | static bool greater(const T& a, const T& b) { | 32 | 45.5k | return a > b; | 33 | 45.5k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 31 | 307k | static bool greater(const T& a, const T& b) { | 32 | 307k | return a > b; | 33 | 307k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 31 | 72.9k | static bool greater(const T& a, const T& b) { | 32 | 72.9k | return a > b; | 33 | 72.9k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 31 | 24.1M | static bool greater(const T& a, const T& b) { | 32 | 24.1M | return a > b; | 33 | 24.1M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 31 | 35.5M | static bool greater(const T& a, const T& b) { | 32 | 35.5M | return a > b; | 33 | 35.5M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 31 | 909k | static bool greater(const T& a, const T& b) { | 32 | 909k | return a > b; | 33 | 909k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 31 | 2.26k | static bool greater(const T& a, const T& b) { | 32 | 2.26k | return a > b; | 33 | 2.26k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 31 | 2.26k | static bool greater(const T& a, const T& b) { | 32 | 2.26k | return a > b; | 33 | 2.26k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 31 | 6.25k | static bool greater(const T& a, const T& b) { | 32 | 6.25k | return a > b; | 33 | 6.25k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 19.1M | static bool greater(const T& a, const T& b) { | 32 | 19.1M | return a > b; | 33 | 19.1M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 90.1M | static bool greater(const T& a, const T& b) { | 32 | 90.1M | return a > b; | 33 | 90.1M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 31 | 16.1k | static bool greater(const T& a, const T& b) { | 32 | 16.1k | return a > b; | 33 | 16.1k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 31 | 2.97M | static bool greater(const T& a, const T& b) { | 32 | 2.97M | return a > b; | 33 | 2.97M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 31 | 6.73M | static bool greater(const T& a, const T& b) { | 32 | 6.73M | return a > b; | 33 | 6.73M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 31 | 5.15k | static bool greater(const T& a, const T& b) { | 32 | 5.15k | return a > b; | 33 | 5.15k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 31 | 35.6k | static bool greater(const T& a, const T& b) { | 32 | 35.6k | return a > b; | 33 | 35.6k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 31 | 2.76k | static bool greater(const T& a, const T& b) { | 32 | 2.76k | return a > b; | 33 | 2.76k | } |
_ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 31 | 6 | static bool greater(const T& a, const T& b) { | 32 | 6 | return a > b; | 33 | 6 | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 31 | 930 | static bool greater(const T& a, const T& b) { | 32 | 930 | return a > b; | 33 | 930 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 31 | 1.21M | static bool greater(const T& a, const T& b) { | 32 | 1.21M | return a > b; | 33 | 1.21M | } |
|
34 | | |
35 | | template <typename T> |
36 | 92.2M | static bool less_equal(const T& a, const T& b) { |
37 | 92.2M | return a <= b; |
38 | 92.2M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 36 | 70.4M | static bool less_equal(const T& a, const T& b) { | 37 | 70.4M | return a <= b; | 38 | 70.4M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 36 | 5.58M | static bool less_equal(const T& a, const T& b) { | 37 | 5.58M | return a <= b; | 38 | 5.58M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 36 | 563k | static bool less_equal(const T& a, const T& b) { | 37 | 563k | return a <= b; | 38 | 563k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 36 | 118 | static bool less_equal(const T& a, const T& b) { | 37 | 118 | return a <= b; | 38 | 118 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 36 | 435k | static bool less_equal(const T& a, const T& b) { | 37 | 435k | return a <= b; | 38 | 435k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 36 | 2.31M | static bool less_equal(const T& a, const T& b) { | 37 | 2.31M | return a <= b; | 38 | 2.31M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 36 | 455k | static bool less_equal(const T& a, const T& b) { | 37 | 455k | return a <= b; | 38 | 455k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 36 | 232 | static bool less_equal(const T& a, const T& b) { | 37 | 232 | return a <= b; | 38 | 232 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 36 | 137 | static bool less_equal(const T& a, const T& b) { | 37 | 137 | return a <= b; | 38 | 137 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 36 | 1 | static bool less_equal(const T& a, const T& b) { | 37 | 1 | return a <= b; | 38 | 1 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 36 | 187 | static bool less_equal(const T& a, const T& b) { | 37 | 187 | return a <= b; | 38 | 187 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 36 | 4.81M | static bool less_equal(const T& a, const T& b) { | 37 | 4.81M | return a <= b; | 38 | 4.81M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 36 | 686k | static bool less_equal(const T& a, const T& b) { | 37 | 686k | return a <= b; | 38 | 686k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 36 | 210 | static bool less_equal(const T& a, const T& b) { | 37 | 210 | return a <= b; | 38 | 210 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 36 | 355k | static bool less_equal(const T& a, const T& b) { | 37 | 355k | return a <= b; | 38 | 355k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 36 | 508k | static bool less_equal(const T& a, const T& b) { | 37 | 508k | return a <= b; | 38 | 508k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 5.58M | static bool less_equal(const T& a, const T& b) { | 37 | 5.58M | return a <= b; | 38 | 5.58M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 72.3k | static bool less_equal(const T& a, const T& b) { | 37 | 72.3k | return a <= b; | 38 | 72.3k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 36 | 3.19k | static bool less_equal(const T& a, const T& b) { | 37 | 3.19k | return a <= b; | 38 | 3.19k | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 36 | 408k | static bool less_equal(const T& a, const T& b) { | 37 | 408k | return a <= b; | 38 | 408k | } |
|
39 | | template <typename T> |
40 | 87.3M | static bool greater_equal(const T& a, const T& b) { |
41 | 87.3M | return a >= b; |
42 | 87.3M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 40 | 362k | static bool greater_equal(const T& a, const T& b) { | 41 | 362k | return a >= b; | 42 | 362k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 40 | 2.24M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.24M | return a >= b; | 42 | 2.24M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 40 | 423k | static bool greater_equal(const T& a, const T& b) { | 41 | 423k | return a >= b; | 42 | 423k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 40 | 61.9M | static bool greater_equal(const T& a, const T& b) { | 41 | 61.9M | return a >= b; | 42 | 61.9M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 40 | 571k | static bool greater_equal(const T& a, const T& b) { | 41 | 571k | return a >= b; | 42 | 571k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 40 | 432k | static bool greater_equal(const T& a, const T& b) { | 41 | 432k | return a >= b; | 42 | 432k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 40 | 304 | static bool greater_equal(const T& a, const T& b) { | 41 | 304 | return a >= b; | 42 | 304 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 40 | 214 | static bool greater_equal(const T& a, const T& b) { | 41 | 214 | return a >= b; | 42 | 214 | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 40 | 133 | static bool greater_equal(const T& a, const T& b) { | 41 | 133 | return a >= b; | 42 | 133 | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 40 | 1 | static bool greater_equal(const T& a, const T& b) { | 41 | 1 | return a >= b; | 42 | 1 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 40 | 223 | static bool greater_equal(const T& a, const T& b) { | 41 | 223 | return a >= b; | 42 | 223 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 40 | 2.42M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.42M | return a >= b; | 42 | 2.42M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 40 | 630k | static bool greater_equal(const T& a, const T& b) { | 41 | 630k | return a >= b; | 42 | 630k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 40 | 174 | static bool greater_equal(const T& a, const T& b) { | 41 | 174 | return a >= b; | 42 | 174 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 40 | 351k | static bool greater_equal(const T& a, const T& b) { | 41 | 351k | return a >= b; | 42 | 351k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 40 | 655k | static bool greater_equal(const T& a, const T& b) { | 41 | 655k | return a >= b; | 42 | 655k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 16.7M | static bool greater_equal(const T& a, const T& b) { | 41 | 16.7M | return a >= b; | 42 | 16.7M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 145k | static bool greater_equal(const T& a, const T& b) { | 41 | 145k | return a >= b; | 42 | 145k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 40 | 753 | static bool greater_equal(const T& a, const T& b) { | 41 | 753 | return a >= b; | 42 | 753 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 40 | 351k | static bool greater_equal(const T& a, const T& b) { | 41 | 351k | return a >= b; | 42 | 351k | } |
|
43 | | template <typename T> |
44 | 129M | static bool equal(const T& a, const T& b) { |
45 | 129M | return a == b; |
46 | 129M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 44 | 48.0M | static bool equal(const T& a, const T& b) { | 45 | 48.0M | return a == b; | 46 | 48.0M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 44 | 4.03M | static bool equal(const T& a, const T& b) { | 45 | 4.03M | return a == b; | 46 | 4.03M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 44 | 814k | static bool equal(const T& a, const T& b) { | 45 | 814k | return a == b; | 46 | 814k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 44 | 44 | static bool equal(const T& a, const T& b) { | 45 | 44 | return a == b; | 46 | 44 | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 44 | 399k | static bool equal(const T& a, const T& b) { | 45 | 399k | return a == b; | 46 | 399k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 520k | static bool equal(const T& a, const T& b) { | 45 | 520k | return a == b; | 46 | 520k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 203k | static bool equal(const T& a, const T& b) { | 45 | 203k | return a == b; | 46 | 203k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 44 | 5.57k | static bool equal(const T& a, const T& b) { | 45 | 5.57k | return a == b; | 46 | 5.57k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 44 | 1.09k | static bool equal(const T& a, const T& b) { | 45 | 1.09k | return a == b; | 46 | 1.09k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 44 | 875 | static bool equal(const T& a, const T& b) { | 45 | 875 | return a == b; | 46 | 875 | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 44 | 3.83k | static bool equal(const T& a, const T& b) { | 45 | 3.83k | return a == b; | 46 | 3.83k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 44 | 68.0M | static bool equal(const T& a, const T& b) { | 45 | 68.0M | return a == b; | 46 | 68.0M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 44 | 437k | static bool equal(const T& a, const T& b) { | 45 | 437k | return a == b; | 46 | 437k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 44 | 464 | static bool equal(const T& a, const T& b) { | 45 | 464 | return a == b; | 46 | 464 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 44 | 776 | static bool equal(const T& a, const T& b) { | 45 | 776 | return a == b; | 46 | 776 | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 44 | 9 | static bool equal(const T& a, const T& b) { | 45 | 9 | return a == b; | 46 | 9 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 44 | 700k | static bool equal(const T& a, const T& b) { | 45 | 700k | return a == b; | 46 | 700k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 44 | 374 | static bool equal(const T& a, const T& b) { | 45 | 374 | return a == b; | 46 | 374 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 44 | 1.86M | static bool equal(const T& a, const T& b) { | 45 | 1.86M | return a == b; | 46 | 1.86M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 44 | 4.50M | static bool equal(const T& a, const T& b) { | 45 | 4.50M | return a == b; | 46 | 4.50M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 44 | 55.1k | static bool equal(const T& a, const T& b) { | 45 | 55.1k | return a == b; | 46 | 55.1k | } |
|
47 | | template <typename T> |
48 | 2.45M | static bool not_equal(const T& a, const T& b) { |
49 | 2.45M | return a != b; |
50 | 2.45M | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 48 | 1.71k | static bool not_equal(const T& a, const T& b) { | 49 | 1.71k | return a != b; | 50 | 1.71k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 48 | 816 | static bool not_equal(const T& a, const T& b) { | 49 | 816 | return a != b; | 50 | 816 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 48 | 1.06M | static bool not_equal(const T& a, const T& b) { | 49 | 1.06M | return a != b; | 50 | 1.06M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 48 | 1.37M | static bool not_equal(const T& a, const T& b) { | 49 | 1.37M | return a != b; | 50 | 1.37M | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 48 | 1.81k | static bool not_equal(const T& a, const T& b) { | 49 | 1.81k | return a != b; | 50 | 1.81k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalIjEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIoEEbRKT_S4_ _ZN5doris7Compare9not_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 48 | 363 | static bool not_equal(const T& a, const T& b) { | 49 | 363 | return a != b; | 50 | 363 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 48 | 2.94k | static bool not_equal(const T& a, const T& b) { | 49 | 2.94k | return a != b; | 50 | 2.94k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 48 | 42 | static bool not_equal(const T& a, const T& b) { | 49 | 42 | return a != b; | 50 | 42 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 48 | 18 | static bool not_equal(const T& a, const T& b) { | 49 | 18 | return a != b; | 50 | 18 | } |
_ZN5doris7Compare9not_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 48 | 66 | static bool not_equal(const T& a, const T& b) { | 49 | 66 | return a != b; | 50 | 66 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 48 | 246 | static bool not_equal(const T& a, const T& b) { | 49 | 246 | return a != b; | 50 | 246 | } |
_ZN5doris7Compare9not_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 48 | 248 | static bool not_equal(const T& a, const T& b) { | 49 | 248 | return a != b; | 50 | 248 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 48 | 66 | static bool not_equal(const T& a, const T& b) { | 49 | 66 | return a != b; | 50 | 66 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 48 | 225 | static bool not_equal(const T& a, const T& b) { | 49 | 225 | return a != b; | 50 | 225 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 48 | 59 | static bool not_equal(const T& a, const T& b) { | 49 | 59 | return a != b; | 50 | 59 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 48 | 1.80k | static bool not_equal(const T& a, const T& b) { | 49 | 1.80k | return a != b; | 50 | 1.80k | } |
|
51 | | |
52 | | template <typename T> |
53 | 522M | static int compare(const T& a, const T& b) { |
54 | 522M | return a > b ? 1 : (a < b ? -1 : 0); |
55 | 522M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 53 | 4.78M | static int compare(const T& a, const T& b) { | 54 | 4.78M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.78M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 53 | 564k | static int compare(const T& a, const T& b) { | 54 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 564k | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 53 | 10.5M | static int compare(const T& a, const T& b) { | 54 | 10.5M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 10.5M | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 53 | 100M | static int compare(const T& a, const T& b) { | 54 | 100M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 100M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 53 | 7.81M | static int compare(const T& a, const T& b) { | 54 | 7.81M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.81M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 53 | 315M | static int compare(const T& a, const T& b) { | 54 | 315M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 315M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 8.10M | static int compare(const T& a, const T& b) { | 54 | 8.10M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 8.10M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 47.6M | static int compare(const T& a, const T& b) { | 54 | 47.6M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 47.6M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 53 | 6.66k | static int compare(const T& a, const T& b) { | 54 | 6.66k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 6.66k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 53 | 4.56k | static int compare(const T& a, const T& b) { | 54 | 4.56k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.56k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 53 | 5.80M | static int compare(const T& a, const T& b) { | 54 | 5.80M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 5.80M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 53 | 7.60M | static int compare(const T& a, const T& b) { | 54 | 7.60M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.60M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 53 | 2.71k | static int compare(const T& a, const T& b) { | 54 | 2.71k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 2.71k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 53 | 23.8k | static int compare(const T& a, const T& b) { | 54 | 23.8k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 23.8k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 53 | 361k | static int compare(const T& a, const T& b) { | 54 | 361k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 361k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 53 | 166k | static int compare(const T& a, const T& b) { | 54 | 166k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 166k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 53 | 13.5M | static int compare(const T& a, const T& b) { | 54 | 13.5M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 13.5M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 53 | 95.2k | static int compare(const T& a, const T& b) { | 54 | 95.2k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 95.2k | } |
|
56 | | |
57 | | template <typename T> |
58 | 56.8M | static T min(const T& a, const T& b) { |
59 | 56.8M | return less(a, b) ? a : b; |
60 | 56.8M | } _ZN5doris7Compare3minINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 58 | 5 | static T min(const T& a, const T& b) { | 59 | 5 | return less(a, b) ? a : b; | 60 | 5 | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 58 | 1.98M | static T min(const T& a, const T& b) { | 59 | 1.98M | return less(a, b) ? a : b; | 60 | 1.98M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 58 | 44.0M | static T min(const T& a, const T& b) { | 59 | 44.0M | return less(a, b) ? a : b; | 60 | 44.0M | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 58 | 2.53k | static T min(const T& a, const T& b) { | 59 | 2.53k | return less(a, b) ? a : b; | 60 | 2.53k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 58 | 30.0k | static T min(const T& a, const T& b) { | 59 | 30.0k | return less(a, b) ? a : b; | 60 | 30.0k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 58 | 31 | static T min(const T& a, const T& b) { | 59 | 31 | return less(a, b) ? a : b; | 60 | 31 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 58 | 31 | static T min(const T& a, const T& b) { | 59 | 31 | return less(a, b) ? a : b; | 60 | 31 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 58 | 12.8k | static T min(const T& a, const T& b) { | 59 | 12.8k | return less(a, b) ? a : b; | 60 | 12.8k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 58 | 7.65k | static T min(const T& a, const T& b) { | 59 | 7.65k | return less(a, b) ? a : b; | 60 | 7.65k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 58 | 8.16k | static T min(const T& a, const T& b) { | 59 | 8.16k | return less(a, b) ? a : b; | 60 | 8.16k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 58 | 3.49M | static T min(const T& a, const T& b) { | 59 | 3.49M | return less(a, b) ? a : b; | 60 | 3.49M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 58 | 100k | static T min(const T& a, const T& b) { | 59 | 100k | return less(a, b) ? a : b; | 60 | 100k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 58 | 993 | static T min(const T& a, const T& b) { | 59 | 993 | return less(a, b) ? a : b; | 60 | 993 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 58 | 13.3k | static T min(const T& a, const T& b) { | 59 | 13.3k | return less(a, b) ? a : b; | 60 | 13.3k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 58 | 2.19M | static T min(const T& a, const T& b) { | 59 | 2.19M | return less(a, b) ? a : b; | 60 | 2.19M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 58 | 4.18M | static T min(const T& a, const T& b) { | 59 | 4.18M | return less(a, b) ? a : b; | 60 | 4.18M | } |
_ZN5doris7Compare3minINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 58 | 4.09k | static T min(const T& a, const T& b) { | 59 | 4.09k | return less(a, b) ? a : b; | 60 | 4.09k | } |
_ZN5doris7Compare3minINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 58 | 761k | static T min(const T& a, const T& b) { | 59 | 761k | return less(a, b) ? a : b; | 60 | 761k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 58 | 360 | static T min(const T& a, const T& b) { | 59 | 360 | return less(a, b) ? a : b; | 60 | 360 | } |
|
61 | | |
62 | | template <typename T> |
63 | 126M | static T max(const T& a, const T& b) { |
64 | 126M | return greater(a, b) ? a : b; |
65 | 126M | } _ZN5doris7Compare3maxINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 63 | 5 | static T max(const T& a, const T& b) { | 64 | 5 | return greater(a, b) ? a : b; | 65 | 5 | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 15.6M | static T max(const T& a, const T& b) { | 64 | 15.6M | return greater(a, b) ? a : b; | 65 | 15.6M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 87.7M | static T max(const T& a, const T& b) { | 64 | 87.7M | return greater(a, b) ? a : b; | 65 | 87.7M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 63 | 2.53k | static T max(const T& a, const T& b) { | 64 | 2.53k | return greater(a, b) ? a : b; | 65 | 2.53k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 63 | 6.19M | static T max(const T& a, const T& b) { | 64 | 6.19M | return greater(a, b) ? a : b; | 65 | 6.19M | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 63 | 37 | static T max(const T& a, const T& b) { | 64 | 37 | return greater(a, b) ? a : b; | 65 | 37 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 63 | 37 | static T max(const T& a, const T& b) { | 64 | 37 | return greater(a, b) ? a : b; | 65 | 37 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 63 | 32.5k | static T max(const T& a, const T& b) { | 64 | 32.5k | return greater(a, b) ? a : b; | 65 | 32.5k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 63 | 22.6k | static T max(const T& a, const T& b) { | 64 | 22.6k | return greater(a, b) ? a : b; | 65 | 22.6k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 63 | 23.3k | static T max(const T& a, const T& b) { | 64 | 23.3k | return greater(a, b) ? a : b; | 65 | 23.3k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 63 | 7.36M | static T max(const T& a, const T& b) { | 64 | 7.36M | return greater(a, b) ? a : b; | 65 | 7.36M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 63 | 159k | static T max(const T& a, const T& b) { | 64 | 159k | return greater(a, b) ? a : b; | 65 | 159k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 63 | 2.57k | static T max(const T& a, const T& b) { | 64 | 2.57k | return greater(a, b) ? a : b; | 65 | 2.57k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 63 | 34.1k | static T max(const T& a, const T& b) { | 64 | 34.1k | return greater(a, b) ? a : b; | 65 | 34.1k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 63 | 2.96M | static T max(const T& a, const T& b) { | 64 | 2.96M | return greater(a, b) ? a : b; | 65 | 2.96M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 63 | 6.65M | static T max(const T& a, const T& b) { | 64 | 6.65M | return greater(a, b) ? a : b; | 65 | 6.65M | } |
_ZN5doris7Compare3maxINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 63 | 4.09k | static T max(const T& a, const T& b) { | 64 | 4.09k | return greater(a, b) ? a : b; | 65 | 4.09k | } |
_ZN5doris7Compare3maxINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 63 | 19.3k | static T max(const T& a, const T& b) { | 64 | 19.3k | return greater(a, b) ? a : b; | 65 | 19.3k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 63 | 371 | static T max(const T& a, const T& b) { | 64 | 371 | return greater(a, b) ? a : b; | 65 | 371 | } |
|
66 | | |
67 | | template <typename T> |
68 | 3.57M | static T min_value() { |
69 | 3.57M | return type_limit<T>::min(); |
70 | 3.57M | } _ZN5doris7Compare9min_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 68 | 1 | static T min_value() { | 69 | 1 | return type_limit<T>::min(); | 70 | 1 | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 68 | 41.1k | static T min_value() { | 69 | 41.1k | return type_limit<T>::min(); | 70 | 41.1k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 68 | 786k | static T min_value() { | 69 | 786k | return type_limit<T>::min(); | 70 | 786k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 68 | 1.77k | static T min_value() { | 69 | 1.77k | return type_limit<T>::min(); | 70 | 1.77k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 68 | 369k | static T min_value() { | 69 | 369k | return type_limit<T>::min(); | 70 | 369k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 68 | 49 | static T min_value() { | 69 | 49 | return type_limit<T>::min(); | 70 | 49 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 68 | 47 | static T min_value() { | 69 | 47 | return type_limit<T>::min(); | 70 | 47 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 68 | 430 | static T min_value() { | 69 | 430 | return type_limit<T>::min(); | 70 | 430 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 68 | 1.99k | static T min_value() { | 69 | 1.99k | return type_limit<T>::min(); | 70 | 1.99k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 68 | 3.30k | static T min_value() { | 69 | 3.30k | return type_limit<T>::min(); | 70 | 3.30k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 68 | 1.78M | static T min_value() { | 69 | 1.78M | return type_limit<T>::min(); | 70 | 1.78M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 68 | 108k | static T min_value() { | 69 | 108k | return type_limit<T>::min(); | 70 | 108k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 68 | 1.76k | static T min_value() { | 69 | 1.76k | return type_limit<T>::min(); | 70 | 1.76k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 68 | 40.4k | static T min_value() { | 69 | 40.4k | return type_limit<T>::min(); | 70 | 40.4k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 68 | 13.3k | static T min_value() { | 69 | 13.3k | return type_limit<T>::min(); | 70 | 13.3k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 68 | 406k | static T min_value() { | 69 | 406k | return type_limit<T>::min(); | 70 | 406k | } |
_ZN5doris7Compare9min_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 68 | 4.09k | static T min_value() { | 69 | 4.09k | return type_limit<T>::min(); | 70 | 4.09k | } |
_ZN5doris7Compare9min_valueINS_12Decimal128V3EEET_v Line | Count | Source | 68 | 10.1k | static T min_value() { | 69 | 10.1k | return type_limit<T>::min(); | 70 | 10.1k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 68 | 203 | static T min_value() { | 69 | 203 | return type_limit<T>::min(); | 70 | 203 | } |
|
71 | | |
72 | | template <typename T> |
73 | 269k | static T max_value() { |
74 | 269k | return type_limit<T>::max(); |
75 | 269k | } _ZN5doris7Compare9max_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 73 | 1 | static T max_value() { | 74 | 1 | return type_limit<T>::max(); | 75 | 1 | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 73 | 3.83k | static T max_value() { | 74 | 3.83k | return type_limit<T>::max(); | 75 | 3.83k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 73 | 1.07k | static T max_value() { | 74 | 1.07k | return type_limit<T>::max(); | 75 | 1.07k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 73 | 1.77k | static T max_value() { | 74 | 1.77k | return type_limit<T>::max(); | 75 | 1.77k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 73 | 27 | static T max_value() { | 74 | 27 | return type_limit<T>::max(); | 75 | 27 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 73 | 27 | static T max_value() { | 74 | 27 | return type_limit<T>::max(); | 75 | 27 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 73 | 186 | static T max_value() { | 74 | 186 | return type_limit<T>::max(); | 75 | 186 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 73 | 700 | static T max_value() { | 74 | 700 | return type_limit<T>::max(); | 75 | 700 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 73 | 628 | static T max_value() { | 74 | 628 | return type_limit<T>::max(); | 75 | 628 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 73 | 211k | static T max_value() { | 74 | 211k | return type_limit<T>::max(); | 75 | 211k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 73 | 38.2k | static T max_value() { | 74 | 38.2k | return type_limit<T>::max(); | 75 | 38.2k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 73 | 482 | static T max_value() { | 74 | 482 | return type_limit<T>::max(); | 75 | 482 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 73 | 411 | static T max_value() { | 74 | 411 | return type_limit<T>::max(); | 75 | 411 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 73 | 5.05k | static T max_value() { | 74 | 5.05k | return type_limit<T>::max(); | 75 | 5.05k | } |
_ZN5doris7Compare9max_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 73 | 4.09k | static T max_value() { | 74 | 4.09k | return type_limit<T>::max(); | 75 | 4.09k | } |
_ZN5doris7Compare9max_valueINS_12Decimal128V3EEET_v Line | Count | Source | 73 | 714 | static T max_value() { | 74 | 714 | return type_limit<T>::max(); | 75 | 714 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 73 | 168 | static T max_value() { | 74 | 168 | return type_limit<T>::max(); | 75 | 168 | } |
|
76 | | }; |
77 | | |
78 | | template <typename T> |
79 | 1.30M | bool EqualsFloat(T left, T right) { |
80 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
81 | 214 | return true; |
82 | 214 | } |
83 | 1.30M | return left == right; |
84 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 79 | 1.30k | bool EqualsFloat(T left, T right) { | 80 | 1.30k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 26 | return true; | 82 | 26 | } | 83 | 1.27k | return left == right; | 84 | 1.30k | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 79 | 1.30M | bool EqualsFloat(T left, T right) { | 80 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 188 | return true; | 82 | 188 | } | 83 | 1.30M | return left == right; | 84 | 1.30M | } |
|
85 | | |
86 | | template <typename T> |
87 | 7.71M | bool GreaterThanFloat(T left, T right) { |
88 | | // nan is always bigger than everything else |
89 | 7.71M | bool left_is_nan = std::isnan(left); |
90 | 7.71M | bool right_is_nan = std::isnan(right); |
91 | 7.71M | if (UNLIKELY(right_is_nan)) { |
92 | 550 | return false; |
93 | 550 | } |
94 | 7.71M | if (UNLIKELY(left_is_nan)) { |
95 | 28.1k | return true; |
96 | 28.1k | } |
97 | 7.68M | return left > right; |
98 | 7.71M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 87 | 64.4k | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 64.4k | bool left_is_nan = std::isnan(left); | 90 | 64.4k | bool right_is_nan = std::isnan(right); | 91 | 64.4k | if (UNLIKELY(right_is_nan)) { | 92 | 108 | return false; | 93 | 108 | } | 94 | 64.3k | if (UNLIKELY(left_is_nan)) { | 95 | 11.4k | return true; | 96 | 11.4k | } | 97 | 52.9k | return left > right; | 98 | 64.3k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 87 | 7.65M | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 7.65M | bool left_is_nan = std::isnan(left); | 90 | 7.65M | bool right_is_nan = std::isnan(right); | 91 | 7.65M | if (UNLIKELY(right_is_nan)) { | 92 | 442 | return false; | 93 | 442 | } | 94 | 7.64M | if (UNLIKELY(left_is_nan)) { | 95 | 16.7k | return true; | 96 | 16.7k | } | 97 | 7.63M | return left > right; | 98 | 7.64M | } |
|
99 | | |
100 | | template <typename T> |
101 | 556k | bool GreaterThanEqualsFloat(T left, T right) { |
102 | | // nan is always bigger than everything else |
103 | 556k | bool left_is_nan = std::isnan(left); |
104 | 556k | bool right_is_nan = std::isnan(right); |
105 | 556k | if (UNLIKELY(right_is_nan)) { |
106 | 367 | return left_is_nan; |
107 | 367 | } |
108 | 555k | if (UNLIKELY(left_is_nan)) { |
109 | 564 | return true; |
110 | 564 | } |
111 | 555k | return left >= right; |
112 | 555k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 101 | 1.12k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.12k | bool left_is_nan = std::isnan(left); | 104 | 1.12k | bool right_is_nan = std::isnan(right); | 105 | 1.12k | if (UNLIKELY(right_is_nan)) { | 106 | 48 | return left_is_nan; | 107 | 48 | } | 108 | 1.07k | if (UNLIKELY(left_is_nan)) { | 109 | 101 | return true; | 110 | 101 | } | 111 | 972 | return left >= right; | 112 | 1.07k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 101 | 555k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 555k | bool left_is_nan = std::isnan(left); | 104 | 555k | bool right_is_nan = std::isnan(right); | 105 | 555k | if (UNLIKELY(right_is_nan)) { | 106 | 319 | return left_is_nan; | 107 | 319 | } | 108 | 554k | if (UNLIKELY(left_is_nan)) { | 109 | 463 | return true; | 110 | 463 | } | 111 | 554k | return left >= right; | 112 | 554k | } |
|
113 | | |
114 | | template <typename T> |
115 | 12.3M | int CompareFloat(T left, T right) { |
116 | | // nan is always bigger than everything else |
117 | 12.3M | bool left_is_nan = std::isnan(left); |
118 | 12.3M | bool right_is_nan = std::isnan(right); |
119 | 12.3M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
120 | 5.25k | if (left_is_nan && right_is_nan) { |
121 | 1.91k | return 0; |
122 | 1.91k | } |
123 | 3.34k | if (left_is_nan) { |
124 | 941 | return 1; |
125 | 2.39k | } else { |
126 | 2.39k | return -1; |
127 | 2.39k | } |
128 | 3.34k | } |
129 | 12.3M | return left > right ? 1 : (left < right ? -1 : 0); |
130 | 12.3M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 115 | 5.54M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 5.54M | bool left_is_nan = std::isnan(left); | 118 | 5.54M | bool right_is_nan = std::isnan(right); | 119 | 5.54M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.35k | if (left_is_nan && right_is_nan) { | 121 | 848 | return 0; | 122 | 848 | } | 123 | 1.51k | if (left_is_nan) { | 124 | 412 | return 1; | 125 | 1.09k | } else { | 126 | 1.09k | return -1; | 127 | 1.09k | } | 128 | 1.51k | } | 129 | 5.54M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 5.54M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 115 | 6.84M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 6.84M | bool left_is_nan = std::isnan(left); | 118 | 6.84M | bool right_is_nan = std::isnan(right); | 119 | 6.84M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.89k | if (left_is_nan && right_is_nan) { | 121 | 1.06k | return 0; | 122 | 1.06k | } | 123 | 1.83k | if (left_is_nan) { | 124 | 529 | return 1; | 125 | 1.30k | } else { | 126 | 1.30k | return -1; | 127 | 1.30k | } | 128 | 1.83k | } | 129 | 6.84M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 6.84M | }; |
|
131 | | |
132 | | // float |
133 | | template <> |
134 | 14.6k | inline bool Compare::less(const float& a, const float& b) { |
135 | 14.6k | return GreaterThanFloat(b, a); |
136 | 14.6k | } |
137 | | template <> |
138 | 49.7k | inline bool Compare::greater(const float& a, const float& b) { |
139 | 49.7k | return GreaterThanFloat(a, b); |
140 | 49.7k | } |
141 | | template <> |
142 | 566 | inline bool Compare::less_equal(const float& a, const float& b) { |
143 | 566 | return GreaterThanEqualsFloat(b, a); |
144 | 566 | } |
145 | | template <> |
146 | 555 | inline bool Compare::greater_equal(const float& a, const float& b) { |
147 | 555 | return GreaterThanEqualsFloat(a, b); |
148 | 555 | } |
149 | | template <> |
150 | 1.11k | inline bool Compare::equal(const float& a, const float& b) { |
151 | 1.11k | return EqualsFloat(a, b); |
152 | 1.11k | } |
153 | | template <> |
154 | 183 | inline bool Compare::not_equal(const float& a, const float& b) { |
155 | 183 | return !EqualsFloat(a, b); |
156 | 183 | } |
157 | | template <> |
158 | 5.54M | inline int Compare::compare(const float& a, const float& b) { |
159 | 5.54M | return CompareFloat(a, b); |
160 | 5.54M | } |
161 | | template <> |
162 | 337 | inline float Compare::max_value<float>() { |
163 | 337 | return std::numeric_limits<float>::quiet_NaN(); |
164 | 337 | } |
165 | | |
166 | | // double |
167 | | template <> |
168 | 997k | inline bool Compare::less(const double& a, const double& b) { |
169 | 997k | return GreaterThanFloat(b, a); |
170 | 997k | } |
171 | | template <> |
172 | 6.65M | inline bool Compare::greater(const double& a, const double& b) { |
173 | 6.65M | return GreaterThanFloat(a, b); |
174 | 6.65M | } |
175 | | template <> |
176 | 277k | inline bool Compare::less_equal(const double& a, const double& b) { |
177 | 277k | return GreaterThanEqualsFloat(b, a); |
178 | 277k | } |
179 | | template <> |
180 | 277k | inline bool Compare::greater_equal(const double& a, const double& b) { |
181 | 277k | return GreaterThanEqualsFloat(a, b); |
182 | 277k | } |
183 | | template <> |
184 | 1.30M | inline bool Compare::equal(const double& a, const double& b) { |
185 | 1.30M | return EqualsFloat(a, b); |
186 | 1.30M | } |
187 | | template <> |
188 | 536 | inline bool Compare::not_equal(const double& a, const double& b) { |
189 | 536 | return !EqualsFloat(a, b); |
190 | 536 | } |
191 | | template <> |
192 | 6.84M | inline int Compare::compare(const double& a, const double& b) { |
193 | 6.84M | return CompareFloat(a, b); |
194 | 6.84M | } |
195 | | template <> |
196 | 775 | inline double Compare::max_value<double>() { |
197 | 775 | return std::numeric_limits<double>::quiet_NaN(); |
198 | 775 | } |
199 | | |
200 | | template <class T> |
201 | | struct Less { |
202 | 619k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 202 | 293 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 202 | 1.93k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 202 | 600k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 202 | 6.47k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 202 | 35 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 202 | 40 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 202 | 35 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 202 | 7.42k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 202 | 326 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 412 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 335 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 202 | 458 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
Unexecuted instantiation: _ZNK5doris4LessINS_14DecimalV2ValueEEclERKS1_S4_ _ZNK5doris4LessIhEclERKhS3_ Line | Count | Source | 202 | 61 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 202 | 77 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 202 | 1.09k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 202 | 66 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 202 | 106 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
203 | | }; |
204 | | template <> |
205 | 297 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
206 | 297 | return Compare::less(lhs, rhs); |
207 | 297 | } |
208 | | template <> |
209 | 46 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
210 | 46 | return Compare::less(lhs, rhs); |
211 | 46 | } |
212 | | |
213 | | template <class T> |
214 | | struct EqualTo { |
215 | 170M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 215 | 71.5M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 215 | 4.46k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 215 | 4.32k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 215 | 22.2M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 215 | 36.0M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 215 | 384 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 215 | 58 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 215 | 3.62k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 215 | 1.85k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 215 | 774 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 215 | 88.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 215 | 10.4M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 215 | 13 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 215 | 86 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 215 | 84 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 215 | 791 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 215 | 72 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 215 | 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 | 215 | 9.84k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 215 | 66.5k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 215 | 42.9k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 215 | 29.3M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_5FieldEEclERKS1_S4_ Line | Count | Source | 215 | 619 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
Unexecuted instantiation: _ZNK5doris7EqualToIN4wide7integerILm256EiEEEclERKS3_S6_ _ZNK5doris7EqualToIN4wide7integerILm256EjEEEclERKS3_S6_ Line | Count | Source | 215 | 170k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 215 | 3.79k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt104EEclERKS1_S4_ Line | Count | Source | 215 | 1.69k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 215 | 13.6k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 215 | 70.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 215 | 24.2k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
216 | | }; |
217 | | template <> |
218 | 149 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
219 | 149 | return Compare::equal(lhs, rhs); |
220 | 149 | } |
221 | | template <> |
222 | 640 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
223 | 640 | return Compare::equal(lhs, rhs); |
224 | 640 | } |
225 | | |
226 | | template <typename T> |
227 | | requires(std::is_floating_point_v<T>) |
228 | 646k | void NormalizeFloat(T& val) { |
229 | 646k | if (val == (T)0.0) { |
230 | | // Turn negative zero into positive zero |
231 | 54.0k | val = (T)0.0; |
232 | 592k | } else if (std::isnan(val)) { |
233 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
234 | 156 | } |
235 | 646k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 46.1k | void NormalizeFloat(T& val) { | 229 | 46.1k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 1.43k | val = (T)0.0; | 232 | 44.7k | } else if (std::isnan(val)) { | 233 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 41 | } | 235 | 46.1k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 600k | void NormalizeFloat(T& val) { | 229 | 600k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 52.6k | val = (T)0.0; | 232 | 547k | } else if (std::isnan(val)) { | 233 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 115 | } | 235 | 600k | } |
|
236 | | |
237 | | } // namespace doris |