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 | 89.3M | static bool less(const T& a, const T& b) { |
28 | 89.3M | return a < b; |
29 | 89.3M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 27 | 17.2M | static bool less(const T& a, const T& b) { | 28 | 17.2M | return a < b; | 29 | 17.2M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 27 | 658k | static bool less(const T& a, const T& b) { | 28 | 658k | return a < b; | 29 | 658k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 27 | 280k | static bool less(const T& a, const T& b) { | 28 | 280k | return a < b; | 29 | 280k | } |
_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.6k | static bool less(const T& a, const T& b) { | 28 | 16.6k | return a < b; | 29 | 16.6k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 27 | 32.3k | static bool less(const T& a, const T& b) { | 28 | 32.3k | return a < b; | 29 | 32.3k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 27 | 29.8k | static bool less(const T& a, const T& b) { | 28 | 29.8k | return a < b; | 29 | 29.8k | } |
_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 | 1.90k | static bool less(const T& a, const T& b) { | 28 | 1.90k | return a < b; | 29 | 1.90k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 27 | 2.11k | static bool less(const T& a, const T& b) { | 28 | 2.11k | return a < b; | 29 | 2.11k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 16.5M | static bool less(const T& a, const T& b) { | 28 | 16.5M | return a < b; | 29 | 16.5M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 44.9M | static bool less(const T& a, const T& b) { | 28 | 44.9M | return a < b; | 29 | 44.9M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 27 | 8.93k | static bool less(const T& a, const T& b) { | 28 | 8.93k | return a < b; | 29 | 8.93k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 27 | 2.19M | static bool less(const T& a, const T& b) { | 28 | 2.19M | return a < b; | 29 | 2.19M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 27 | 6.58M | static bool less(const T& a, const T& b) { | 28 | 6.58M | return a < b; | 29 | 6.58M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 27 | 4.25k | static bool less(const T& a, const T& b) { | 28 | 4.25k | return a < b; | 29 | 4.25k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 27 | 765k | static bool less(const T& a, const T& b) { | 28 | 765k | return a < b; | 29 | 765k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 27 | 3.29k | static bool less(const T& a, const T& b) { | 28 | 3.29k | return a < b; | 29 | 3.29k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 27 | 15 | static bool less(const T& a, const T& b) { | 28 | 15 | return a < b; | 29 | 15 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 27 | 112k | static bool less(const T& a, const T& b) { | 28 | 112k | return a < b; | 29 | 112k | } |
|
30 | | template <typename T> |
31 | 132M | static bool greater(const T& a, const T& b) { |
32 | 132M | return a > b; |
33 | 132M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 31 | 34.5k | static bool greater(const T& a, const T& b) { | 32 | 34.5k | return a > b; | 33 | 34.5k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 31 | 292k | static bool greater(const T& a, const T& b) { | 32 | 292k | return a > b; | 33 | 292k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 31 | 72.3k | static bool greater(const T& a, const T& b) { | 32 | 72.3k | return a > b; | 33 | 72.3k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 31 | 21.6M | static bool greater(const T& a, const T& b) { | 32 | 21.6M | return a > b; | 33 | 21.6M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 31 | 38.1M | static bool greater(const T& a, const T& b) { | 32 | 38.1M | return a > b; | 33 | 38.1M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 31 | 911k | static bool greater(const T& a, const T& b) { | 32 | 911k | return a > b; | 33 | 911k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 31 | 2.17k | static bool greater(const T& a, const T& b) { | 32 | 2.17k | return a > b; | 33 | 2.17k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 31 | 2.21k | static bool greater(const T& a, const T& b) { | 32 | 2.21k | return a > b; | 33 | 2.21k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 31 | 6.30k | static bool greater(const T& a, const T& b) { | 32 | 6.30k | return a > b; | 33 | 6.30k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 16.8M | static bool greater(const T& a, const T& b) { | 32 | 16.8M | return a > b; | 33 | 16.8M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 46.3M | static bool greater(const T& a, const T& b) { | 32 | 46.3M | return a > b; | 33 | 46.3M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 31 | 21.8k | static bool greater(const T& a, const T& b) { | 32 | 21.8k | return a > b; | 33 | 21.8k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 31 | 2.96M | static bool greater(const T& a, const T& b) { | 32 | 2.96M | return a > b; | 33 | 2.96M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 31 | 4.27M | static bool greater(const T& a, const T& b) { | 32 | 4.27M | return a > b; | 33 | 4.27M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 31 | 4.93k | static bool greater(const T& a, const T& b) { | 32 | 4.93k | return a > b; | 33 | 4.93k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 31 | 26.7k | static bool greater(const T& a, const T& b) { | 32 | 26.7k | return a > b; | 33 | 26.7k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 31 | 3.44k | static bool greater(const T& a, const T& b) { | 32 | 3.44k | return a > b; | 33 | 3.44k | } |
_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 | 666 | static bool greater(const T& a, const T& b) { | 32 | 666 | return a > b; | 33 | 666 | } |
_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 | 90.7M | static bool less_equal(const T& a, const T& b) { |
37 | 90.7M | return a <= b; |
38 | 90.7M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 36 | 67.5M | static bool less_equal(const T& a, const T& b) { | 37 | 67.5M | return a <= b; | 38 | 67.5M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 36 | 6.94M | static bool less_equal(const T& a, const T& b) { | 37 | 6.94M | return a <= b; | 38 | 6.94M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 36 | 506k | static bool less_equal(const T& a, const T& b) { | 37 | 506k | return a <= b; | 38 | 506k | } |
_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 | 501k | static bool less_equal(const T& a, const T& b) { | 37 | 501k | return a <= b; | 38 | 501k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 36 | 2.14M | static bool less_equal(const T& a, const T& b) { | 37 | 2.14M | return a <= b; | 38 | 2.14M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 36 | 444k | static bool less_equal(const T& a, const T& b) { | 37 | 444k | return a <= b; | 38 | 444k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 36 | 224 | static bool less_equal(const T& a, const T& b) { | 37 | 224 | return a <= b; | 38 | 224 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 36 | 131 | static bool less_equal(const T& a, const T& b) { | 37 | 131 | return a <= b; | 38 | 131 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 36 | 30 | static bool less_equal(const T& a, const T& b) { | 37 | 30 | return a <= b; | 38 | 30 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 36 | 122 | static bool less_equal(const T& a, const T& b) { | 37 | 122 | return a <= b; | 38 | 122 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 36 | 4.78M | static bool less_equal(const T& a, const T& b) { | 37 | 4.78M | return a <= b; | 38 | 4.78M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 36 | 676k | static bool less_equal(const T& a, const T& b) { | 37 | 676k | return a <= b; | 38 | 676k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 36 | 245 | static bool less_equal(const T& a, const T& b) { | 37 | 245 | return a <= b; | 38 | 245 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 36 | 361k | static bool less_equal(const T& a, const T& b) { | 37 | 361k | return a <= b; | 38 | 361k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 36 | 607k | static bool less_equal(const T& a, const T& b) { | 37 | 607k | return a <= b; | 38 | 607k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 5.71M | static bool less_equal(const T& a, const T& b) { | 37 | 5.71M | return a <= b; | 38 | 5.71M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 156k | static bool less_equal(const T& a, const T& b) { | 37 | 156k | return a <= b; | 38 | 156k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 36 | 39.0k | static bool less_equal(const T& a, const T& b) { | 37 | 39.0k | return a <= b; | 38 | 39.0k | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 36 | 365k | static bool less_equal(const T& a, const T& b) { | 37 | 365k | return a <= b; | 38 | 365k | } |
|
39 | | template <typename T> |
40 | 84.5M | static bool greater_equal(const T& a, const T& b) { |
41 | 84.5M | return a >= b; |
42 | 84.5M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 40 | 461k | static bool greater_equal(const T& a, const T& b) { | 41 | 461k | return a >= b; | 42 | 461k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 40 | 2.12M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.12M | return a >= b; | 42 | 2.12M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 40 | 413k | static bool greater_equal(const T& a, const T& b) { | 41 | 413k | return a >= b; | 42 | 413k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 40 | 57.6M | static bool greater_equal(const T& a, const T& b) { | 41 | 57.6M | return a >= b; | 42 | 57.6M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 40 | 1.81M | static bool greater_equal(const T& a, const T& b) { | 41 | 1.81M | return a >= b; | 42 | 1.81M | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 40 | 516k | static bool greater_equal(const T& a, const T& b) { | 41 | 516k | return a >= b; | 42 | 516k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 40 | 296 | static bool greater_equal(const T& a, const T& b) { | 41 | 296 | return a >= b; | 42 | 296 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 40 | 209 | static bool greater_equal(const T& a, const T& b) { | 41 | 209 | return a >= b; | 42 | 209 | } |
_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 | 30 | static bool greater_equal(const T& a, const T& b) { | 41 | 30 | return a >= b; | 42 | 30 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 40 | 146 | static bool greater_equal(const T& a, const T& b) { | 41 | 146 | return a >= b; | 42 | 146 | } |
_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 | 596k | static bool greater_equal(const T& a, const T& b) { | 41 | 596k | return a >= b; | 42 | 596k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 40 | 213 | static bool greater_equal(const T& a, const T& b) { | 41 | 213 | return a >= b; | 42 | 213 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 40 | 359k | static bool greater_equal(const T& a, const T& b) { | 41 | 359k | return a >= b; | 42 | 359k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 40 | 568k | static bool greater_equal(const T& a, const T& b) { | 41 | 568k | return a >= b; | 42 | 568k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 17.0M | static bool greater_equal(const T& a, const T& b) { | 41 | 17.0M | return a >= b; | 42 | 17.0M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 144k | static bool greater_equal(const T& a, const T& b) { | 41 | 144k | return a >= b; | 42 | 144k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 40 | 29.5k | static bool greater_equal(const T& a, const T& b) { | 41 | 29.5k | return a >= b; | 42 | 29.5k | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 40 | 397k | static bool greater_equal(const T& a, const T& b) { | 41 | 397k | return a >= b; | 42 | 397k | } |
|
43 | | template <typename T> |
44 | 122M | static bool equal(const T& a, const T& b) { |
45 | 122M | return a == b; |
46 | 122M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 44 | 44.7M | static bool equal(const T& a, const T& b) { | 45 | 44.7M | return a == b; | 46 | 44.7M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 44 | 3.96M | static bool equal(const T& a, const T& b) { | 45 | 3.96M | return a == b; | 46 | 3.96M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 44 | 815k | static bool equal(const T& a, const T& b) { | 45 | 815k | return a == b; | 46 | 815k | } |
_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 | 402k | static bool equal(const T& a, const T& b) { | 45 | 402k | return a == b; | 46 | 402k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 516k | static bool equal(const T& a, const T& b) { | 45 | 516k | return a == b; | 46 | 516k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 204k | static bool equal(const T& a, const T& b) { | 45 | 204k | return a == b; | 46 | 204k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 44 | 5.40k | static bool equal(const T& a, const T& b) { | 45 | 5.40k | return a == b; | 46 | 5.40k | } |
_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.83k | static bool equal(const T& a, const T& b) { | 45 | 3.83k | return a == b; | 46 | 3.83k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 44 | 67.7M | static bool equal(const T& a, const T& b) { | 45 | 67.7M | return a == b; | 46 | 67.7M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 44 | 438k | static bool equal(const T& a, const T& b) { | 45 | 438k | return a == b; | 46 | 438k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 44 | 485 | static bool equal(const T& a, const T& b) { | 45 | 485 | return a == b; | 46 | 485 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 44 | 881 | static bool equal(const T& a, const T& b) { | 45 | 881 | return a == b; | 46 | 881 | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 44 | 13 | static bool equal(const T& a, const T& b) { | 45 | 13 | return a == b; | 46 | 13 | } |
_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 | 429 | static bool equal(const T& a, const T& b) { | 45 | 429 | return a == b; | 46 | 429 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 44 | 1.71M | static bool equal(const T& a, const T& b) { | 45 | 1.71M | return a == b; | 46 | 1.71M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 44 | 1.60M | static bool equal(const T& a, const T& b) { | 45 | 1.60M | return a == b; | 46 | 1.60M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 44 | 71.8k | static bool equal(const T& a, const T& b) { | 45 | 71.8k | return a == b; | 46 | 71.8k | } |
|
47 | | template <typename T> |
48 | 2.44M | static bool not_equal(const T& a, const T& b) { |
49 | 2.44M | return a != b; |
50 | 2.44M | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 48 | 1.70k | static bool not_equal(const T& a, const T& b) { | 49 | 1.70k | return a != b; | 50 | 1.70k | } |
_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.04M | static bool not_equal(const T& a, const T& b) { | 49 | 1.04M | return a != b; | 50 | 1.04M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 48 | 1.39M | static bool not_equal(const T& a, const T& b) { | 49 | 1.39M | return a != b; | 50 | 1.39M | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ 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 | } |
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.38k | static bool not_equal(const T& a, const T& b) { | 49 | 3.38k | return a != b; | 50 | 3.38k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 48 | 42 | static bool not_equal(const T& a, const T& b) { | 49 | 42 | return a != b; | 50 | 42 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 48 | 18 | static bool not_equal(const T& a, const T& b) { | 49 | 18 | return a != b; | 50 | 18 | } |
_ZN5doris7Compare9not_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 48 | 66 | static bool not_equal(const T& a, const T& b) { | 49 | 66 | return a != b; | 50 | 66 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 48 | 246 | static bool not_equal(const T& a, const T& b) { | 49 | 246 | return a != b; | 50 | 246 | } |
_ZN5doris7Compare9not_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 48 | 260 | static bool not_equal(const T& a, const T& b) { | 49 | 260 | return a != b; | 50 | 260 | } |
_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.80k | static bool not_equal(const T& a, const T& b) { | 49 | 1.80k | return a != b; | 50 | 1.80k | } |
|
51 | | |
52 | | template <typename T> |
53 | 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.29M | static int compare(const T& a, const T& b) { | 54 | 4.29M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.29M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 53 | 125k | static int compare(const T& a, const T& b) { | 54 | 125k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 125k | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 53 | 9.26M | static int compare(const T& a, const T& b) { | 54 | 9.26M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 9.26M | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 53 | 103M | static int compare(const T& a, const T& b) { | 54 | 103M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 103M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 53 | 7.98M | static int compare(const T& a, const T& b) { | 54 | 7.98M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.98M | } |
_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.52M | static int compare(const T& a, const T& b) { | 54 | 7.52M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.52M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 47.9M | static int compare(const T& a, const T& b) { | 54 | 47.9M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 47.9M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 53 | 7.05k | static int compare(const T& a, const T& b) { | 54 | 7.05k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.05k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 53 | 4.94k | static int compare(const T& a, const T& b) { | 54 | 4.94k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.94k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 53 | 6.28M | static int compare(const T& a, const T& b) { | 54 | 6.28M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 6.28M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 53 | 5.60M | static int compare(const T& a, const T& b) { | 54 | 5.60M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 5.60M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 53 | 2.74k | static int compare(const T& a, const T& b) { | 54 | 2.74k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 2.74k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 53 | 24.1k | static int compare(const T& a, const T& b) { | 54 | 24.1k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 24.1k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 53 | 377k | static int compare(const T& a, const T& b) { | 54 | 377k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 377k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 53 | 165k | static int compare(const T& a, const T& b) { | 54 | 165k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 165k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 53 | 15.5M | static int compare(const T& a, const T& b) { | 54 | 15.5M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 15.5M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 53 | 95.4k | static int compare(const T& a, const T& b) { | 54 | 95.4k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 95.4k | } |
|
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.51k | static T min(const T& a, const T& b) { | 59 | 2.51k | return less(a, b) ? a : b; | 60 | 2.51k | } |
_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.62k | static T min(const T& a, const T& b) { | 59 | 7.62k | return less(a, b) ? a : b; | 60 | 7.62k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 58 | 8.18k | static T min(const T& a, const T& b) { | 59 | 8.18k | return less(a, b) ? a : b; | 60 | 8.18k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 58 | 3.48M | static T min(const T& a, const T& b) { | 59 | 3.48M | return less(a, b) ? a : b; | 60 | 3.48M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 58 | 102k | static T min(const T& a, const T& b) { | 59 | 102k | return less(a, b) ? a : b; | 60 | 102k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 58 | 925 | static T min(const T& a, const T& b) { | 59 | 925 | return less(a, b) ? a : b; | 60 | 925 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 58 | 13.3k | static T min(const T& a, const T& b) { | 59 | 13.3k | return less(a, b) ? a : b; | 60 | 13.3k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 58 | 2.19M | static T min(const T& a, const T& b) { | 59 | 2.19M | return less(a, b) ? a : b; | 60 | 2.19M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 58 | 4.18M | static T min(const T& a, const T& b) { | 59 | 4.18M | return less(a, b) ? a : b; | 60 | 4.18M | } |
_ZN5doris7Compare3minINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 58 | 4.09k | static T min(const T& a, const T& b) { | 59 | 4.09k | return less(a, b) ? a : b; | 60 | 4.09k | } |
_ZN5doris7Compare3minINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 58 | 763k | static T min(const T& a, const T& b) { | 59 | 763k | return less(a, b) ? a : b; | 60 | 763k | } |
_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 | 75.9M | static T max(const T& a, const T& b) { |
64 | 75.9M | return greater(a, b) ? a : b; |
65 | 75.9M | } _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 | 13.9M | static T max(const T& a, const T& b) { | 64 | 13.9M | return greater(a, b) ? a : b; | 65 | 13.9M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 44.0M | static T max(const T& a, const T& b) { | 64 | 44.0M | return greater(a, b) ? a : b; | 65 | 44.0M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 63 | 2.51k | static T max(const T& a, const T& b) { | 64 | 2.51k | return greater(a, b) ? a : b; | 65 | 2.51k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 63 | 6.17M | static T max(const T& a, const T& b) { | 64 | 6.17M | return greater(a, b) ? a : b; | 65 | 6.17M | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 63 | 27 | static T max(const T& a, const T& b) { | 64 | 27 | return greater(a, b) ? a : b; | 65 | 27 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 63 | 27 | static T max(const T& a, const T& b) { | 64 | 27 | return greater(a, b) ? a : b; | 65 | 27 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 63 | 19.9k | static T max(const T& a, const T& b) { | 64 | 19.9k | return greater(a, b) ? a : b; | 65 | 19.9k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 63 | 15.7k | static T max(const T& a, const T& b) { | 64 | 15.7k | return greater(a, b) ? a : b; | 65 | 15.7k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 63 | 16.3k | static T max(const T& a, const T& b) { | 64 | 16.3k | return greater(a, b) ? a : b; | 65 | 16.3k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 63 | 4.35M | static T max(const T& a, const T& b) { | 64 | 4.35M | return greater(a, b) ? a : b; | 65 | 4.35M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 63 | 125k | static T max(const T& a, const T& b) { | 64 | 125k | return greater(a, b) ? a : b; | 65 | 125k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 63 | 2.11k | static T max(const T& a, const T& b) { | 64 | 2.11k | return greater(a, b) ? a : b; | 65 | 2.11k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 63 | 21.5k | static T max(const T& a, const T& b) { | 64 | 21.5k | return greater(a, b) ? a : b; | 65 | 21.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 63 | 2.95M | static T max(const T& a, const T& b) { | 64 | 2.95M | return greater(a, b) ? a : b; | 65 | 2.95M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 63 | 4.20M | static T max(const T& a, const T& b) { | 64 | 4.20M | return greater(a, b) ? a : b; | 65 | 4.20M | } |
_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 | 11.5k | static T max(const T& a, const T& b) { | 64 | 11.5k | return greater(a, b) ? a : b; | 65 | 11.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 63 | 346 | static T max(const T& a, const T& b) { | 64 | 346 | return greater(a, b) ? a : b; | 65 | 346 | } |
|
66 | | |
67 | | template <typename T> |
68 | 1.56M | static T min_value() { |
69 | 1.56M | return type_limit<T>::min(); |
70 | 1.56M | } _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 | 14.1k | static T min_value() { | 69 | 14.1k | return type_limit<T>::min(); | 70 | 14.1k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 68 | 16.5k | static T min_value() { | 69 | 16.5k | return type_limit<T>::min(); | 70 | 16.5k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 68 | 1.80k | static T min_value() { | 69 | 1.80k | return type_limit<T>::min(); | 70 | 1.80k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 68 | 344k | static T min_value() { | 69 | 344k | return type_limit<T>::min(); | 70 | 344k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 68 | 23 | static T min_value() { | 69 | 23 | return type_limit<T>::min(); | 70 | 23 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 68 | 23 | static T min_value() { | 69 | 23 | return type_limit<T>::min(); | 70 | 23 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 68 | 339 | static T min_value() { | 69 | 339 | return type_limit<T>::min(); | 70 | 339 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 68 | 1.47k | static T min_value() { | 69 | 1.47k | return type_limit<T>::min(); | 70 | 1.47k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 68 | 2.58k | static T min_value() { | 69 | 2.58k | return type_limit<T>::min(); | 70 | 2.58k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 68 | 1.07M | static T min_value() { | 69 | 1.07M | return type_limit<T>::min(); | 70 | 1.07M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 68 | 58.6k | static T min_value() { | 69 | 58.6k | return type_limit<T>::min(); | 70 | 58.6k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 68 | 1.33k | static T min_value() { | 69 | 1.33k | return type_limit<T>::min(); | 70 | 1.33k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 68 | 15.2k | static T min_value() { | 69 | 15.2k | return type_limit<T>::min(); | 70 | 15.2k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 68 | 5.65k | static T min_value() { | 69 | 5.65k | return type_limit<T>::min(); | 70 | 5.65k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 68 | 19.5k | static T min_value() { | 69 | 19.5k | return type_limit<T>::min(); | 70 | 19.5k | } |
_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 | 924 | static T min_value() { | 69 | 924 | return type_limit<T>::min(); | 70 | 924 | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 68 | 155 | static T min_value() { | 69 | 155 | return type_limit<T>::min(); | 70 | 155 | } |
|
71 | | |
72 | | template <typename T> |
73 | 273k | static T max_value() { |
74 | 273k | return type_limit<T>::max(); |
75 | 273k | } _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.80k | static T max_value() { | 74 | 1.80k | return type_limit<T>::max(); | 75 | 1.80k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 73 | 28 | static T max_value() { | 74 | 28 | return type_limit<T>::max(); | 75 | 28 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 73 | 28 | static T max_value() { | 74 | 28 | return type_limit<T>::max(); | 75 | 28 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 73 | 190 | static T max_value() { | 74 | 190 | return type_limit<T>::max(); | 75 | 190 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 73 | 638 | static T max_value() { | 74 | 638 | return type_limit<T>::max(); | 75 | 638 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 73 | 641 | static T max_value() { | 74 | 641 | return type_limit<T>::max(); | 75 | 641 | } |
_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 | 42.8k | static T max_value() { | 74 | 42.8k | return type_limit<T>::max(); | 75 | 42.8k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 73 | 517 | static T max_value() { | 74 | 517 | return type_limit<T>::max(); | 75 | 517 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 73 | 404 | static T max_value() { | 74 | 404 | return type_limit<T>::max(); | 75 | 404 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 73 | 4.80k | static T max_value() { | 74 | 4.80k | return type_limit<T>::max(); | 75 | 4.80k | } |
_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 | 701 | static T max_value() { | 74 | 701 | return type_limit<T>::max(); | 75 | 701 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 73 | 161 | static T max_value() { | 74 | 161 | return type_limit<T>::max(); | 75 | 161 | } |
|
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 | 203 | return true; |
82 | 203 | } |
83 | 1.30M | return left == right; |
84 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 79 | 1.19k | bool EqualsFloat(T left, T right) { | 80 | 1.19k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 23 | return true; | 82 | 23 | } | 83 | 1.17k | return left == right; | 84 | 1.19k | } |
_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 | 180 | return true; | 82 | 180 | } | 83 | 1.30M | return left == right; | 84 | 1.30M | } |
|
85 | | |
86 | | template <typename T> |
87 | 7.40M | bool GreaterThanFloat(T left, T right) { |
88 | | // nan is always bigger than everything else |
89 | 7.40M | bool left_is_nan = std::isnan(left); |
90 | 7.40M | bool right_is_nan = std::isnan(right); |
91 | 7.40M | if (UNLIKELY(right_is_nan)) { |
92 | 487 | return false; |
93 | 487 | } |
94 | 7.40M | if (UNLIKELY(left_is_nan)) { |
95 | 30.2k | return true; |
96 | 30.2k | } |
97 | 7.37M | return left > right; |
98 | 7.40M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 87 | 52.8k | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 52.8k | bool left_is_nan = std::isnan(left); | 90 | 52.8k | bool right_is_nan = std::isnan(right); | 91 | 52.8k | if (UNLIKELY(right_is_nan)) { | 92 | 97 | return false; | 93 | 97 | } | 94 | 52.7k | if (UNLIKELY(left_is_nan)) { | 95 | 12.3k | return true; | 96 | 12.3k | } | 97 | 40.4k | return left > right; | 98 | 52.7k | } |
_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 | 390 | return false; | 93 | 390 | } | 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.36M | bool GreaterThanEqualsFloat(T left, T right) { |
102 | | // nan is always bigger than everything else |
103 | 1.36M | bool left_is_nan = std::isnan(left); |
104 | 1.36M | bool right_is_nan = std::isnan(right); |
105 | 1.36M | if (UNLIKELY(right_is_nan)) { |
106 | 359 | return left_is_nan; |
107 | 359 | } |
108 | 1.36M | if (UNLIKELY(left_is_nan)) { |
109 | 556 | return true; |
110 | 556 | } |
111 | 1.36M | return left >= right; |
112 | 1.36M | } _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 | 99 | return true; | 110 | 99 | } | 111 | 974 | return left >= right; | 112 | 1.07k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 101 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.36M | bool left_is_nan = std::isnan(left); | 104 | 1.36M | bool right_is_nan = std::isnan(right); | 105 | 1.36M | if (UNLIKELY(right_is_nan)) { | 106 | 311 | return left_is_nan; | 107 | 311 | } | 108 | 1.36M | if (UNLIKELY(left_is_nan)) { | 109 | 457 | return true; | 110 | 457 | } | 111 | 1.36M | return left >= right; | 112 | 1.36M | } |
|
113 | | |
114 | | template <typename T> |
115 | 15.5M | int CompareFloat(T left, T right) { |
116 | | // nan is always bigger than everything else |
117 | 15.5M | bool left_is_nan = std::isnan(left); |
118 | 15.5M | bool right_is_nan = std::isnan(right); |
119 | 15.5M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
120 | 5.15k | if (left_is_nan && right_is_nan) { |
121 | 1.88k | return 0; |
122 | 1.88k | } |
123 | 3.26k | if (left_is_nan) { |
124 | 884 | return 1; |
125 | 2.38k | } else { |
126 | 2.38k | return -1; |
127 | 2.38k | } |
128 | 3.26k | } |
129 | 15.5M | return left > right ? 1 : (left < right ? -1 : 0); |
130 | 15.5M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 115 | 7.23M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 7.23M | bool left_is_nan = std::isnan(left); | 118 | 7.23M | bool right_is_nan = std::isnan(right); | 119 | 7.23M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.34k | if (left_is_nan && right_is_nan) { | 121 | 844 | return 0; | 122 | 844 | } | 123 | 1.50k | if (left_is_nan) { | 124 | 405 | return 1; | 125 | 1.09k | } else { | 126 | 1.09k | return -1; | 127 | 1.09k | } | 128 | 1.50k | } | 129 | 7.23M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 7.23M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 115 | 8.28M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 8.28M | bool left_is_nan = std::isnan(left); | 118 | 8.28M | bool right_is_nan = std::isnan(right); | 119 | 8.28M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.81k | if (left_is_nan && right_is_nan) { | 121 | 1.04k | return 0; | 122 | 1.04k | } | 123 | 1.76k | if (left_is_nan) { | 124 | 479 | return 1; | 125 | 1.28k | } else { | 126 | 1.28k | return -1; | 127 | 1.28k | } | 128 | 1.76k | } | 129 | 8.28M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 8.28M | }; |
|
131 | | |
132 | | // float |
133 | | template <> |
134 | 14.7k | inline bool Compare::less(const float& a, const float& b) { |
135 | 14.7k | return GreaterThanFloat(b, a); |
136 | 14.7k | } |
137 | | template <> |
138 | 38.1k | inline bool Compare::greater(const float& a, const float& b) { |
139 | 38.1k | return GreaterThanFloat(a, b); |
140 | 38.1k | } |
141 | | template <> |
142 | 565 | inline bool Compare::less_equal(const float& a, const float& b) { |
143 | 565 | return GreaterThanEqualsFloat(b, a); |
144 | 565 | } |
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.01k | inline bool Compare::equal(const float& a, const float& b) { |
151 | 1.01k | return EqualsFloat(a, b); |
152 | 1.01k | } |
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 | 7.23M | inline int Compare::compare(const float& a, const float& b) { |
159 | 7.23M | return CompareFloat(a, b); |
160 | 7.23M | } |
161 | | template <> |
162 | 346 | inline float Compare::max_value<float>() { |
163 | 346 | return std::numeric_limits<float>::quiet_NaN(); |
164 | 346 | } |
165 | | |
166 | | // double |
167 | | template <> |
168 | 721k | inline bool Compare::less(const double& a, const double& b) { |
169 | 721k | return GreaterThanFloat(b, a); |
170 | 721k | } |
171 | | template <> |
172 | 6.63M | inline bool Compare::greater(const double& a, const double& b) { |
173 | 6.63M | return GreaterThanFloat(a, b); |
174 | 6.63M | } |
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 | 762k | inline bool Compare::greater_equal(const double& a, const double& b) { |
181 | 762k | return GreaterThanEqualsFloat(a, b); |
182 | 762k | } |
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.28M | inline int Compare::compare(const double& a, const double& b) { |
193 | 8.28M | return CompareFloat(a, b); |
194 | 8.28M | } |
195 | | template <> |
196 | 714 | inline double Compare::max_value<double>() { |
197 | 714 | return std::numeric_limits<double>::quiet_NaN(); |
198 | 714 | } |
199 | | |
200 | | template <class T> |
201 | | struct Less { |
202 | 991k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 202 | 1.03k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 202 | 605 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 202 | 913k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 202 | 9.67k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 202 | 16 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 202 | 34 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 202 | 30 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 202 | 62.8k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 202 | 250 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 776 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 398 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 202 | 1.00k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 202 | 56 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIhEclERKhS3_ Line | Count | Source | 202 | 61 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 202 | 54 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 202 | 979 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 202 | 30 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 202 | 45 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
203 | | }; |
204 | | template <> |
205 | 279 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
206 | 279 | return Compare::less(lhs, rhs); |
207 | 279 | } |
208 | | template <> |
209 | 65 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
210 | 65 | return Compare::less(lhs, rhs); |
211 | 65 | } |
212 | | |
213 | | template <class T> |
214 | | struct EqualTo { |
215 | 127M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 215 | 21.2M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 215 | 4.38k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 215 | 4.24k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 215 | 23.4M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 215 | 35.8M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 215 | 88 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 215 | 34 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 215 | 3.73k | 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.38k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 215 | 643 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 215 | 59.5k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 215 | 5.51M | 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 | 164 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 215 | 14 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 215 | 986 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 215 | 86 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 215 | 82 | 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 | 15.8k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 215 | 47.8k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 215 | 42.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 215 | 41.1M | 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 | 93.7k | 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.80k | 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.70k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 215 | 11.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 215 | 70.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 215 | 17.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
216 | | }; |
217 | | template <> |
218 | 49 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
219 | 49 | return Compare::equal(lhs, rhs); |
220 | 49 | } |
221 | | template <> |
222 | 564 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
223 | 564 | return Compare::equal(lhs, rhs); |
224 | 564 | } |
225 | | |
226 | | template <typename T> |
227 | | requires(std::is_floating_point_v<T>) |
228 | 583k | void NormalizeFloat(T& val) { |
229 | 583k | if (val == (T)0.0) { |
230 | | // Turn negative zero into positive zero |
231 | 52.4k | val = (T)0.0; |
232 | 530k | } else if (std::isnan(val)) { |
233 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
234 | 156 | } |
235 | 583k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 20.7k | void NormalizeFloat(T& val) { | 229 | 20.7k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 1.41k | val = (T)0.0; | 232 | 19.3k | } else if (std::isnan(val)) { | 233 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 41 | } | 235 | 20.7k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 562k | void NormalizeFloat(T& val) { | 229 | 562k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 50.9k | val = (T)0.0; | 232 | 511k | } else if (std::isnan(val)) { | 233 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 115 | } | 235 | 562k | } |
|
236 | | |
237 | | } // namespace doris |