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 | 87.1M | static bool less(const T& a, const T& b) { |
29 | 87.1M | return a < b; |
30 | 87.1M | } _ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 34.9k | static bool less(const T& a, const T& b) { | 29 | 34.9k | return a < b; | 30 | 34.9k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 26.2k | static bool less(const T& a, const T& b) { | 29 | 26.2k | return a < b; | 30 | 26.2k | } |
_ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 15.6M | static bool less(const T& a, const T& b) { | 29 | 15.6M | return a < b; | 30 | 15.6M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 1.20M | static bool less(const T& a, const T& b) { | 29 | 1.20M | return a < b; | 30 | 1.20M | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 295k | static bool less(const T& a, const T& b) { | 29 | 295k | return a < b; | 30 | 295k | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.30k | static bool less(const T& a, const T& b) { | 29 | 4.30k | return a < b; | 30 | 4.30k | } |
_ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 2.19M | static bool less(const T& a, const T& b) { | 29 | 2.19M | return a < b; | 30 | 2.19M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 6.45M | static bool less(const T& a, const T& b) { | 29 | 6.45M | return a < b; | 30 | 6.45M | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 758k | static bool less(const T& a, const T& b) { | 29 | 758k | return a < b; | 30 | 758k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 3.14k | static bool less(const T& a, const T& b) { | 29 | 3.14k | return a < b; | 30 | 3.14k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 28 | 19 | static bool less(const T& a, const T& b) { | 29 | 19 | return a < b; | 30 | 19 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 28 | 106k | static bool less(const T& a, const T& b) { | 29 | 106k | return a < b; | 30 | 106k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 2.58k | static bool less(const T& a, const T& b) { | 29 | 2.58k | return a < b; | 30 | 2.58k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 15.5M | static bool less(const T& a, const T& b) { | 29 | 15.5M | return a < b; | 30 | 15.5M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 44.8M | static bool less(const T& a, const T& b) { | 29 | 44.8M | return a < b; | 30 | 44.8M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 6.93k | static bool less(const T& a, const T& b) { | 29 | 6.93k | return a < b; | 30 | 6.93k | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 15.7k | static bool less(const T& a, const T& b) { | 29 | 15.7k | return a < b; | 30 | 15.7k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 1.88k | static bool less(const T& a, const T& b) { | 29 | 1.88k | return a < b; | 30 | 1.88k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 1.92k | static bool less(const T& a, const T& b) { | 29 | 1.92k | return a < b; | 30 | 1.92k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 28 | 975 | static bool less(const T& a, const T& b) { | 29 | 975 | return a < b; | 30 | 975 | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ |
31 | | template <typename T> |
32 | 131M | static bool greater(const T& a, const T& b) { |
33 | 131M | return a > b; |
34 | 131M | } _ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 289k | static bool greater(const T& a, const T& b) { | 33 | 289k | return a > b; | 34 | 289k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 71.9k | static bool greater(const T& a, const T& b) { | 33 | 71.9k | return a > b; | 34 | 71.9k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 27.1M | static bool greater(const T& a, const T& b) { | 33 | 27.1M | return a > b; | 34 | 27.1M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 30.3M | static bool greater(const T& a, const T& b) { | 33 | 30.3M | return a > b; | 34 | 30.3M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 1.06M | static bool greater(const T& a, const T& b) { | 33 | 1.06M | return a > b; | 34 | 1.06M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 5.05k | static bool greater(const T& a, const T& b) { | 33 | 5.05k | return a > b; | 34 | 5.05k | } |
_ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 2.94M | static bool greater(const T& a, const T& b) { | 33 | 2.94M | return a > b; | 34 | 2.94M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 4.22M | static bool greater(const T& a, const T& b) { | 33 | 4.22M | return a > b; | 34 | 4.22M | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 27.0k | static bool greater(const T& a, const T& b) { | 33 | 27.0k | return a > b; | 34 | 27.0k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 3.12k | static bool greater(const T& a, const T& b) { | 33 | 3.12k | return a > b; | 34 | 3.12k | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 686 | static bool greater(const T& a, const T& b) { | 33 | 686 | return a > b; | 34 | 686 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 1.16M | static bool greater(const T& a, const T& b) { | 33 | 1.16M | return a > b; | 34 | 1.16M | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 6.17k | static bool greater(const T& a, const T& b) { | 33 | 6.17k | return a > b; | 34 | 6.17k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 17.6M | static bool greater(const T& a, const T& b) { | 33 | 17.6M | return a > b; | 34 | 17.6M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 46.4M | static bool greater(const T& a, const T& b) { | 33 | 46.4M | return a > b; | 34 | 46.4M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 15.3k | static bool greater(const T& a, const T& b) { | 33 | 15.3k | return a > b; | 34 | 15.3k | } |
_ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 33.1k | static bool greater(const T& a, const T& b) { | 33 | 33.1k | return a > b; | 34 | 33.1k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 32 | 2.21k | static bool greater(const T& a, const T& b) { | 33 | 2.21k | return a > b; | 34 | 2.21k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.23k | static bool greater(const T& a, const T& b) { | 33 | 2.23k | return a > b; | 34 | 2.23k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 32 | 6 | static bool greater(const T& a, const T& b) { | 33 | 6 | return a > b; | 34 | 6 | } |
|
35 | | |
36 | | template <typename T> |
37 | 97.5M | static bool less_equal(const T& a, const T& b) { |
38 | 97.5M | return a <= b; |
39 | 97.5M | } _ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 2.03M | static bool less_equal(const T& a, const T& b) { | 38 | 2.03M | return a <= b; | 39 | 2.03M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 117k | static bool less_equal(const T& a, const T& b) { | 38 | 117k | return a <= b; | 39 | 117k | } |
_ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 78.1M | static bool less_equal(const T& a, const T& b) { | 38 | 78.1M | return a <= b; | 39 | 78.1M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 4.66M | static bool less_equal(const T& a, const T& b) { | 38 | 4.66M | return a <= b; | 39 | 4.66M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 207k | static bool less_equal(const T& a, const T& b) { | 38 | 207k | return a <= b; | 39 | 207k | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 37 | 1 | static bool less_equal(const T& a, const T& b) { | 38 | 1 | return a <= b; | 39 | 1 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 37 | 216 | static bool less_equal(const T& a, const T& b) { | 38 | 216 | return a <= b; | 39 | 216 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.58M | static bool less_equal(const T& a, const T& b) { | 38 | 4.58M | return a <= b; | 39 | 4.58M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 164k | static bool less_equal(const T& a, const T& b) { | 38 | 164k | return a <= b; | 39 | 164k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 231 | static bool less_equal(const T& a, const T& b) { | 38 | 231 | return a <= b; | 39 | 231 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 345k | static bool less_equal(const T& a, const T& b) { | 38 | 345k | return a <= b; | 39 | 345k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 259k | static bool less_equal(const T& a, const T& b) { | 38 | 259k | return a <= b; | 39 | 259k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.31M | static bool less_equal(const T& a, const T& b) { | 38 | 5.31M | return a <= b; | 39 | 5.31M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 1.33M | static bool less_equal(const T& a, const T& b) { | 38 | 1.33M | return a <= b; | 39 | 1.33M | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 623 | static bool less_equal(const T& a, const T& b) { | 38 | 623 | return a <= b; | 39 | 623 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 250k | static bool less_equal(const T& a, const T& b) { | 38 | 250k | return a <= b; | 39 | 250k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 196 | static bool less_equal(const T& a, const T& b) { | 38 | 196 | return a <= b; | 39 | 196 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 100 | static bool less_equal(const T& a, const T& b) { | 38 | 100 | return a <= b; | 39 | 100 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 168k | static bool less_equal(const T& a, const T& b) { | 38 | 168k | return a <= b; | 39 | 168k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 37 | 118 | static bool less_equal(const T& a, const T& b) { | 38 | 118 | return a <= b; | 39 | 118 | } |
|
40 | | template <typename T> |
41 | 93.4M | static bool greater_equal(const T& a, const T& b) { |
42 | 93.4M | return a >= b; |
43 | 93.4M | } _ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 1.97M | static bool greater_equal(const T& a, const T& b) { | 42 | 1.97M | return a >= b; | 43 | 1.97M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 297k | static bool greater_equal(const T& a, const T& b) { | 42 | 297k | return a >= b; | 43 | 297k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 71.0M | static bool greater_equal(const T& a, const T& b) { | 42 | 71.0M | return a >= b; | 43 | 71.0M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 523k | static bool greater_equal(const T& a, const T& b) { | 42 | 523k | return a >= b; | 43 | 523k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 150k | static bool greater_equal(const T& a, const T& b) { | 42 | 150k | return a >= b; | 43 | 150k | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 41 | 1 | static bool greater_equal(const T& a, const T& b) { | 42 | 1 | return a >= b; | 43 | 1 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 41 | 323 | static bool greater_equal(const T& a, const T& b) { | 42 | 323 | return a >= b; | 43 | 323 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.27M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.27M | return a >= b; | 43 | 2.27M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 211k | static bool greater_equal(const T& a, const T& b) { | 42 | 211k | return a >= b; | 43 | 211k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 222 | static bool greater_equal(const T& a, const T& b) { | 42 | 222 | return a >= b; | 43 | 222 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 340k | static bool greater_equal(const T& a, const T& b) { | 42 | 340k | return a >= b; | 43 | 340k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 330k | static bool greater_equal(const T& a, const T& b) { | 42 | 330k | return a >= b; | 43 | 330k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 15.4M | static bool greater_equal(const T& a, const T& b) { | 42 | 15.4M | return a >= b; | 43 | 15.4M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 504k | static bool greater_equal(const T& a, const T& b) { | 42 | 504k | return a >= b; | 43 | 504k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 636 | static bool greater_equal(const T& a, const T& b) { | 42 | 636 | return a >= b; | 43 | 636 | } |
_ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 190k | static bool greater_equal(const T& a, const T& b) { | 42 | 190k | return a >= b; | 43 | 190k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 295 | static bool greater_equal(const T& a, const T& b) { | 42 | 295 | return a >= b; | 43 | 295 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 205 | static bool greater_equal(const T& a, const T& b) { | 42 | 205 | return a >= b; | 43 | 205 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 195k | static bool greater_equal(const T& a, const T& b) { | 42 | 195k | return a >= b; | 43 | 195k | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 133 | static bool greater_equal(const T& a, const T& b) { | 42 | 133 | return a >= b; | 43 | 133 | } |
|
44 | | template <typename T> |
45 | 122M | static bool equal(const T& a, const T& b) { |
46 | 122M | return a == b; |
47 | 122M | } _ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 67.9M | static bool equal(const T& a, const T& b) { | 46 | 67.9M | return a == b; | 47 | 67.9M | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.88M | static bool equal(const T& a, const T& b) { | 46 | 1.88M | return a == b; | 47 | 1.88M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 438k | static bool equal(const T& a, const T& b) { | 46 | 438k | return a == b; | 47 | 438k | } |
_ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 42.2M | static bool equal(const T& a, const T& b) { | 46 | 42.2M | return a == b; | 47 | 42.2M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 3.51M | static bool equal(const T& a, const T& b) { | 46 | 3.51M | return a == b; | 47 | 3.51M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 811k | static bool equal(const T& a, const T& b) { | 46 | 811k | return a == b; | 47 | 811k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 261 | static bool equal(const T& a, const T& b) { | 46 | 261 | return a == b; | 47 | 261 | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 504 | static bool equal(const T& a, const T& b) { | 46 | 504 | return a == b; | 47 | 504 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 1.05k | static bool equal(const T& a, const T& b) { | 46 | 1.05k | return a == b; | 47 | 1.05k | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 680k | static bool equal(const T& a, const T& b) { | 46 | 680k | return a == b; | 47 | 680k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 411 | static bool equal(const T& a, const T& b) { | 46 | 411 | return a == b; | 47 | 411 | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 3.35M | static bool equal(const T& a, const T& b) { | 46 | 3.35M | return a == b; | 47 | 3.35M | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 45 | 402k | static bool equal(const T& a, const T& b) { | 46 | 402k | return a == b; | 47 | 402k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 519k | static bool equal(const T& a, const T& b) { | 46 | 519k | return a == b; | 47 | 519k | } |
_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 | 20.6k | static bool equal(const T& a, const T& b) { | 46 | 20.6k | return a == b; | 47 | 20.6k | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 2.76k | static bool equal(const T& a, const T& b) { | 46 | 2.76k | return a == b; | 47 | 2.76k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.04k | static bool equal(const T& a, const T& b) { | 46 | 1.04k | return a == b; | 47 | 1.04k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 871 | static bool equal(const T& a, const T& b) { | 46 | 871 | return a == b; | 47 | 871 | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 53.1k | static bool equal(const T& a, const T& b) { | 46 | 53.1k | return a == b; | 47 | 53.1k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 45 | 41 | static bool equal(const T& a, const T& b) { | 46 | 41 | return a == b; | 47 | 41 | } |
|
48 | | template <typename T> |
49 | 1.23M | static bool not_equal(const T& a, const T& b) { |
50 | 1.23M | return a != b; |
51 | 1.23M | } _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 1.37k | static bool not_equal(const T& a, const T& b) { | 50 | 1.37k | return a != b; | 51 | 1.37k | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 2.94k | static bool not_equal(const T& a, const T& b) { | 50 | 2.94k | return a != b; | 51 | 2.94k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 49 | 820 | static bool not_equal(const T& a, const T& b) { | 50 | 820 | return a != b; | 51 | 820 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 49 | 790k | static bool not_equal(const T& a, const T& b) { | 50 | 790k | return a != b; | 51 | 790k | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 434k | static bool not_equal(const T& a, const T& b) { | 50 | 434k | return a != b; | 51 | 434k | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 49 | 1.49k | static bool not_equal(const T& a, const T& b) { | 50 | 1.49k | return a != b; | 51 | 1.49k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 49 | 48 | static bool not_equal(const T& a, const T& b) { | 50 | 48 | return a != b; | 51 | 48 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 49 | 18 | static bool not_equal(const T& a, const T& b) { | 50 | 18 | return a != b; | 51 | 18 | } |
_ZN5doris7Compare9not_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 49 | 66 | static bool not_equal(const T& a, const T& b) { | 50 | 66 | return a != b; | 51 | 66 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 49 | 246 | static bool not_equal(const T& a, const T& b) { | 50 | 246 | return a != b; | 51 | 246 | } |
_ZN5doris7Compare9not_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 49 | 356 | static bool not_equal(const T& a, const T& b) { | 50 | 356 | return a != b; | 51 | 356 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_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_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.73k | static bool not_equal(const T& a, const T& b) { | 50 | 1.73k | return a != b; | 51 | 1.73k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIjEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIoEEbRKT_S4_ _ZN5doris7Compare9not_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 49 | 363 | static bool not_equal(const T& a, const T& b) { | 50 | 363 | return a != b; | 51 | 363 | } |
|
52 | | |
53 | | template <typename T> |
54 | 643M | static int compare(const T& a, const T& b) { |
55 | 643M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 643M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 6.10M | static int compare(const T& a, const T& b) { | 55 | 6.10M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 6.10M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 15.4k | static int compare(const T& a, const T& b) { | 55 | 15.4k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 15.4k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 126M | static int compare(const T& a, const T& b) { | 55 | 126M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 126M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 54 | 14.9M | static int compare(const T& a, const T& b) { | 55 | 14.9M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 14.9M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 354M | static int compare(const T& a, const T& b) { | 55 | 354M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 354M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 13.2M | static int compare(const T& a, const T& b) { | 55 | 13.2M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 13.2M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 51.9M | static int compare(const T& a, const T& b) { | 55 | 51.9M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 51.9M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 7.09k | static int compare(const T& a, const T& b) { | 55 | 7.09k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 7.09k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.96k | static int compare(const T& a, const T& b) { | 55 | 4.96k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.96k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 12.6M | static int compare(const T& a, const T& b) { | 55 | 12.6M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.6M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 14.1M | static int compare(const T& a, const T& b) { | 55 | 14.1M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 14.1M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 21.2M | static int compare(const T& a, const T& b) { | 55 | 21.2M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 21.2M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.81k | static int compare(const T& a, const T& b) { | 55 | 2.81k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.81k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 54 | 24.4k | static int compare(const T& a, const T& b) { | 55 | 24.4k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 24.4k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 54 | 428k | static int compare(const T& a, const T& b) { | 55 | 428k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 428k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 54 | 164k | static int compare(const T& a, const T& b) { | 55 | 164k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 164k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 28.0M | static int compare(const T& a, const T& b) { | 55 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 28.0M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 96.3k | static int compare(const T& a, const T& b) { | 55 | 96.3k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 96.3k | } |
|
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.2k | static T min(const T& a, const T& b) { | 60 | 30.2k | return less(a, b) ? a : b; | 61 | 30.2k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 59 | 47 | static T min(const T& a, const T& b) { | 60 | 47 | return less(a, b) ? a : b; | 61 | 47 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 59 | 51 | static T min(const T& a, const T& b) { | 60 | 51 | return less(a, b) ? a : b; | 61 | 51 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 59 | 12.8k | static T min(const T& a, const T& b) { | 60 | 12.8k | return less(a, b) ? a : b; | 61 | 12.8k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 7.70k | static T min(const T& a, const T& b) { | 60 | 7.70k | return less(a, b) ? a : b; | 61 | 7.70k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 8.24k | static T min(const T& a, const T& b) { | 60 | 8.24k | return less(a, b) ? a : b; | 61 | 8.24k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 59 | 3.50M | static T min(const T& a, const T& b) { | 60 | 3.50M | return less(a, b) ? a : b; | 61 | 3.50M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 59 | 106k | static T min(const T& a, const T& b) { | 60 | 106k | return less(a, b) ? a : b; | 61 | 106k | } |
_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.4k | static T min(const T& a, const T& b) { | 60 | 13.4k | return less(a, b) ? a : b; | 61 | 13.4k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 2.19M | static T min(const T& a, const T& b) { | 60 | 2.19M | return less(a, b) ? a : b; | 61 | 2.19M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 59 | 4.13M | static T min(const T& a, const T& b) { | 60 | 4.13M | return less(a, b) ? a : b; | 61 | 4.13M | } |
_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 | 756k | static T min(const T& a, const T& b) { | 60 | 756k | return less(a, b) ? a : b; | 61 | 756k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 59 | 376 | static T min(const T& a, const T& b) { | 60 | 376 | return less(a, b) ? a : b; | 61 | 376 | } |
|
62 | | |
63 | | template <typename T> |
64 | 78.7M | static T max(const T& a, const T& b) { |
65 | 78.7M | return greater(a, b) ? a : b; |
66 | 78.7M | } _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 | 5.34M | static T max(const T& a, const T& b) { | 65 | 5.34M | return greater(a, b) ? a : b; | 66 | 5.34M | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 64 | 51 | static T max(const T& a, const T& b) { | 65 | 51 | return greater(a, b) ? a : b; | 66 | 51 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 64 | 57 | static T max(const T& a, const T& b) { | 65 | 57 | return greater(a, b) ? a : b; | 66 | 57 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 64 | 19.9k | static T max(const T& a, const T& b) { | 65 | 19.9k | return greater(a, b) ? a : b; | 66 | 19.9k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 15.9k | static T max(const T& a, const T& b) { | 65 | 15.9k | return greater(a, b) ? a : b; | 66 | 15.9k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 16.5k | static T max(const T& a, const T& b) { | 65 | 16.5k | return greater(a, b) ? a : b; | 66 | 16.5k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 6.50M | static T max(const T& a, const T& b) { | 65 | 6.50M | return greater(a, b) ? a : b; | 66 | 6.50M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 1.63M | static T max(const T& a, const T& b) { | 65 | 1.63M | return greater(a, b) ? a : b; | 66 | 1.63M | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 2.14k | static T max(const T& a, const T& b) { | 65 | 2.14k | return greater(a, b) ? a : b; | 66 | 2.14k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 21.5k | static T max(const T& a, const T& b) { | 65 | 21.5k | return greater(a, b) ? a : b; | 66 | 21.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 2.93M | static T max(const T& a, const T& b) { | 65 | 2.93M | return greater(a, b) ? a : b; | 66 | 2.93M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 64 | 4.14M | static T max(const T& a, const T& b) { | 65 | 4.14M | return greater(a, b) ? a : b; | 66 | 4.14M | } |
_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.6k | static T max(const T& a, const T& b) { | 65 | 11.6k | return greater(a, b) ? a : b; | 66 | 11.6k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 64 | 380 | static T max(const T& a, const T& b) { | 65 | 380 | return greater(a, b) ? a : b; | 66 | 380 | } |
|
67 | | |
68 | | template <typename T> |
69 | 3.27M | static T min_value() { |
70 | 3.27M | return type_limit<T>::min(); |
71 | 3.27M | } _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.9k | static T min_value() { | 70 | 14.9k | return type_limit<T>::min(); | 71 | 14.9k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 17.4k | static T min_value() { | 70 | 17.4k | return type_limit<T>::min(); | 71 | 17.4k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 69 | 1.83k | static T min_value() { | 70 | 1.83k | return type_limit<T>::min(); | 71 | 1.83k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 69 | 300k | static T min_value() { | 70 | 300k | return type_limit<T>::min(); | 71 | 300k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 44 | static T min_value() { | 70 | 44 | return type_limit<T>::min(); | 71 | 44 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 48 | static T min_value() { | 70 | 48 | return type_limit<T>::min(); | 71 | 48 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 352 | static T min_value() { | 70 | 352 | return type_limit<T>::min(); | 71 | 352 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 1.82k | static T min_value() { | 70 | 1.82k | return type_limit<T>::min(); | 71 | 1.82k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 2.75k | static T min_value() { | 70 | 2.75k | return type_limit<T>::min(); | 71 | 2.75k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 1.35M | static T min_value() { | 70 | 1.35M | return type_limit<T>::min(); | 71 | 1.35M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 1.53M | static T min_value() { | 70 | 1.53M | return type_limit<T>::min(); | 71 | 1.53M | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 1.36k | static T min_value() { | 70 | 1.36k | return type_limit<T>::min(); | 71 | 1.36k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 15.3k | static T min_value() { | 70 | 15.3k | return type_limit<T>::min(); | 71 | 15.3k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 5.76k | static T min_value() { | 70 | 5.76k | return type_limit<T>::min(); | 71 | 5.76k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 20.0k | static T min_value() { | 70 | 20.0k | return type_limit<T>::min(); | 71 | 20.0k | } |
_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 | 1.03k | static T min_value() { | 70 | 1.03k | return type_limit<T>::min(); | 71 | 1.03k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 180 | static T min_value() { | 70 | 180 | return type_limit<T>::min(); | 71 | 180 | } |
|
72 | | |
73 | | template <typename T> |
74 | 274k | static T max_value() { |
75 | 274k | return type_limit<T>::max(); |
76 | 274k | } _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.96k | static T max_value() { | 75 | 3.96k | return type_limit<T>::max(); | 76 | 3.96k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 1.32k | static T max_value() { | 75 | 1.32k | return type_limit<T>::max(); | 76 | 1.32k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 74 | 1.83k | static T max_value() { | 75 | 1.83k | return type_limit<T>::max(); | 76 | 1.83k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 74 | 28 | static T max_value() { | 75 | 28 | return type_limit<T>::max(); | 76 | 28 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 74 | 28 | static T max_value() { | 75 | 28 | return type_limit<T>::max(); | 76 | 28 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 74 | 191 | static T max_value() { | 75 | 191 | return type_limit<T>::max(); | 76 | 191 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 715 | static T max_value() { | 75 | 715 | return type_limit<T>::max(); | 76 | 715 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 665 | static T max_value() { | 75 | 665 | return type_limit<T>::max(); | 76 | 665 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 74 | 213k | static T max_value() { | 75 | 213k | return type_limit<T>::max(); | 76 | 213k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 74 | 40.9k | static T max_value() { | 75 | 40.9k | return type_limit<T>::max(); | 76 | 40.9k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 500 | static T max_value() { | 75 | 500 | return type_limit<T>::max(); | 76 | 500 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 434 | static T max_value() { | 75 | 434 | return type_limit<T>::max(); | 76 | 434 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 5.23k | static T max_value() { | 75 | 5.23k | return type_limit<T>::max(); | 76 | 5.23k | } |
_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 | 714 | static T max_value() { | 75 | 714 | return type_limit<T>::max(); | 76 | 714 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 172 | static T max_value() { | 75 | 172 | return type_limit<T>::max(); | 76 | 172 | } |
|
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 | 205 | return true; |
83 | 205 | } |
84 | 1.30M | return left == right; |
85 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 1.20k | bool EqualsFloat(T left, T right) { | 81 | 1.20k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 25 | return true; | 83 | 25 | } | 84 | 1.17k | return left == right; | 85 | 1.20k | } |
_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 | 180 | return true; | 83 | 180 | } | 84 | 1.30M | return left == right; | 85 | 1.30M | } |
|
86 | | |
87 | | template <typename T> |
88 | 6.82M | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 6.82M | bool left_is_nan = std::isnan(left); |
91 | 6.82M | bool right_is_nan = std::isnan(right); |
92 | 6.82M | if (UNLIKELY(right_is_nan)) { |
93 | 489 | return false; |
94 | 489 | } |
95 | 6.82M | if (UNLIKELY(left_is_nan)) { |
96 | 30.3k | return true; |
97 | 30.3k | } |
98 | 6.78M | return left > right; |
99 | 6.82M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 53.1k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 53.1k | bool left_is_nan = std::isnan(left); | 91 | 53.1k | bool right_is_nan = std::isnan(right); | 92 | 53.1k | if (UNLIKELY(right_is_nan)) { | 93 | 104 | return false; | 94 | 104 | } | 95 | 53.0k | if (UNLIKELY(left_is_nan)) { | 96 | 12.6k | return true; | 97 | 12.6k | } | 98 | 40.4k | return left > right; | 99 | 53.0k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 6.76M | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 6.76M | bool left_is_nan = std::isnan(left); | 91 | 6.76M | bool right_is_nan = std::isnan(right); | 92 | 6.76M | if (UNLIKELY(right_is_nan)) { | 93 | 385 | return false; | 94 | 385 | } | 95 | 6.76M | if (UNLIKELY(left_is_nan)) { | 96 | 17.7k | return true; | 97 | 17.7k | } | 98 | 6.74M | return left > right; | 99 | 6.76M | } |
|
100 | | |
101 | | template <typename T> |
102 | 715k | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 715k | bool left_is_nan = std::isnan(left); |
105 | 715k | bool right_is_nan = std::isnan(right); |
106 | 715k | if (UNLIKELY(right_is_nan)) { |
107 | 363 | return left_is_nan; |
108 | 363 | } |
109 | 715k | if (UNLIKELY(left_is_nan)) { |
110 | 587 | return true; |
111 | 587 | } |
112 | 714k | return left >= right; |
113 | 715k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 1.10k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.10k | bool left_is_nan = std::isnan(left); | 105 | 1.10k | bool right_is_nan = std::isnan(right); | 106 | 1.10k | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 1.05k | if (UNLIKELY(left_is_nan)) { | 110 | 108 | return true; | 111 | 108 | } | 112 | 951 | return left >= right; | 113 | 1.05k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 714k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 714k | bool left_is_nan = std::isnan(left); | 105 | 714k | bool right_is_nan = std::isnan(right); | 106 | 714k | if (UNLIKELY(right_is_nan)) { | 107 | 315 | return left_is_nan; | 108 | 315 | } | 109 | 714k | if (UNLIKELY(left_is_nan)) { | 110 | 479 | return true; | 111 | 479 | } | 112 | 713k | return left >= right; | 113 | 714k | } |
|
114 | | |
115 | | template <typename T> |
116 | 18.4M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 18.4M | bool left_is_nan = std::isnan(left); |
119 | 18.4M | bool right_is_nan = std::isnan(right); |
120 | 18.4M | 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.27k | if (left_is_nan) { |
125 | 892 | return 1; |
126 | 2.38k | } else { |
127 | 2.38k | return -1; |
128 | 2.38k | } |
129 | 3.27k | } |
130 | 18.4M | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 18.4M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 9.74M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 9.74M | bool left_is_nan = std::isnan(left); | 119 | 9.74M | bool right_is_nan = std::isnan(right); | 120 | 9.74M | 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 | 9.73M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 9.74M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 8.67M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 8.67M | bool left_is_nan = std::isnan(left); | 119 | 8.67M | bool right_is_nan = std::isnan(right); | 120 | 8.67M | 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 | 481 | return 1; | 126 | 1.28k | } else { | 127 | 1.28k | return -1; | 128 | 1.28k | } | 129 | 1.76k | } | 130 | 8.67M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 8.67M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 14.8k | inline bool Compare::less(const float& a, const float& b) { |
136 | 14.8k | return GreaterThanFloat(b, a); |
137 | 14.8k | } |
138 | | template <> |
139 | 38.3k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 38.3k | return GreaterThanFloat(a, b); |
141 | 38.3k | } |
142 | | template <> |
143 | 547 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 547 | return GreaterThanEqualsFloat(b, a); |
145 | 547 | } |
146 | | template <> |
147 | 560 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 560 | return GreaterThanEqualsFloat(a, b); |
149 | 560 | } |
150 | | template <> |
151 | 1.01k | inline bool Compare::equal(const float& a, const float& b) { |
152 | 1.01k | return EqualsFloat(a, b); |
153 | 1.01k | } |
154 | | template <> |
155 | 189 | inline bool Compare::not_equal(const float& a, const float& b) { |
156 | 189 | return !EqualsFloat(a, b); |
157 | 189 | } |
158 | | template <> |
159 | 9.74M | inline int Compare::compare(const float& a, const float& b) { |
160 | 9.74M | return CompareFloat(a, b); |
161 | 9.74M | } |
162 | | template <> |
163 | 366 | inline float Compare::max_value<float>() { |
164 | 366 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 366 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 990k | inline bool Compare::less(const double& a, const double& b) { |
170 | 990k | return GreaterThanFloat(b, a); |
171 | 990k | } |
172 | | template <> |
173 | 5.77M | inline bool Compare::greater(const double& a, const double& b) { |
174 | 5.77M | return GreaterThanFloat(a, b); |
175 | 5.77M | } |
176 | | template <> |
177 | 277k | inline bool Compare::less_equal(const double& a, const double& b) { |
178 | 277k | return GreaterThanEqualsFloat(b, a); |
179 | 277k | } |
180 | | template <> |
181 | 437k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 437k | return GreaterThanEqualsFloat(a, b); |
183 | 437k | } |
184 | | template <> |
185 | 1.29M | inline bool Compare::equal(const double& a, const double& b) { |
186 | 1.29M | return EqualsFloat(a, b); |
187 | 1.29M | } |
188 | | template <> |
189 | 554 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 554 | return !EqualsFloat(a, b); |
191 | 554 | } |
192 | | template <> |
193 | 8.67M | inline int Compare::compare(const double& a, const double& b) { |
194 | 8.67M | return CompareFloat(a, b); |
195 | 8.67M | } |
196 | | template <> |
197 | 831 | inline double Compare::max_value<double>() { |
198 | 831 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 831 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 823k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 826 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 390 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 744k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 9.83k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 40 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 28 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 25 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 203 | 65.8k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 189 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 571 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 425 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 350 | 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 | 113 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 203 | 92 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 390 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 66 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 203 | 45 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
204 | | }; |
205 | | template <> |
206 | 386 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 386 | return Compare::less(lhs, rhs); |
208 | 386 | } |
209 | | template <> |
210 | 82 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 82 | return Compare::less(lhs, rhs); |
212 | 82 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 121M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 22.8M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 5.71k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 5.91k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 13.2M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 35.9M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 116 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 216 | 46 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 216 | 2.18k | 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.42k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 216 | 587 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 216 | 92.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 8.10M | 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 | 16 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 216 | 91 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 216 | 656 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 208 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 277 | 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 | 15.6k | 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.0M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 72.8k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 43.1k | 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 | 82.4k | 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.08k | 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 | 13.5k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 136k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 17.5k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
217 | | }; |
218 | | template <> |
219 | 68 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 68 | return Compare::equal(lhs, rhs); |
221 | 68 | } |
222 | | template <> |
223 | 530 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
224 | 530 | return Compare::equal(lhs, rhs); |
225 | 530 | } |
226 | | |
227 | | template <typename T> |
228 | | requires(std::is_floating_point_v<T>) |
229 | 553k | void NormalizeFloat(T& val) { |
230 | 553k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 49.9k | val = (T)0.0; |
233 | 503k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 553k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 21.5k | void NormalizeFloat(T& val) { | 230 | 21.5k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 1.45k | val = (T)0.0; | 233 | 20.0k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 21.5k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 532k | void NormalizeFloat(T& val) { | 230 | 532k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 48.4k | val = (T)0.0; | 233 | 483k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 532k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |