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.86M | static bool less(const T& a, const T& b) { | 28 | 1.86M | return a < b; | 29 | 1.86M | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 27 | 277k | static bool less(const T& a, const T& b) { | 28 | 277k | return a < b; | 29 | 277k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 27 | 975 | static bool less(const T& a, const T& b) { | 28 | 975 | return a < b; | 29 | 975 | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 27 | 15.9k | static bool less(const T& a, const T& b) { | 28 | 15.9k | return a < b; | 29 | 15.9k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 27 | 31.3k | static bool less(const T& a, const T& b) { | 28 | 31.3k | return a < b; | 29 | 31.3k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 27 | 31.0k | static bool less(const T& a, const T& b) { | 28 | 31.0k | return a < b; | 29 | 31.0k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 27 | 1.89k | static bool less(const T& a, const T& b) { | 28 | 1.89k | return a < b; | 29 | 1.89k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 27 | 1.93k | static bool less(const T& a, const T& b) { | 28 | 1.93k | return a < b; | 29 | 1.93k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 27 | 2.13k | static bool less(const T& a, const T& b) { | 28 | 2.13k | return a < b; | 29 | 2.13k | } |
_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.8M | static bool less(const T& a, const T& b) { | 28 | 44.8M | return a < b; | 29 | 44.8M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 27 | 7.82k | static bool less(const T& a, const T& b) { | 28 | 7.82k | return a < b; | 29 | 7.82k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 27 | 2.17M | static bool less(const T& a, const T& b) { | 28 | 2.17M | return a < b; | 29 | 2.17M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 27 | 6.54M | static bool less(const T& a, const T& b) { | 28 | 6.54M | return a < b; | 29 | 6.54M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 27 | 4.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 | 764k | static bool less(const T& a, const T& b) { | 28 | 764k | return a < b; | 29 | 764k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 27 | 3.09k | static bool less(const T& a, const T& b) { | 28 | 3.09k | return a < b; | 29 | 3.09k | } |
_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 | 108k | static bool less(const T& a, const T& b) { | 28 | 108k | return a < b; | 29 | 108k | } |
|
30 | | template <typename T> |
31 | 183M | static bool greater(const T& a, const T& b) { |
32 | 183M | return a > b; |
33 | 183M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 31 | 46.2k | static bool greater(const T& a, const T& b) { | 32 | 46.2k | return a > b; | 33 | 46.2k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 31 | 303k | static bool greater(const T& a, const T& b) { | 32 | 303k | return a > b; | 33 | 303k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 31 | 76.3k | static bool greater(const T& a, const T& b) { | 32 | 76.3k | return a > b; | 33 | 76.3k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 31 | 19.6M | static bool greater(const T& a, const T& b) { | 32 | 19.6M | return a > b; | 33 | 19.6M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 31 | 42.1M | static bool greater(const T& a, const T& b) { | 32 | 42.1M | return a > b; | 33 | 42.1M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 31 | 909k | static bool greater(const T& a, const T& b) { | 32 | 909k | return a > b; | 33 | 909k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 31 | 2.25k | static bool greater(const T& a, const T& b) { | 32 | 2.25k | return a > b; | 33 | 2.25k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 31 | 2.29k | static bool greater(const T& a, const T& b) { | 32 | 2.29k | return a > b; | 33 | 2.29k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 31 | 6.27k | static bool greater(const T& a, const T& b) { | 32 | 6.27k | return a > b; | 33 | 6.27k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 19.2M | static bool greater(const T& a, const T& b) { | 32 | 19.2M | return a > b; | 33 | 19.2M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 90.1M | static bool greater(const T& a, const T& b) { | 32 | 90.1M | return a > b; | 33 | 90.1M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 31 | 18.9k | static bool greater(const T& a, const T& b) { | 32 | 18.9k | return a > b; | 33 | 18.9k | } |
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 | 6.76M | static bool greater(const T& a, const T& b) { | 32 | 6.76M | return a > b; | 33 | 6.76M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 31 | 5.15k | static bool greater(const T& a, const T& b) { | 32 | 5.15k | return a > b; | 33 | 5.15k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 31 | 35.3k | static bool greater(const T& a, const T& b) { | 32 | 35.3k | return a > b; | 33 | 35.3k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 31 | 2.89k | static bool greater(const T& a, const T& b) { | 32 | 2.89k | return a > b; | 33 | 2.89k | } |
_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 | 671 | static bool greater(const T& a, const T& b) { | 32 | 671 | return a > b; | 33 | 671 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 31 | 1.20M | static bool greater(const T& a, const T& b) { | 32 | 1.20M | return a > b; | 33 | 1.20M | } |
|
34 | | |
35 | | template <typename T> |
36 | 90.6M | static bool less_equal(const T& a, const T& b) { |
37 | 90.6M | return a <= b; |
38 | 90.6M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 36 | 68.2M | static bool less_equal(const T& a, const T& b) { | 37 | 68.2M | return a <= b; | 38 | 68.2M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 36 | 6.03M | static bool less_equal(const T& a, const T& b) { | 37 | 6.03M | return a <= b; | 38 | 6.03M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 36 | 433k | static bool less_equal(const T& a, const T& b) { | 37 | 433k | return a <= b; | 38 | 433k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 36 | 154 | static bool less_equal(const T& a, const T& b) { | 37 | 154 | return a <= b; | 38 | 154 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 36 | 497k | static bool less_equal(const T& a, const T& b) { | 37 | 497k | return a <= b; | 38 | 497k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 36 | 2.29M | static bool less_equal(const T& a, const T& b) { | 37 | 2.29M | return a <= b; | 38 | 2.29M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 36 | 397k | static bool less_equal(const T& a, const T& b) { | 37 | 397k | return a <= b; | 38 | 397k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 36 | 231 | static bool less_equal(const T& a, const T& b) { | 37 | 231 | return a <= b; | 38 | 231 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 36 | 136 | static bool less_equal(const T& a, const T& b) { | 37 | 136 | return a <= b; | 38 | 136 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 36 | 1 | static bool less_equal(const T& a, const T& b) { | 37 | 1 | return a <= b; | 38 | 1 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 36 | 198 | static bool less_equal(const T& a, const T& b) { | 37 | 198 | return a <= b; | 38 | 198 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 36 | 4.73M | static bool less_equal(const T& a, const T& b) { | 37 | 4.73M | return a <= b; | 38 | 4.73M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 36 | 710k | static bool less_equal(const T& a, const T& b) { | 37 | 710k | return a <= b; | 38 | 710k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 36 | 208 | static bool less_equal(const T& a, const T& b) { | 37 | 208 | return a <= b; | 38 | 208 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 36 | 356k | static bool less_equal(const T& a, const T& b) { | 37 | 356k | return a <= b; | 38 | 356k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 36 | 555k | static bool less_equal(const T& a, const T& b) { | 37 | 555k | return a <= b; | 38 | 555k | } |
_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 | 157k | static bool less_equal(const T& a, const T& b) { | 37 | 157k | return a <= b; | 38 | 157k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 36 | 33.5k | static bool less_equal(const T& a, const T& b) { | 37 | 33.5k | return a <= b; | 38 | 33.5k | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 36 | 395k | static bool less_equal(const T& a, const T& b) { | 37 | 395k | return a <= b; | 38 | 395k | } |
|
39 | | template <typename T> |
40 | 86.8M | static bool greater_equal(const T& a, const T& b) { |
41 | 86.8M | return a >= b; |
42 | 86.8M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 40 | 440k | static bool greater_equal(const T& a, const T& b) { | 41 | 440k | return a >= b; | 42 | 440k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 40 | 2.31M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.31M | return a >= b; | 42 | 2.31M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 40 | 396k | static bool greater_equal(const T& a, const T& b) { | 41 | 396k | return a >= b; | 42 | 396k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 40 | 60.9M | static bool greater_equal(const T& a, const T& b) { | 41 | 60.9M | return a >= b; | 42 | 60.9M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 40 | 578k | static bool greater_equal(const T& a, const T& b) { | 41 | 578k | return a >= b; | 42 | 578k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 40 | 562k | static bool greater_equal(const T& a, const T& b) { | 41 | 562k | return a >= b; | 42 | 562k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 40 | 317 | static bool greater_equal(const T& a, const T& b) { | 41 | 317 | return a >= b; | 42 | 317 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 40 | 227 | static bool greater_equal(const T& a, const T& b) { | 41 | 227 | return a >= b; | 42 | 227 | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 40 | 169 | static bool greater_equal(const T& a, const T& b) { | 41 | 169 | return a >= b; | 42 | 169 | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 40 | 1 | static bool greater_equal(const T& a, const T& b) { | 41 | 1 | return a >= b; | 42 | 1 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 40 | 288 | static bool greater_equal(const T& a, const T& b) { | 41 | 288 | return a >= b; | 42 | 288 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 40 | 2.34M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.34M | return a >= b; | 42 | 2.34M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 40 | 726k | static bool greater_equal(const T& a, const T& b) { | 41 | 726k | return a >= b; | 42 | 726k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 40 | 178 | static bool greater_equal(const T& a, const T& b) { | 41 | 178 | return a >= b; | 42 | 178 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 40 | 353k | static bool greater_equal(const T& a, const T& b) { | 41 | 353k | return a >= b; | 42 | 353k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 40 | 624k | static bool greater_equal(const T& a, const T& b) { | 41 | 624k | return a >= b; | 42 | 624k | } |
_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 | 128k | static bool greater_equal(const T& a, const T& b) { | 41 | 128k | return a >= b; | 42 | 128k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 40 | 26.7k | static bool greater_equal(const T& a, const T& b) { | 41 | 26.7k | return a >= b; | 42 | 26.7k | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 40 | 400k | static bool greater_equal(const T& a, const T& b) { | 41 | 400k | return a >= b; | 42 | 400k | } |
|
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 | 44.1M | static bool equal(const T& a, const T& b) { | 45 | 44.1M | return a == b; | 46 | 44.1M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 44 | 3.97M | static bool equal(const T& a, const T& b) { | 45 | 3.97M | return a == b; | 46 | 3.97M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 44 | 812k | static bool equal(const T& a, const T& b) { | 45 | 812k | return a == b; | 46 | 812k | } |
_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 | 528k | static bool equal(const T& a, const T& b) { | 45 | 528k | return a == b; | 46 | 528k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 201k | static bool equal(const T& a, const T& b) { | 45 | 201k | return a == b; | 46 | 201k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 44 | 5.79k | static bool equal(const T& a, const T& b) { | 45 | 5.79k | return a == b; | 46 | 5.79k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 44 | 1.10k | static bool equal(const T& a, const T& b) { | 45 | 1.10k | return a == b; | 46 | 1.10k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 44 | 888 | static bool equal(const T& a, const T& b) { | 45 | 888 | return a == b; | 46 | 888 | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 44 | 3.77k | static bool equal(const T& a, const T& b) { | 45 | 3.77k | return a == b; | 46 | 3.77k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 44 | 66.8M | static bool equal(const T& a, const T& b) { | 45 | 66.8M | return a == b; | 46 | 66.8M | } |
_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 | 510 | static bool equal(const T& a, const T& b) { | 45 | 510 | return a == b; | 46 | 510 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 44 | 1.01k | static bool equal(const T& a, const T& b) { | 45 | 1.01k | return a == b; | 46 | 1.01k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 44 | 9 | static bool equal(const T& a, const T& b) { | 45 | 9 | return a == b; | 46 | 9 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 44 | 703k | static bool equal(const T& a, const T& b) { | 45 | 703k | return a == b; | 46 | 703k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 44 | 403 | static bool equal(const T& a, const T& b) { | 45 | 403 | return a == b; | 46 | 403 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 44 | 1.90M | static bool equal(const T& a, const T& b) { | 45 | 1.90M | return a == b; | 46 | 1.90M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 44 | 1.88M | static bool equal(const T& a, const T& b) { | 45 | 1.88M | return a == b; | 46 | 1.88M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 44 | 66.2k | static bool equal(const T& a, const T& b) { | 45 | 66.2k | return a == b; | 46 | 66.2k | } |
|
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.84k | static bool not_equal(const T& a, const T& b) { | 49 | 1.84k | return a != b; | 50 | 1.84k | } |
_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.84k | static bool not_equal(const T& a, const T& b) { | 49 | 1.84k | return a != b; | 50 | 1.84k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalIjEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIoEEbRKT_S4_ _ZN5doris7Compare9not_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 48 | 363 | static bool not_equal(const T& a, const T& b) { | 49 | 363 | return a != b; | 50 | 363 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 48 | 2.89k | static bool not_equal(const T& a, const T& b) { | 49 | 2.89k | return a != b; | 50 | 2.89k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 48 | 41 | static bool not_equal(const T& a, const T& b) { | 49 | 41 | return a != b; | 50 | 41 | } |
_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 | 251 | static bool not_equal(const T& a, const T& b) { | 49 | 251 | return a != b; | 50 | 251 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 48 | 64 | static bool not_equal(const T& a, const T& b) { | 49 | 64 | return a != b; | 50 | 64 | } |
_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.83k | static bool not_equal(const T& a, const T& b) { | 49 | 1.83k | return a != b; | 50 | 1.83k | } |
|
51 | | |
52 | | template <typename T> |
53 | 509M | static int compare(const T& a, const T& b) { |
54 | 509M | return a > b ? 1 : (a < b ? -1 : 0); |
55 | 509M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 53 | 4.17M | static int compare(const T& a, const T& b) { | 54 | 4.17M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.17M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 53 | 204k | static int compare(const T& a, const T& b) { | 54 | 204k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 204k | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 53 | 10.0M | static int compare(const T& a, const T& b) { | 54 | 10.0M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 10.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 | 8.05M | static int compare(const T& a, const T& b) { | 54 | 8.05M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 8.05M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 53 | 303M | static int compare(const T& a, const T& b) { | 54 | 303M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 303M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 8.84M | static int compare(const T& a, const T& b) { | 54 | 8.84M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 8.84M | } |
_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 | 7.13k | static int compare(const T& a, const T& b) { | 54 | 7.13k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.13k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 53 | 4.95k | static int compare(const T& a, const T& b) { | 54 | 4.95k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.95k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 53 | 7.03M | static int compare(const T& a, const T& b) { | 54 | 7.03M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.03M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 53 | 7.57M | static int compare(const T& a, const T& b) { | 54 | 7.57M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.57M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 53 | 2.72k | static int compare(const T& a, const T& b) { | 54 | 2.72k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 2.72k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 53 | 23.4k | static int compare(const T& a, const T& b) { | 54 | 23.4k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 23.4k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 53 | 347k | static int compare(const T& a, const T& b) { | 54 | 347k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 347k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 53 | 164k | static int compare(const T& a, const T& b) { | 54 | 164k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 164k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 53 | 11.7M | static int compare(const T& a, const T& b) { | 54 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 11.7M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 53 | 95.2k | static int compare(const T& a, const T& b) { | 54 | 95.2k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 95.2k | } |
|
56 | | |
57 | | template <typename T> |
58 | 56.8M | static T min(const T& a, const T& b) { |
59 | 56.8M | return less(a, b) ? a : b; |
60 | 56.8M | } _ZN5doris7Compare3minINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 58 | 5 | static T min(const T& a, const T& b) { | 59 | 5 | return less(a, b) ? a : b; | 60 | 5 | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 58 | 1.98M | static T min(const T& a, const T& b) { | 59 | 1.98M | return less(a, b) ? a : b; | 60 | 1.98M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 58 | 44.0M | static T min(const T& a, const T& b) { | 59 | 44.0M | return less(a, b) ? a : b; | 60 | 44.0M | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 58 | 2.55k | static T min(const T& a, const T& b) { | 59 | 2.55k | return less(a, b) ? a : b; | 60 | 2.55k | } |
_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.7k | static T min(const T& a, const T& b) { | 59 | 12.7k | return less(a, b) ? a : b; | 60 | 12.7k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 58 | 7.61k | static T min(const T& a, const T& b) { | 59 | 7.61k | return less(a, b) ? a : b; | 60 | 7.61k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 58 | 8.14k | static T min(const T& a, const T& b) { | 59 | 8.14k | return less(a, b) ? a : b; | 60 | 8.14k | } |
_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 | 885 | static T min(const T& a, const T& b) { | 59 | 885 | return less(a, b) ? a : b; | 60 | 885 | } |
_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.17M | static T min(const T& a, const T& b) { | 59 | 2.17M | return less(a, b) ? a : b; | 60 | 2.17M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 58 | 4.20M | static T min(const T& a, const T& b) { | 59 | 4.20M | return less(a, b) ? a : b; | 60 | 4.20M | } |
_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 | 762k | static T min(const T& a, const T& b) { | 59 | 762k | return less(a, b) ? a : b; | 60 | 762k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 58 | 360 | static T min(const T& a, const T& b) { | 59 | 360 | return less(a, b) ? a : b; | 60 | 360 | } |
|
61 | | |
62 | | template <typename T> |
63 | 126M | static T max(const T& a, const T& b) { |
64 | 126M | return greater(a, b) ? a : b; |
65 | 126M | } _ZN5doris7Compare3maxINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 63 | 5 | static T max(const T& a, const T& b) { | 64 | 5 | return greater(a, b) ? a : b; | 65 | 5 | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 15.6M | static T max(const T& a, const T& b) { | 64 | 15.6M | return greater(a, b) ? a : b; | 65 | 15.6M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 87.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.55k | static T max(const T& a, const T& b) { | 64 | 2.55k | return greater(a, b) ? a : b; | 65 | 2.55k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 63 | 6.11M | static T max(const T& a, const T& b) { | 64 | 6.11M | return greater(a, b) ? a : b; | 65 | 6.11M | } |
_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.28M | static T max(const T& a, const T& b) { | 64 | 7.28M | return greater(a, b) ? a : b; | 65 | 7.28M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 63 | 166k | static T max(const T& a, const T& b) { | 64 | 166k | return greater(a, b) ? a : b; | 65 | 166k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 63 | 2.46k | static T max(const T& a, const T& b) { | 64 | 2.46k | return greater(a, b) ? a : b; | 65 | 2.46k | } |
_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.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 | 6.69M | static T max(const T& a, const T& b) { | 64 | 6.69M | return greater(a, b) ? a : b; | 65 | 6.69M | } |
_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.3k | static T max(const T& a, const T& b) { | 64 | 20.3k | return greater(a, b) ? a : b; | 65 | 20.3k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 63 | 374 | static T max(const T& a, const T& b) { | 64 | 374 | return greater(a, b) ? a : b; | 65 | 374 | } |
|
66 | | |
67 | | template <typename T> |
68 | 3.40M | static T min_value() { |
69 | 3.40M | return type_limit<T>::min(); |
70 | 3.40M | } _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.77k | static T min_value() { | 69 | 1.77k | return type_limit<T>::min(); | 70 | 1.77k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 68 | 369k | static T min_value() { | 69 | 369k | return type_limit<T>::min(); | 70 | 369k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 68 | 48 | static T min_value() { | 69 | 48 | return type_limit<T>::min(); | 70 | 48 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 68 | 46 | static T min_value() { | 69 | 46 | return type_limit<T>::min(); | 70 | 46 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 68 | 412 | static T min_value() { | 69 | 412 | return type_limit<T>::min(); | 70 | 412 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 68 | 2.06k | static T min_value() { | 69 | 2.06k | return type_limit<T>::min(); | 70 | 2.06k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 68 | 3.31k | static T min_value() { | 69 | 3.31k | return type_limit<T>::min(); | 70 | 3.31k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 68 | 1.62M | static T min_value() { | 69 | 1.62M | return type_limit<T>::min(); | 70 | 1.62M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 68 | 110k | static T min_value() { | 69 | 110k | return type_limit<T>::min(); | 70 | 110k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 68 | 1.69k | static T min_value() { | 69 | 1.69k | return type_limit<T>::min(); | 70 | 1.69k | } |
_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 | 8.28k | static T min_value() { | 69 | 8.28k | return type_limit<T>::min(); | 70 | 8.28k | } |
_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.0k | static T min_value() { | 69 | 10.0k | return type_limit<T>::min(); | 70 | 10.0k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 68 | 197 | static T min_value() { | 69 | 197 | return type_limit<T>::min(); | 70 | 197 | } |
|
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.77k | static T max_value() { | 74 | 3.77k | return type_limit<T>::max(); | 75 | 3.77k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 73 | 1.05k | static T max_value() { | 74 | 1.05k | return type_limit<T>::max(); | 75 | 1.05k | } |
_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 | 24 | static T max_value() { | 74 | 24 | return type_limit<T>::max(); | 75 | 24 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 73 | 24 | static T max_value() { | 74 | 24 | return type_limit<T>::max(); | 75 | 24 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 73 | 175 | static T max_value() { | 74 | 175 | return type_limit<T>::max(); | 75 | 175 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 73 | 666 | static T max_value() { | 74 | 666 | return type_limit<T>::max(); | 75 | 666 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 73 | 619 | static T max_value() { | 74 | 619 | return type_limit<T>::max(); | 75 | 619 | } |
_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.3k | static T max_value() { | 74 | 42.3k | return type_limit<T>::max(); | 75 | 42.3k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 73 | 466 | static T max_value() { | 74 | 466 | return type_limit<T>::max(); | 75 | 466 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 73 | 393 | static T max_value() { | 74 | 393 | return type_limit<T>::max(); | 75 | 393 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 73 | 5.08k | static T max_value() { | 74 | 5.08k | return type_limit<T>::max(); | 75 | 5.08k | } |
_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 | 689 | static T max_value() { | 74 | 689 | return type_limit<T>::max(); | 75 | 689 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 73 | 157 | static T max_value() { | 74 | 157 | return type_limit<T>::max(); | 75 | 157 | } |
|
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 | 191 | return true; |
82 | 191 | } |
83 | 1.30M | return left == right; |
84 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 79 | 1.28k | bool EqualsFloat(T left, T right) { | 80 | 1.28k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 21 | return true; | 82 | 21 | } | 83 | 1.26k | return left == right; | 84 | 1.28k | } |
_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 | 170 | return true; | 82 | 170 | } | 83 | 1.30M | return left == right; | 84 | 1.30M | } |
|
85 | | |
86 | | template <typename T> |
87 | 7.59M | bool GreaterThanFloat(T left, T right) { |
88 | | // nan is always bigger than everything else |
89 | 7.59M | bool left_is_nan = std::isnan(left); |
90 | 7.59M | bool right_is_nan = std::isnan(right); |
91 | 7.59M | if (UNLIKELY(right_is_nan)) { |
92 | 450 | return false; |
93 | 450 | } |
94 | 7.59M | if (UNLIKELY(left_is_nan)) { |
95 | 28.0k | return true; |
96 | 28.0k | } |
97 | 7.56M | return left > right; |
98 | 7.59M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 87 | 64.4k | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 64.4k | bool left_is_nan = std::isnan(left); | 90 | 64.4k | bool right_is_nan = std::isnan(right); | 91 | 64.4k | if (UNLIKELY(right_is_nan)) { | 92 | 93 | return false; | 93 | 93 | } | 94 | 64.3k | if (UNLIKELY(left_is_nan)) { | 95 | 11.1k | return true; | 96 | 11.1k | } | 97 | 53.2k | return left > right; | 98 | 64.3k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 87 | 7.53M | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 7.53M | bool left_is_nan = std::isnan(left); | 90 | 7.53M | bool right_is_nan = std::isnan(right); | 91 | 7.53M | if (UNLIKELY(right_is_nan)) { | 92 | 357 | return false; | 93 | 357 | } | 94 | 7.53M | if (UNLIKELY(left_is_nan)) { | 95 | 16.9k | return true; | 96 | 16.9k | } | 97 | 7.51M | return left > right; | 98 | 7.53M | } |
|
99 | | |
100 | | template <typename T> |
101 | 715k | bool GreaterThanEqualsFloat(T left, T right) { |
102 | | // nan is always bigger than everything else |
103 | 715k | bool left_is_nan = std::isnan(left); |
104 | 715k | bool right_is_nan = std::isnan(right); |
105 | 715k | if (UNLIKELY(right_is_nan)) { |
106 | 353 | return left_is_nan; |
107 | 353 | } |
108 | 715k | if (UNLIKELY(left_is_nan)) { |
109 | 490 | return true; |
110 | 490 | } |
111 | 715k | return left >= right; |
112 | 715k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 101 | 1.09k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.09k | bool left_is_nan = std::isnan(left); | 104 | 1.09k | bool right_is_nan = std::isnan(right); | 105 | 1.09k | if (UNLIKELY(right_is_nan)) { | 106 | 48 | return left_is_nan; | 107 | 48 | } | 108 | 1.04k | if (UNLIKELY(left_is_nan)) { | 109 | 84 | return true; | 110 | 84 | } | 111 | 961 | return left >= right; | 112 | 1.04k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 101 | 714k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 714k | bool left_is_nan = std::isnan(left); | 104 | 714k | bool right_is_nan = std::isnan(right); | 105 | 714k | if (UNLIKELY(right_is_nan)) { | 106 | 305 | return left_is_nan; | 107 | 305 | } | 108 | 714k | if (UNLIKELY(left_is_nan)) { | 109 | 406 | return true; | 110 | 406 | } | 111 | 714k | return left >= right; | 112 | 714k | } |
|
113 | | |
114 | | template <typename T> |
115 | 14.0M | int CompareFloat(T left, T right) { |
116 | | // nan is always bigger than everything else |
117 | 14.0M | bool left_is_nan = std::isnan(left); |
118 | 14.0M | bool right_is_nan = std::isnan(right); |
119 | 14.0M | 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 | 948 | return 1; |
125 | 2.42k | } else { |
126 | 2.42k | return -1; |
127 | 2.42k | } |
128 | 3.37k | } |
129 | 14.0M | return left > right ? 1 : (left < right ? -1 : 0); |
130 | 14.0M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 115 | 6.98M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 6.98M | bool left_is_nan = std::isnan(left); | 118 | 6.98M | bool right_is_nan = std::isnan(right); | 119 | 6.98M | 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 | 6.98M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 6.98M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 115 | 7.07M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 7.07M | bool left_is_nan = std::isnan(left); | 118 | 7.07M | bool right_is_nan = std::isnan(right); | 119 | 7.07M | 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 | 529 | return 1; | 125 | 1.32k | } else { | 126 | 1.32k | return -1; | 127 | 1.32k | } | 128 | 1.85k | } | 129 | 7.06M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 7.07M | }; |
|
131 | | |
132 | | // float |
133 | | template <> |
134 | 14.9k | inline bool Compare::less(const float& a, const float& b) { |
135 | 14.9k | return GreaterThanFloat(b, a); |
136 | 14.9k | } |
137 | | template <> |
138 | 49.5k | inline bool Compare::greater(const float& a, const float& b) { |
139 | 49.5k | return GreaterThanFloat(a, b); |
140 | 49.5k | } |
141 | | template <> |
142 | 549 | inline bool Compare::less_equal(const float& a, const float& b) { |
143 | 549 | return GreaterThanEqualsFloat(b, a); |
144 | 549 | } |
145 | | template <> |
146 | 544 | inline bool Compare::greater_equal(const float& a, const float& b) { |
147 | 544 | return GreaterThanEqualsFloat(a, b); |
148 | 544 | } |
149 | | template <> |
150 | 1.10k | inline bool Compare::equal(const float& a, const float& b) { |
151 | 1.10k | return EqualsFloat(a, b); |
152 | 1.10k | } |
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 | 6.98M | inline int Compare::compare(const float& a, const float& b) { |
159 | 6.98M | return CompareFloat(a, b); |
160 | 6.98M | } |
161 | | template <> |
162 | 330 | inline float Compare::max_value<float>() { |
163 | 330 | return std::numeric_limits<float>::quiet_NaN(); |
164 | 330 | } |
165 | | |
166 | | // double |
167 | | template <> |
168 | 996k | inline bool Compare::less(const double& a, const double& b) { |
169 | 996k | return GreaterThanFloat(b, a); |
170 | 996k | } |
171 | | template <> |
172 | 6.53M | inline bool Compare::greater(const double& a, const double& b) { |
173 | 6.53M | return GreaterThanFloat(a, b); |
174 | 6.53M | } |
175 | | template <> |
176 | 277k | inline bool Compare::less_equal(const double& a, const double& b) { |
177 | 277k | return GreaterThanEqualsFloat(b, a); |
178 | 277k | } |
179 | | template <> |
180 | 437k | inline bool Compare::greater_equal(const double& a, const double& b) { |
181 | 437k | return GreaterThanEqualsFloat(a, b); |
182 | 437k | } |
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 | 7.06M | inline int Compare::compare(const double& a, const double& b) { |
193 | 7.06M | return CompareFloat(a, b); |
194 | 7.06M | } |
195 | | template <> |
196 | 634 | inline double Compare::max_value<double>() { |
197 | 634 | return std::numeric_limits<double>::quiet_NaN(); |
198 | 634 | } |
199 | | |
200 | | template <class T> |
201 | | struct Less { |
202 | 498k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 202 | 168 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 202 | 260 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 202 | 473k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 202 | 6.83k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 202 | 36 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 202 | 68 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 202 | 60 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 202 | 6.78k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 202 | 268 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 602 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 9.45k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 202 | 404 | 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 | 65 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 202 | 42 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 202 | 363 | 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 | 138 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
206 | 138 | return Compare::less(lhs, rhs); |
207 | 138 | } |
208 | | template <> |
209 | 46 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
210 | 46 | return Compare::less(lhs, rhs); |
211 | 46 | } |
212 | | |
213 | | template <class T> |
214 | | struct EqualTo { |
215 | 171M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 215 | 71.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 215 | 4.43k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 215 | 4.30k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 215 | 23.5M | 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 | 403 | 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 | 2.39k | 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 | 3.42k | 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 | 106k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 215 | 10.4M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 215 | 13 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 215 | 86 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 215 | 84 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 215 | 794 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 215 | 279 | 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.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 215 | 80.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 215 | 834 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 215 | 29.4M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_5FieldEEclERKS1_S4_ Line | Count | Source | 215 | 605 | 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 | 288k | 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 | 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.7k | 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 | 609k | void NormalizeFloat(T& val) { |
229 | 609k | if (val == (T)0.0) { |
230 | | // Turn negative zero into positive zero |
231 | 49.7k | val = (T)0.0; |
232 | 560k | } else if (std::isnan(val)) { |
233 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
234 | 156 | } |
235 | 609k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 45.8k | void NormalizeFloat(T& val) { | 229 | 45.8k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 1.42k | val = (T)0.0; | 232 | 44.4k | } else if (std::isnan(val)) { | 233 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 41 | } | 235 | 45.8k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 564k | void NormalizeFloat(T& val) { | 229 | 564k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 48.3k | val = (T)0.0; | 232 | 515k | } else if (std::isnan(val)) { | 233 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 115 | } | 235 | 564k | } |
|
236 | | |
237 | | } // namespace doris |