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 | 95.4M | static bool less(const T& a, const T& b) { |
28 | 95.4M | return a < b; |
29 | 95.4M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 27 | 22.0M | static bool less(const T& a, const T& b) { | 28 | 22.0M | return a < b; | 29 | 22.0M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 27 | 1.90M | static bool less(const T& a, const T& b) { | 28 | 1.90M | return a < b; | 29 | 1.90M | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 27 | 268k | static bool less(const T& a, const T& b) { | 28 | 268k | return a < b; | 29 | 268k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 27 | 975 | static bool less(const T& a, const T& b) { | 28 | 975 | return a < b; | 29 | 975 | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 27 | 16.7k | static bool less(const T& a, const T& b) { | 28 | 16.7k | return a < b; | 29 | 16.7k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 27 | 32.8k | static bool less(const T& a, const T& b) { | 28 | 32.8k | return a < b; | 29 | 32.8k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 27 | 30.5k | static bool less(const T& a, const T& b) { | 28 | 30.5k | return a < b; | 29 | 30.5k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 27 | 1.86k | static bool less(const T& a, const T& b) { | 28 | 1.86k | return a < b; | 29 | 1.86k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 27 | 2.01k | static bool less(const T& a, const T& b) { | 28 | 2.01k | return a < b; | 29 | 2.01k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 27 | 2.16k | static bool less(const T& a, const T& b) { | 28 | 2.16k | return a < b; | 29 | 2.16k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 16.6M | static bool less(const T& a, const T& b) { | 28 | 16.6M | return a < b; | 29 | 16.6M | } |
_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.93k | static bool less(const T& a, const T& b) { | 28 | 6.93k | return a < b; | 29 | 6.93k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 27 | 2.18M | static bool less(const T& a, const T& b) { | 28 | 2.18M | return a < b; | 29 | 2.18M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 27 | 6.53M | static bool less(const T& a, const T& b) { | 28 | 6.53M | return a < b; | 29 | 6.53M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 27 | 4.18k | static bool less(const T& a, const T& b) { | 28 | 4.18k | return a < b; | 29 | 4.18k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 27 | 756k | static bool less(const T& a, const T& b) { | 28 | 756k | return a < b; | 29 | 756k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 27 | 3.06k | static bool less(const T& a, const T& b) { | 28 | 3.06k | return a < b; | 29 | 3.06k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 27 | 4 | static bool less(const T& a, const T& b) { | 28 | 4 | return a < b; | 29 | 4 | } |
_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 | 48.0k | static bool greater(const T& a, const T& b) { | 32 | 48.0k | return a > b; | 33 | 48.0k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 31 | 304k | static bool greater(const T& a, const T& b) { | 32 | 304k | return a > b; | 33 | 304k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 31 | 76.5k | static bool greater(const T& a, const T& b) { | 32 | 76.5k | return a > b; | 33 | 76.5k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 31 | 19.2M | static bool greater(const T& a, const T& b) { | 32 | 19.2M | return a > b; | 33 | 19.2M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 31 | 41.2M | static bool greater(const T& a, const T& b) { | 32 | 41.2M | return a > b; | 33 | 41.2M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 31 | 910k | static bool greater(const T& a, const T& b) { | 32 | 910k | return a > b; | 33 | 910k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 31 | 2.30k | static bool greater(const T& a, const T& b) { | 32 | 2.30k | return a > b; | 33 | 2.30k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 31 | 2.32k | static bool greater(const T& a, const T& b) { | 32 | 2.32k | return a > b; | 33 | 2.32k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 31 | 6.22k | static bool greater(const T& a, const T& b) { | 32 | 6.22k | return a > b; | 33 | 6.22k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 19.3M | static bool greater(const T& a, const T& b) { | 32 | 19.3M | return a > b; | 33 | 19.3M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 89.5M | static bool greater(const T& a, const T& b) { | 32 | 89.5M | return a > b; | 33 | 89.5M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 31 | 14.2k | static bool greater(const T& a, const T& b) { | 32 | 14.2k | return a > b; | 33 | 14.2k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 31 | 2.95M | static bool greater(const T& a, const T& b) { | 32 | 2.95M | return a > b; | 33 | 2.95M | } |
_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.35k | static bool greater(const T& a, const T& b) { | 32 | 5.35k | return a > b; | 33 | 5.35k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 31 | 36.6k | static bool greater(const T& a, const T& b) { | 32 | 36.6k | return a > b; | 33 | 36.6k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 31 | 2.63k | static bool greater(const T& a, const T& b) { | 32 | 2.63k | return a > b; | 33 | 2.63k | } |
_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 | 672 | static bool greater(const T& a, const T& b) { | 32 | 672 | return a > b; | 33 | 672 | } |
_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 | 99.4M | static bool less_equal(const T& a, const T& b) { |
37 | 99.4M | return a <= b; |
38 | 99.4M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 36 | 77.1M | static bool less_equal(const T& a, const T& b) { | 37 | 77.1M | return a <= b; | 38 | 77.1M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 36 | 6.21M | static bool less_equal(const T& a, const T& b) { | 37 | 6.21M | return a <= b; | 38 | 6.21M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 36 | 478k | static bool less_equal(const T& a, const T& b) { | 37 | 478k | return a <= b; | 38 | 478k | } |
_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 | 445k | static bool less_equal(const T& a, const T& b) { | 37 | 445k | return a <= b; | 38 | 445k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 36 | 2.21M | static bool less_equal(const T& a, const T& b) { | 37 | 2.21M | return a <= b; | 38 | 2.21M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 36 | 344k | static bool less_equal(const T& a, const T& b) { | 37 | 344k | return a <= b; | 38 | 344k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 36 | 197 | static bool less_equal(const T& a, const T& b) { | 37 | 197 | return a <= b; | 38 | 197 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 36 | 112 | static bool less_equal(const T& a, const T& b) { | 37 | 112 | return a <= b; | 38 | 112 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 36 | 7 | static bool less_equal(const T& a, const T& b) { | 37 | 7 | return a <= b; | 38 | 7 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 36 | 110 | static bool less_equal(const T& a, const T& b) { | 37 | 110 | return a <= b; | 38 | 110 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 36 | 4.79M | static bool less_equal(const T& a, const T& b) { | 37 | 4.79M | return a <= b; | 38 | 4.79M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 36 | 712k | static bool less_equal(const T& a, const T& b) { | 37 | 712k | return a <= b; | 38 | 712k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 36 | 193 | static bool less_equal(const T& a, const T& b) { | 37 | 193 | return a <= b; | 38 | 193 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 36 | 362k | static bool less_equal(const T& a, const T& b) { | 37 | 362k | return a <= b; | 38 | 362k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 36 | 483k | static bool less_equal(const T& a, const T& b) { | 37 | 483k | return a <= b; | 38 | 483k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 5.70M | static bool less_equal(const T& a, const T& b) { | 37 | 5.70M | return a <= b; | 38 | 5.70M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 163k | static bool less_equal(const T& a, const T& b) { | 37 | 163k | return a <= b; | 38 | 163k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 36 | 23.1k | static bool less_equal(const T& a, const T& b) { | 37 | 23.1k | return a <= b; | 38 | 23.1k | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 36 | 348k | static bool less_equal(const T& a, const T& b) { | 37 | 348k | return a <= b; | 38 | 348k | } |
|
39 | | template <typename T> |
40 | 91.7M | static bool greater_equal(const T& a, const T& b) { |
41 | 91.7M | return a >= b; |
42 | 91.7M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 40 | 432k | static bool greater_equal(const T& a, const T& b) { | 41 | 432k | return a >= b; | 42 | 432k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 40 | 2.32M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.32M | return a >= b; | 42 | 2.32M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 40 | 430k | static bool greater_equal(const T& a, const T& b) { | 41 | 430k | return a >= b; | 42 | 430k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 40 | 66.1M | static bool greater_equal(const T& a, const T& b) { | 41 | 66.1M | return a >= b; | 42 | 66.1M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 40 | 572k | static bool greater_equal(const T& a, const T& b) { | 41 | 572k | return a >= b; | 42 | 572k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 40 | 365k | static bool greater_equal(const T& a, const T& b) { | 41 | 365k | return a >= b; | 42 | 365k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 40 | 293 | static bool greater_equal(const T& a, const T& b) { | 41 | 293 | return a >= b; | 42 | 293 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 40 | 208 | static bool greater_equal(const T& a, const T& b) { | 41 | 208 | return a >= b; | 42 | 208 | } |
_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 | 7 | static bool greater_equal(const T& a, const T& b) { | 41 | 7 | return a >= b; | 42 | 7 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 40 | 130 | static bool greater_equal(const T& a, const T& b) { | 41 | 130 | return a >= b; | 42 | 130 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 40 | 2.39M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.39M | return a >= b; | 42 | 2.39M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 40 | 673k | static bool greater_equal(const T& a, const T& b) { | 41 | 673k | return a >= b; | 42 | 673k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 40 | 173 | static bool greater_equal(const T& a, const T& b) { | 41 | 173 | return a >= b; | 42 | 173 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 40 | 361k | static bool greater_equal(const T& a, const T& b) { | 41 | 361k | return a >= b; | 42 | 361k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 40 | 588k | static bool greater_equal(const T& a, const T& b) { | 41 | 588k | return a >= b; | 42 | 588k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 16.9M | static bool greater_equal(const T& a, const T& b) { | 41 | 16.9M | return a >= b; | 42 | 16.9M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 130k | static bool greater_equal(const T& a, const T& b) { | 41 | 130k | return a >= b; | 42 | 130k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 40 | 15.7k | static bool greater_equal(const T& a, const T& b) { | 41 | 15.7k | return a >= b; | 42 | 15.7k | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 40 | 389k | static bool greater_equal(const T& a, const T& b) { | 41 | 389k | return a >= b; | 42 | 389k | } |
|
43 | | template <typename T> |
44 | 121M | static bool equal(const T& a, const T& b) { |
45 | 121M | return a == b; |
46 | 121M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 44 | 45.2M | static bool equal(const T& a, const T& b) { | 45 | 45.2M | return a == b; | 46 | 45.2M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 44 | 4.00M | static bool equal(const T& a, const T& b) { | 45 | 4.00M | return a == b; | 46 | 4.00M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 44 | 811k | static bool equal(const T& a, const T& b) { | 45 | 811k | return a == b; | 46 | 811k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 44 | 41 | static bool equal(const T& a, const T& b) { | 45 | 41 | return a == b; | 46 | 41 | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 44 | 401k | static bool equal(const T& a, const T& b) { | 45 | 401k | return a == b; | 46 | 401k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 519k | static bool equal(const T& a, const T& b) { | 45 | 519k | return a == b; | 46 | 519k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 200k | static bool equal(const T& a, const T& b) { | 45 | 200k | return a == b; | 46 | 200k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 44 | 5.54k | static bool equal(const T& a, const T& b) { | 45 | 5.54k | return a == b; | 46 | 5.54k | } |
_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 | 871 | static bool equal(const T& a, const T& b) { | 45 | 871 | return a == b; | 46 | 871 | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 44 | 3.78k | static bool equal(const T& a, const T& b) { | 45 | 3.78k | return a == b; | 46 | 3.78k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 44 | 65.5M | static bool equal(const T& a, const T& b) { | 45 | 65.5M | return a == b; | 46 | 65.5M | } |
_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 | 440 | static bool equal(const T& a, const T& b) { | 45 | 440 | return a == b; | 46 | 440 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 44 | 766 | static bool equal(const T& a, const T& b) { | 45 | 766 | return a == b; | 46 | 766 | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 44 | 17 | static bool equal(const T& a, const T& b) { | 45 | 17 | return a == b; | 46 | 17 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 44 | 703k | static bool equal(const T& a, const T& b) { | 45 | 703k | return a == b; | 46 | 703k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 44 | 373 | static bool equal(const T& a, const T& b) { | 45 | 373 | return a == b; | 46 | 373 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 44 | 1.88M | static bool equal(const T& a, const T& b) { | 45 | 1.88M | return a == b; | 46 | 1.88M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 44 | 1.39M | static bool equal(const T& a, const T& b) { | 45 | 1.39M | return a == b; | 46 | 1.39M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 44 | 68.3k | static bool equal(const T& a, const T& b) { | 45 | 68.3k | return a == b; | 46 | 68.3k | } |
|
47 | | template <typename T> |
48 | 1.56M | static bool not_equal(const T& a, const T& b) { |
49 | 1.56M | return a != b; |
50 | 1.56M | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 48 | 1.85k | static bool not_equal(const T& a, const T& b) { | 49 | 1.85k | return a != b; | 50 | 1.85k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 48 | 816 | static bool not_equal(const T& a, const T& b) { | 49 | 816 | return a != b; | 50 | 816 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 48 | 1.06M | static bool not_equal(const T& a, const T& b) { | 49 | 1.06M | return a != b; | 50 | 1.06M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 48 | 485k | static bool not_equal(const T& a, const T& b) { | 49 | 485k | return a != b; | 50 | 485k | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 48 | 1.86k | static bool not_equal(const T& a, const T& b) { | 49 | 1.86k | return a != b; | 50 | 1.86k | } |
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 | 3.02k | static bool not_equal(const T& a, const T& b) { | 49 | 3.02k | return a != b; | 50 | 3.02k | } |
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 | 68 | static bool not_equal(const T& a, const T& b) { | 49 | 68 | return a != b; | 50 | 68 | } |
_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 | 297 | static bool not_equal(const T& a, const T& b) { | 49 | 297 | return a != b; | 50 | 297 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 48 | 66 | static bool not_equal(const T& a, const T& b) { | 49 | 66 | return a != b; | 50 | 66 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 48 | 226 | static bool not_equal(const T& a, const T& b) { | 49 | 226 | return a != b; | 50 | 226 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 48 | 59 | static bool not_equal(const T& a, const T& b) { | 49 | 59 | return a != b; | 50 | 59 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 48 | 1.82k | static bool not_equal(const T& a, const T& b) { | 49 | 1.82k | return a != b; | 50 | 1.82k | } |
|
51 | | |
52 | | template <typename T> |
53 | 518M | static int compare(const T& a, const T& b) { |
54 | 518M | return a > b ? 1 : (a < b ? -1 : 0); |
55 | 518M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 53 | 4.57M | static int compare(const T& a, const T& b) { | 54 | 4.57M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.57M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 53 | 341k | static int compare(const T& a, const T& b) { | 54 | 341k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 341k | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 53 | 11.0M | static int compare(const T& a, const T& b) { | 54 | 11.0M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 11.0M | } |
_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.93M | static int compare(const T& a, const T& b) { | 54 | 7.93M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.93M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 53 | 309M | static int compare(const T& a, const T& b) { | 54 | 309M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 309M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 7.37M | static int compare(const T& a, const T& b) { | 54 | 7.37M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.37M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 46.8M | static int compare(const T& a, const T& b) { | 54 | 46.8M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 46.8M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 53 | 6.82k | static int compare(const T& a, const T& b) { | 54 | 6.82k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 6.82k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 53 | 4.80k | static int compare(const T& a, const T& b) { | 54 | 4.80k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.80k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 53 | 7.38M | static int compare(const T& a, const T& b) { | 54 | 7.38M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.38M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 53 | 8.86M | static int compare(const T& a, const T& b) { | 54 | 8.86M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 8.86M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 53 | 2.96k | static int compare(const T& a, const T& b) { | 54 | 2.96k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 2.96k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 53 | 23.2k | static int compare(const T& a, const T& b) { | 54 | 23.2k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 23.2k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 53 | 354k | static int compare(const T& a, const T& b) { | 54 | 354k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 354k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 53 | 167k | static int compare(const T& a, const T& b) { | 54 | 167k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 167k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 53 | 13.9M | static int compare(const T& a, const T& b) { | 54 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 13.9M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 53 | 95.9k | static int compare(const T& a, const T& b) { | 54 | 95.9k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 95.9k | } |
|
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.63k | static T min(const T& a, const T& b) { | 59 | 7.63k | return less(a, b) ? a : b; | 60 | 7.63k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 58 | 8.17k | static T min(const T& a, const T& b) { | 59 | 8.17k | return less(a, b) ? a : b; | 60 | 8.17k | } |
_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 | 103k | static T min(const T& a, const T& b) { | 59 | 103k | return less(a, b) ? a : b; | 60 | 103k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 58 | 949 | static T min(const T& a, const T& b) { | 59 | 949 | return less(a, b) ? a : b; | 60 | 949 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 58 | 13.3k | static T min(const T& a, const T& b) { | 59 | 13.3k | return less(a, b) ? a : b; | 60 | 13.3k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 58 | 2.18M | static T min(const T& a, const T& b) { | 59 | 2.18M | return less(a, b) ? a : b; | 60 | 2.18M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 58 | 4.16M | static T min(const T& a, const T& b) { | 59 | 4.16M | return less(a, b) ? a : b; | 60 | 4.16M | } |
_ZN5doris7Compare3minINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 58 | 4.09k | static T min(const T& a, const T& b) { | 59 | 4.09k | return less(a, b) ? a : b; | 60 | 4.09k | } |
_ZN5doris7Compare3minINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 58 | 755k | static T min(const T& a, const T& b) { | 59 | 755k | return less(a, b) ? a : b; | 60 | 755k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 58 | 350 | static T min(const T& a, const T& b) { | 59 | 350 | return less(a, b) ? a : b; | 60 | 350 | } |
|
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.7M | static T max(const T& a, const T& b) { | 64 | 15.7M | return greater(a, b) ? a : b; | 65 | 15.7M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 87.4M | static T max(const T& a, const T& b) { | 64 | 87.4M | return greater(a, b) ? a : b; | 65 | 87.4M | } |
_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.18M | static T max(const T& a, const T& b) { | 64 | 6.18M | return greater(a, b) ? a : b; | 65 | 6.18M | } |
_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.31M | static T max(const T& a, const T& b) { | 64 | 7.31M | return greater(a, b) ? a : b; | 65 | 7.31M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 63 | 165k | static T max(const T& a, const T& b) { | 64 | 165k | return greater(a, b) ? a : b; | 65 | 165k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 63 | 2.48k | static T max(const T& a, const T& b) { | 64 | 2.48k | return greater(a, b) ? a : b; | 65 | 2.48k | } |
_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.94M | static T max(const T& a, const T& b) { | 64 | 2.94M | return greater(a, b) ? a : b; | 65 | 2.94M | } |
_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 | 20.0k | static T max(const T& a, const T& b) { | 64 | 20.0k | return greater(a, b) ? a : b; | 65 | 20.0k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 63 | 354 | static T max(const T& a, const T& b) { | 64 | 354 | return greater(a, b) ? a : b; | 65 | 354 | } |
|
66 | | |
67 | | template <typename T> |
68 | 3.43M | static T min_value() { |
69 | 3.43M | return type_limit<T>::min(); |
70 | 3.43M | } _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 | 40.9k | static T min_value() { | 69 | 40.9k | return type_limit<T>::min(); | 70 | 40.9k | } |
_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.78k | static T min_value() { | 69 | 1.78k | return type_limit<T>::min(); | 70 | 1.78k | } |
_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 | 45 | static T min_value() { | 69 | 45 | return type_limit<T>::min(); | 70 | 45 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 68 | 43 | static T min_value() { | 69 | 43 | return type_limit<T>::min(); | 70 | 43 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 68 | 423 | static T min_value() { | 69 | 423 | return type_limit<T>::min(); | 70 | 423 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 68 | 1.98k | static T min_value() { | 69 | 1.98k | return type_limit<T>::min(); | 70 | 1.98k | } |
_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.65M | static T min_value() { | 69 | 1.65M | return type_limit<T>::min(); | 70 | 1.65M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 68 | 109k | static T min_value() { | 69 | 109k | return type_limit<T>::min(); | 70 | 109k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 68 | 1.78k | static T min_value() { | 69 | 1.78k | return type_limit<T>::min(); | 70 | 1.78k | } |
_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 | 5.82k | static T min_value() { | 69 | 5.82k | return type_limit<T>::min(); | 70 | 5.82k | } |
_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 | 169 | static T min_value() { | 69 | 169 | return type_limit<T>::min(); | 70 | 169 | } |
|
71 | | |
72 | | template <typename T> |
73 | 272k | static T max_value() { |
74 | 272k | return type_limit<T>::max(); |
75 | 272k | } _ZN5doris7Compare9max_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 73 | 1 | static T max_value() { | 74 | 1 | return type_limit<T>::max(); | 75 | 1 | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 73 | 3.78k | static T max_value() { | 74 | 3.78k | return type_limit<T>::max(); | 75 | 3.78k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 73 | 1.06k | static T max_value() { | 74 | 1.06k | return type_limit<T>::max(); | 75 | 1.06k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 73 | 1.78k | static T max_value() { | 74 | 1.78k | return type_limit<T>::max(); | 75 | 1.78k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 73 | 23 | static T max_value() { | 74 | 23 | return type_limit<T>::max(); | 75 | 23 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 73 | 23 | static T max_value() { | 74 | 23 | return type_limit<T>::max(); | 75 | 23 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 73 | 182 | static T max_value() { | 74 | 182 | return type_limit<T>::max(); | 75 | 182 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 73 | 708 | static T max_value() { | 74 | 708 | return type_limit<T>::max(); | 75 | 708 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 73 | 632 | static T max_value() { | 74 | 632 | return type_limit<T>::max(); | 75 | 632 | } |
_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 | 41.2k | static T max_value() { | 74 | 41.2k | return type_limit<T>::max(); | 75 | 41.2k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 73 | 510 | static T max_value() { | 74 | 510 | return type_limit<T>::max(); | 75 | 510 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 73 | 426 | static T max_value() { | 74 | 426 | return type_limit<T>::max(); | 75 | 426 | } |
_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 | 699 | static T max_value() { | 74 | 699 | return type_limit<T>::max(); | 75 | 699 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 73 | 152 | static T max_value() { | 74 | 152 | return type_limit<T>::max(); | 75 | 152 | } |
|
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 | 196 | return true; |
82 | 196 | } |
83 | 1.30M | return left == right; |
84 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 79 | 1.26k | bool EqualsFloat(T left, T right) { | 80 | 1.26k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 21 | return true; | 82 | 21 | } | 83 | 1.24k | return left == right; | 84 | 1.26k | } |
_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 | 175 | return true; | 82 | 175 | } | 83 | 1.30M | return left == right; | 84 | 1.30M | } |
|
85 | | |
86 | | template <typename T> |
87 | 7.41M | bool GreaterThanFloat(T left, T right) { |
88 | | // nan is always bigger than everything else |
89 | 7.41M | bool left_is_nan = std::isnan(left); |
90 | 7.41M | bool right_is_nan = std::isnan(right); |
91 | 7.41M | if (UNLIKELY(right_is_nan)) { |
92 | 443 | return false; |
93 | 443 | } |
94 | 7.41M | if (UNLIKELY(left_is_nan)) { |
95 | 29.9k | return true; |
96 | 29.9k | } |
97 | 7.38M | return left > right; |
98 | 7.41M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 87 | 64.9k | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 64.9k | bool left_is_nan = std::isnan(left); | 90 | 64.9k | bool right_is_nan = std::isnan(right); | 91 | 64.9k | if (UNLIKELY(right_is_nan)) { | 92 | 93 | return false; | 93 | 93 | } | 94 | 64.9k | if (UNLIKELY(left_is_nan)) { | 95 | 12.0k | return true; | 96 | 12.0k | } | 97 | 52.8k | return left > right; | 98 | 64.9k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 87 | 7.35M | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 7.35M | bool left_is_nan = std::isnan(left); | 90 | 7.35M | bool right_is_nan = std::isnan(right); | 91 | 7.35M | if (UNLIKELY(right_is_nan)) { | 92 | 350 | return false; | 93 | 350 | } | 94 | 7.35M | if (UNLIKELY(left_is_nan)) { | 95 | 17.9k | return true; | 96 | 17.9k | } | 97 | 7.33M | return left > right; | 98 | 7.35M | } |
|
99 | | |
100 | | template <typename T> |
101 | 1.20M | bool GreaterThanEqualsFloat(T left, T right) { |
102 | | // nan is always bigger than everything else |
103 | 1.20M | bool left_is_nan = std::isnan(left); |
104 | 1.20M | bool right_is_nan = std::isnan(right); |
105 | 1.20M | if (UNLIKELY(right_is_nan)) { |
106 | 353 | return left_is_nan; |
107 | 353 | } |
108 | 1.20M | if (UNLIKELY(left_is_nan)) { |
109 | 562 | return true; |
110 | 562 | } |
111 | 1.20M | return left >= right; |
112 | 1.20M | } _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 | 977 | return left >= right; | 112 | 1.07k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 101 | 1.20M | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.20M | bool left_is_nan = std::isnan(left); | 104 | 1.20M | bool right_is_nan = std::isnan(right); | 105 | 1.20M | if (UNLIKELY(right_is_nan)) { | 106 | 305 | return left_is_nan; | 107 | 305 | } | 108 | 1.20M | if (UNLIKELY(left_is_nan)) { | 109 | 461 | return true; | 110 | 461 | } | 111 | 1.20M | return left >= right; | 112 | 1.20M | } |
|
113 | | |
114 | | template <typename T> |
115 | 12.5M | int CompareFloat(T left, T right) { |
116 | | // nan is always bigger than everything else |
117 | 12.5M | bool left_is_nan = std::isnan(left); |
118 | 12.5M | bool right_is_nan = std::isnan(right); |
119 | 12.5M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
120 | 5.30k | if (left_is_nan && right_is_nan) { |
121 | 1.92k | return 0; |
122 | 1.92k | } |
123 | 3.37k | if (left_is_nan) { |
124 | 950 | return 1; |
125 | 2.42k | } else { |
126 | 2.42k | return -1; |
127 | 2.42k | } |
128 | 3.37k | } |
129 | 12.5M | return left > right ? 1 : (left < right ? -1 : 0); |
130 | 12.5M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 115 | 4.38M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 4.38M | bool left_is_nan = std::isnan(left); | 118 | 4.38M | bool right_is_nan = std::isnan(right); | 119 | 4.38M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.37k | if (left_is_nan && right_is_nan) { | 121 | 849 | return 0; | 122 | 849 | } | 123 | 1.52k | if (left_is_nan) { | 124 | 419 | return 1; | 125 | 1.10k | } else { | 126 | 1.10k | return -1; | 127 | 1.10k | } | 128 | 1.52k | } | 129 | 4.38M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 4.38M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 115 | 8.14M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 8.14M | bool left_is_nan = std::isnan(left); | 118 | 8.14M | bool right_is_nan = std::isnan(right); | 119 | 8.14M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.93k | if (left_is_nan && right_is_nan) { | 121 | 1.07k | return 0; | 122 | 1.07k | } | 123 | 1.85k | if (left_is_nan) { | 124 | 531 | return 1; | 125 | 1.32k | } else { | 126 | 1.32k | return -1; | 127 | 1.32k | } | 128 | 1.85k | } | 129 | 8.14M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 8.14M | }; |
|
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 | 50.4k | inline bool Compare::greater(const float& a, const float& b) { |
139 | 50.4k | return GreaterThanFloat(a, b); |
140 | 50.4k | } |
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 | 560 | inline bool Compare::greater_equal(const float& a, const float& b) { |
147 | 560 | return GreaterThanEqualsFloat(a, b); |
148 | 560 | } |
149 | | template <> |
150 | 1.08k | inline bool Compare::equal(const float& a, const float& b) { |
151 | 1.08k | return EqualsFloat(a, b); |
152 | 1.08k | } |
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 | 4.38M | inline int Compare::compare(const float& a, const float& b) { |
159 | 4.38M | return CompareFloat(a, b); |
160 | 4.38M | } |
161 | | template <> |
162 | 341 | inline float Compare::max_value<float>() { |
163 | 341 | return std::numeric_limits<float>::quiet_NaN(); |
164 | 341 | } |
165 | | |
166 | | // double |
167 | | template <> |
168 | 724k | inline bool Compare::less(const double& a, const double& b) { |
169 | 724k | return GreaterThanFloat(b, a); |
170 | 724k | } |
171 | | template <> |
172 | 6.62M | inline bool Compare::greater(const double& a, const double& b) { |
173 | 6.62M | return GreaterThanFloat(a, b); |
174 | 6.62M | } |
175 | | template <> |
176 | 602k | inline bool Compare::less_equal(const double& a, const double& b) { |
177 | 602k | return GreaterThanEqualsFloat(b, a); |
178 | 602k | } |
179 | | template <> |
180 | 602k | inline bool Compare::greater_equal(const double& a, const double& b) { |
181 | 602k | return GreaterThanEqualsFloat(a, b); |
182 | 602k | } |
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 | 8.14M | inline int Compare::compare(const double& a, const double& b) { |
193 | 8.14M | return CompareFloat(a, b); |
194 | 8.14M | } |
195 | | template <> |
196 | 689 | inline double Compare::max_value<double>() { |
197 | 689 | return std::numeric_limits<double>::quiet_NaN(); |
198 | 689 | } |
199 | | |
200 | | template <class T> |
201 | | struct Less { |
202 | 900k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 202 | 365 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 202 | 509 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 202 | 884k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 202 | 5.16k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 202 | 108 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 202 | 28 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 202 | 25 | 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.75k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 202 | 407 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 717 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 326 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 202 | 854 | 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 | 59 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 202 | 54 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 202 | 387 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 202 | 54 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 202 | 104 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
203 | | }; |
204 | | template <> |
205 | 180 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
206 | 180 | return Compare::less(lhs, rhs); |
207 | 180 | } |
208 | | template <> |
209 | 58 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
210 | 58 | return Compare::less(lhs, rhs); |
211 | 58 | } |
212 | | |
213 | | template <class T> |
214 | | struct EqualTo { |
215 | 159M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 215 | 71.6M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 215 | 4.45k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 215 | 4.29k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 215 | 23.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 215 | 35.9M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 215 | 389 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 215 | 106 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 215 | 2.57k | 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.56k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 215 | 768 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 215 | 110k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 215 | 10.3M | 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 | 748 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 215 | 104 | 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 | 10.8k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 215 | 84.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 215 | 40.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 | 17.6M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_5FieldEEclERKS1_S4_ Line | Count | Source | 215 | 621 | 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 | 63.3k | 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.78k | 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.8k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 215 | 24.1k | 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 | 591k | void NormalizeFloat(T& val) { |
229 | 591k | if (val == (T)0.0) { |
230 | | // Turn negative zero into positive zero |
231 | 50.1k | val = (T)0.0; |
232 | 541k | } else if (std::isnan(val)) { |
233 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
234 | 156 | } |
235 | 591k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 45.9k | void NormalizeFloat(T& val) { | 229 | 45.9k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 1.42k | val = (T)0.0; | 232 | 44.5k | } else if (std::isnan(val)) { | 233 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 41 | } | 235 | 45.9k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 545k | void NormalizeFloat(T& val) { | 229 | 545k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 48.7k | val = (T)0.0; | 232 | 496k | } else if (std::isnan(val)) { | 233 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 115 | } | 235 | 545k | } |
|
236 | | |
237 | | } // namespace doris |