Line | Count | Source |
1 | | // Licensed to the Apache Software Foundation (ASF) under one |
2 | | // or more contributor license agreements. See the NOTICE file |
3 | | // distributed with this work for additional information |
4 | | // regarding copyright ownership. The ASF licenses this file |
5 | | // to you under the Apache License, Version 2.0 (the |
6 | | // "License"); you may not use this file except in compliance |
7 | | // with the License. You may obtain a copy of the License at |
8 | | // |
9 | | // http://www.apache.org/licenses/LICENSE-2.0 |
10 | | // |
11 | | // Unless required by applicable law or agreed to in writing, |
12 | | // software distributed under the License is distributed on an |
13 | | // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
14 | | // KIND, either express or implied. See the License for the |
15 | | // specific language governing permissions and limitations |
16 | | // under the License. |
17 | | |
18 | | #include <cmath> |
19 | | |
20 | | #include "common/compiler_util.h" |
21 | | #include "core/type_limit.h" |
22 | | |
23 | | #pragma once |
24 | | namespace doris { |
25 | | #include "common/compile_check_begin.h" |
26 | | struct Compare { |
27 | | template <typename T> |
28 | 87.6M | static bool less(const T& a, const T& b) { |
29 | 87.6M | return a < b; |
30 | 87.6M | } _ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 34.6k | static bool less(const T& a, const T& b) { | 29 | 34.6k | return a < b; | 30 | 34.6k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 26.2k | static bool less(const T& a, const T& b) { | 29 | 26.2k | return a < b; | 30 | 26.2k | } |
_ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 15.6M | static bool less(const T& a, const T& b) { | 29 | 15.6M | return a < b; | 30 | 15.6M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 1.18M | static bool less(const T& a, const T& b) { | 29 | 1.18M | return a < b; | 30 | 1.18M | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 286k | static bool less(const T& a, const T& b) { | 29 | 286k | return a < b; | 30 | 286k | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.17k | static bool less(const T& a, const T& b) { | 29 | 4.17k | return a < b; | 30 | 4.17k | } |
_ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 2.16M | static bool less(const T& a, const T& b) { | 29 | 2.16M | return a < b; | 30 | 2.16M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 6.44M | static bool less(const T& a, const T& b) { | 29 | 6.44M | return a < b; | 30 | 6.44M | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 751k | static bool less(const T& a, const T& b) { | 29 | 751k | return a < b; | 30 | 751k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 3.22k | static bool less(const T& a, const T& b) { | 29 | 3.22k | return a < b; | 30 | 3.22k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 28 | 19 | static bool less(const T& a, const T& b) { | 29 | 19 | return a < b; | 30 | 19 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 28 | 103k | static bool less(const T& a, const T& b) { | 29 | 103k | return a < b; | 30 | 103k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 3.11k | static bool less(const T& a, const T& b) { | 29 | 3.11k | return a < b; | 30 | 3.11k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 15.8M | static bool less(const T& a, const T& b) { | 29 | 15.8M | return a < b; | 30 | 15.8M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 45.0M | static bool less(const T& a, const T& b) { | 29 | 45.0M | return a < b; | 30 | 45.0M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 6.30k | static bool less(const T& a, const T& b) { | 29 | 6.30k | return a < b; | 30 | 6.30k | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 16.1k | static bool less(const T& a, const T& b) { | 29 | 16.1k | return a < b; | 30 | 16.1k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 2.06k | static bool less(const T& a, const T& b) { | 29 | 2.06k | return a < b; | 30 | 2.06k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 2.05k | static bool less(const T& a, const T& b) { | 29 | 2.05k | return a < b; | 30 | 2.05k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 28 | 975 | static bool less(const T& a, const T& b) { | 29 | 975 | return a < b; | 30 | 975 | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ |
31 | | template <typename T> |
32 | 131M | static bool greater(const T& a, const T& b) { |
33 | 131M | return a > b; |
34 | 131M | } _ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 287k | static bool greater(const T& a, const T& b) { | 33 | 287k | return a > b; | 34 | 287k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 72.1k | static bool greater(const T& a, const T& b) { | 33 | 72.1k | return a > b; | 34 | 72.1k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 27.4M | static bool greater(const T& a, const T& b) { | 33 | 27.4M | return a > b; | 34 | 27.4M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 30.3M | static bool greater(const T& a, const T& b) { | 33 | 30.3M | return a > b; | 34 | 30.3M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 915k | static bool greater(const T& a, const T& b) { | 33 | 915k | return a > b; | 34 | 915k | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 4.80k | static bool greater(const T& a, const T& b) { | 33 | 4.80k | return a > b; | 34 | 4.80k | } |
_ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 2.94M | static bool greater(const T& a, const T& b) { | 33 | 2.94M | return a > b; | 34 | 2.94M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 4.22M | static bool greater(const T& a, const T& b) { | 33 | 4.22M | return a > b; | 34 | 4.22M | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 27.9k | static bool greater(const T& a, const T& b) { | 33 | 27.9k | return a > b; | 34 | 27.9k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 3.31k | static bool greater(const T& a, const T& b) { | 33 | 3.31k | return a > b; | 34 | 3.31k | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 933 | static bool greater(const T& a, const T& b) { | 33 | 933 | return a > b; | 34 | 933 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 1.15M | static bool greater(const T& a, const T& b) { | 33 | 1.15M | return a > b; | 34 | 1.15M | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 6.23k | static bool greater(const T& a, const T& b) { | 33 | 6.23k | return a > b; | 34 | 6.23k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 17.3M | static bool greater(const T& a, const T& b) { | 33 | 17.3M | return a > b; | 34 | 17.3M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 46.8M | static bool greater(const T& a, const T& b) { | 33 | 46.8M | return a > b; | 34 | 46.8M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 11.6k | static bool greater(const T& a, const T& b) { | 33 | 11.6k | return a > b; | 34 | 11.6k | } |
_ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 33.0k | static bool greater(const T& a, const T& b) { | 33 | 33.0k | return a > b; | 34 | 33.0k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 32 | 2.28k | static bool greater(const T& a, const T& b) { | 33 | 2.28k | return a > b; | 34 | 2.28k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.30k | static bool greater(const T& a, const T& b) { | 33 | 2.30k | return a > b; | 34 | 2.30k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 32 | 6 | static bool greater(const T& a, const T& b) { | 33 | 6 | return a > b; | 34 | 6 | } |
|
35 | | |
36 | | template <typename T> |
37 | 90.0M | static bool less_equal(const T& a, const T& b) { |
38 | 90.0M | return a <= b; |
39 | 90.0M | } _ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 2.10M | static bool less_equal(const T& a, const T& b) { | 38 | 2.10M | return a <= b; | 39 | 2.10M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 216k | static bool less_equal(const T& a, const T& b) { | 38 | 216k | return a <= b; | 39 | 216k | } |
_ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 69.5M | static bool less_equal(const T& a, const T& b) { | 38 | 69.5M | return a <= b; | 39 | 69.5M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 5.21M | static bool less_equal(const T& a, const T& b) { | 38 | 5.21M | return a <= b; | 39 | 5.21M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 218k | static bool less_equal(const T& a, const T& b) { | 38 | 218k | return a <= b; | 39 | 218k | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 37 | 1 | static bool less_equal(const T& a, const T& b) { | 38 | 1 | return a <= b; | 39 | 1 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 37 | 173 | static bool less_equal(const T& a, const T& b) { | 38 | 173 | return a <= b; | 39 | 173 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.66M | static bool less_equal(const T& a, const T& b) { | 38 | 4.66M | return a <= b; | 39 | 4.66M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 353k | static bool less_equal(const T& a, const T& b) { | 38 | 353k | return a <= b; | 39 | 353k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 194 | static bool less_equal(const T& a, const T& b) { | 38 | 194 | return a <= b; | 39 | 194 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 344k | static bool less_equal(const T& a, const T& b) { | 38 | 344k | return a <= b; | 39 | 344k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 339k | static bool less_equal(const T& a, const T& b) { | 38 | 339k | return a <= b; | 39 | 339k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.54M | static bool less_equal(const T& a, const T& b) { | 38 | 5.54M | return a <= b; | 39 | 5.54M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 1.20M | static bool less_equal(const T& a, const T& b) { | 38 | 1.20M | return a <= b; | 39 | 1.20M | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 678 | static bool less_equal(const T& a, const T& b) { | 38 | 678 | return a <= b; | 39 | 678 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 80.2k | static bool less_equal(const T& a, const T& b) { | 38 | 80.2k | return a <= b; | 39 | 80.2k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 201 | static bool less_equal(const T& a, const T& b) { | 38 | 201 | return a <= b; | 39 | 201 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 108 | static bool less_equal(const T& a, const T& b) { | 38 | 108 | return a <= b; | 39 | 108 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 207k | static bool less_equal(const T& a, const T& b) { | 38 | 207k | return a <= b; | 39 | 207k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 37 | 136 | static bool less_equal(const T& a, const T& b) { | 38 | 136 | return a <= b; | 39 | 136 | } |
|
40 | | template <typename T> |
41 | 88.5M | static bool greater_equal(const T& a, const T& b) { |
42 | 88.5M | return a >= b; |
43 | 88.5M | } _ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 2.08M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.08M | return a >= b; | 43 | 2.08M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 250k | static bool greater_equal(const T& a, const T& b) { | 42 | 250k | return a >= b; | 43 | 250k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 64.6M | static bool greater_equal(const T& a, const T& b) { | 42 | 64.6M | return a >= b; | 43 | 64.6M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 1.52M | static bool greater_equal(const T& a, const T& b) { | 42 | 1.52M | return a >= b; | 43 | 1.52M | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 246k | static bool greater_equal(const T& a, const T& b) { | 42 | 246k | return a >= b; | 43 | 246k | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 41 | 1 | static bool greater_equal(const T& a, const T& b) { | 42 | 1 | return a >= b; | 43 | 1 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 41 | 241 | static bool greater_equal(const T& a, const T& b) { | 42 | 241 | return a >= b; | 43 | 241 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.32M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.32M | return a >= b; | 43 | 2.32M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 293k | static bool greater_equal(const T& a, const T& b) { | 42 | 293k | return a >= b; | 43 | 293k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 177 | static bool greater_equal(const T& a, const T& b) { | 42 | 177 | return a >= b; | 43 | 177 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 340k | static bool greater_equal(const T& a, const T& b) { | 42 | 340k | return a >= b; | 43 | 340k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 283k | static bool greater_equal(const T& a, const T& b) { | 42 | 283k | return a >= b; | 43 | 283k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 15.8M | static bool greater_equal(const T& a, const T& b) { | 42 | 15.8M | return a >= b; | 43 | 15.8M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 538k | static bool greater_equal(const T& a, const T& b) { | 42 | 538k | return a >= b; | 43 | 538k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 689 | static bool greater_equal(const T& a, const T& b) { | 42 | 689 | return a >= b; | 43 | 689 | } |
_ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 54.4k | static bool greater_equal(const T& a, const T& b) { | 42 | 54.4k | return a >= b; | 43 | 54.4k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 301 | static bool greater_equal(const T& a, const T& b) { | 42 | 301 | return a >= b; | 43 | 301 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 211 | static bool greater_equal(const T& a, const T& b) { | 42 | 211 | return a >= b; | 43 | 211 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 121k | static bool greater_equal(const T& a, const T& b) { | 42 | 121k | return a >= b; | 43 | 121k | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 151 | static bool greater_equal(const T& a, const T& b) { | 42 | 151 | return a >= b; | 43 | 151 | } |
|
44 | | template <typename T> |
45 | 127M | static bool equal(const T& a, const T& b) { |
46 | 127M | return a == b; |
47 | 127M | } _ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 69.8M | static bool equal(const T& a, const T& b) { | 46 | 69.8M | return a == b; | 47 | 69.8M | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.91M | static bool equal(const T& a, const T& b) { | 46 | 1.91M | return a == b; | 47 | 1.91M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 439k | static bool equal(const T& a, const T& b) { | 46 | 439k | return a == b; | 47 | 439k | } |
_ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 45.8M | static bool equal(const T& a, const T& b) { | 46 | 45.8M | return a == b; | 47 | 45.8M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 3.50M | static bool equal(const T& a, const T& b) { | 46 | 3.50M | return a == b; | 47 | 3.50M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 799k | static bool equal(const T& a, const T& b) { | 46 | 799k | return a == b; | 47 | 799k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 261 | static bool equal(const T& a, const T& b) { | 46 | 261 | return a == b; | 47 | 261 | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 471 | static bool equal(const T& a, const T& b) { | 46 | 471 | return a == b; | 47 | 471 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 746 | static bool equal(const T& a, const T& b) { | 46 | 746 | return a == b; | 47 | 746 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 701k | static bool equal(const T& a, const T& b) { | 46 | 701k | return a == b; | 47 | 701k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 405 | static bool equal(const T& a, const T& b) { | 46 | 405 | return a == b; | 47 | 405 | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 2.92M | static bool equal(const T& a, const T& b) { | 46 | 2.92M | return a == b; | 47 | 2.92M | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 45 | 397k | static bool equal(const T& a, const T& b) { | 46 | 397k | return a == b; | 47 | 397k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 525k | static bool equal(const T& a, const T& b) { | 46 | 525k | return a == b; | 47 | 525k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 205k | static bool equal(const T& a, const T& b) { | 46 | 205k | return a == b; | 47 | 205k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 45 | 21.1k | static bool equal(const T& a, const T& b) { | 46 | 21.1k | return a == b; | 47 | 21.1k | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 2.74k | static bool equal(const T& a, const T& b) { | 46 | 2.74k | return a == b; | 47 | 2.74k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.09k | static bool equal(const T& a, const T& b) { | 46 | 1.09k | return a == b; | 47 | 1.09k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 882 | static bool equal(const T& a, const T& b) { | 46 | 882 | return a == b; | 47 | 882 | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 51.5k | static bool equal(const T& a, const T& b) { | 46 | 51.5k | return a == b; | 47 | 51.5k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 45 | 41 | static bool equal(const T& a, const T& b) { | 46 | 41 | return a == b; | 47 | 41 | } |
|
48 | | template <typename T> |
49 | 2.07M | static bool not_equal(const T& a, const T& b) { |
50 | 2.07M | return a != b; |
51 | 2.07M | } _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 1.37k | static bool not_equal(const T& a, const T& b) { | 50 | 1.37k | return a != b; | 51 | 1.37k | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 2.91k | static bool not_equal(const T& a, const T& b) { | 50 | 2.91k | return a != b; | 51 | 2.91k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 49 | 820 | static bool not_equal(const T& a, const T& b) { | 50 | 820 | return a != b; | 51 | 820 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 49 | 790k | static bool not_equal(const T& a, const T& b) { | 50 | 790k | return a != b; | 51 | 790k | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 1.27M | static bool not_equal(const T& a, const T& b) { | 50 | 1.27M | return a != b; | 51 | 1.27M | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 49 | 1.49k | static bool not_equal(const T& a, const T& b) { | 50 | 1.49k | return a != b; | 51 | 1.49k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 49 | 48 | static bool not_equal(const T& a, const T& b) { | 50 | 48 | return a != b; | 51 | 48 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 49 | 18 | static bool not_equal(const T& a, const T& b) { | 50 | 18 | return a != b; | 51 | 18 | } |
_ZN5doris7Compare9not_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 49 | 66 | static bool not_equal(const T& a, const T& b) { | 50 | 66 | return a != b; | 51 | 66 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 49 | 246 | static bool not_equal(const T& a, const T& b) { | 50 | 246 | return a != b; | 51 | 246 | } |
_ZN5doris7Compare9not_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 49 | 347 | static bool not_equal(const T& a, const T& b) { | 50 | 347 | return a != b; | 51 | 347 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 49 | 66 | static bool not_equal(const T& a, const T& b) { | 50 | 66 | return a != b; | 51 | 66 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 226 | static bool not_equal(const T& a, const T& b) { | 50 | 226 | return a != b; | 51 | 226 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 59 | static bool not_equal(const T& a, const T& b) { | 50 | 59 | return a != b; | 51 | 59 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 49 | 1.86k | static bool not_equal(const T& a, const T& b) { | 50 | 1.86k | return a != b; | 51 | 1.86k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIjEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIoEEbRKT_S4_ _ZN5doris7Compare9not_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 49 | 363 | static bool not_equal(const T& a, const T& b) { | 50 | 363 | return a != b; | 51 | 363 | } |
|
52 | | |
53 | | template <typename T> |
54 | 627M | static int compare(const T& a, const T& b) { |
55 | 627M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 627M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 6.82M | static int compare(const T& a, const T& b) { | 55 | 6.82M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 6.82M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 14.6k | static int compare(const T& a, const T& b) { | 55 | 14.6k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 14.6k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 124M | static int compare(const T& a, const T& b) { | 55 | 124M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 124M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 54 | 13.1M | static int compare(const T& a, const T& b) { | 55 | 13.1M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 13.1M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 347M | static int compare(const T& a, const T& b) { | 55 | 347M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 347M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 12.7M | static int compare(const T& a, const T& b) { | 55 | 12.7M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.7M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 52.0M | static int compare(const T& a, const T& b) { | 55 | 52.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 52.0M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 6.65k | static int compare(const T& a, const T& b) { | 55 | 6.65k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 6.65k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.70k | static int compare(const T& a, const T& b) { | 55 | 4.70k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.70k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 11.8M | static int compare(const T& a, const T& b) { | 55 | 11.8M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 11.8M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 12.9M | static int compare(const T& a, const T& b) { | 55 | 12.9M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.9M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 21.6M | static int compare(const T& a, const T& b) { | 55 | 21.6M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 21.6M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.54k | static int compare(const T& a, const T& b) { | 55 | 2.54k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.54k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 54 | 24.1k | static int compare(const T& a, const T& b) { | 55 | 24.1k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 24.1k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 54 | 429k | static int compare(const T& a, const T& b) { | 55 | 429k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 429k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 54 | 167k | static int compare(const T& a, const T& b) { | 55 | 167k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 167k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 24.0M | static int compare(const T& a, const T& b) { | 55 | 24.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 24.0M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 95.0k | static int compare(const T& a, const T& b) { | 55 | 95.0k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 95.0k | } |
|
57 | | |
58 | | template <typename T> |
59 | 56.7M | static T min(const T& a, const T& b) { |
60 | 56.7M | return less(a, b) ? a : b; |
61 | 56.7M | } _ZN5doris7Compare3minINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 59 | 5 | static T min(const T& a, const T& b) { | 60 | 5 | return less(a, b) ? a : b; | 61 | 5 | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 1.98M | static T min(const T& a, const T& b) { | 60 | 1.98M | return less(a, b) ? a : b; | 61 | 1.98M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 44.0M | static T min(const T& a, const T& b) { | 60 | 44.0M | return less(a, b) ? a : b; | 61 | 44.0M | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.56k | static T min(const T& a, const T& b) { | 60 | 2.56k | return less(a, b) ? a : b; | 61 | 2.56k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 30.2k | static T min(const T& a, const T& b) { | 60 | 30.2k | return less(a, b) ? a : b; | 61 | 30.2k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 59 | 47 | static T min(const T& a, const T& b) { | 60 | 47 | return less(a, b) ? a : b; | 61 | 47 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 59 | 51 | static T min(const T& a, const T& b) { | 60 | 51 | return less(a, b) ? a : b; | 61 | 51 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 59 | 12.8k | static T min(const T& a, const T& b) { | 60 | 12.8k | return less(a, b) ? a : b; | 61 | 12.8k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 7.68k | static T min(const T& a, const T& b) { | 60 | 7.68k | return less(a, b) ? a : b; | 61 | 7.68k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 8.24k | static T min(const T& a, const T& b) { | 60 | 8.24k | return less(a, b) ? a : b; | 61 | 8.24k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 59 | 3.50M | static T min(const T& a, const T& b) { | 60 | 3.50M | return less(a, b) ? a : b; | 61 | 3.50M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 59 | 107k | static T min(const T& a, const T& b) { | 60 | 107k | return less(a, b) ? a : b; | 61 | 107k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 921 | static T min(const T& a, const T& b) { | 60 | 921 | return less(a, b) ? a : b; | 61 | 921 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 13.3k | static T min(const T& a, const T& b) { | 60 | 13.3k | return less(a, b) ? a : b; | 61 | 13.3k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 2.16M | static T min(const T& a, const T& b) { | 60 | 2.16M | return less(a, b) ? a : b; | 61 | 2.16M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 59 | 4.12M | static T min(const T& a, const T& b) { | 60 | 4.12M | return less(a, b) ? a : b; | 61 | 4.12M | } |
_ZN5doris7Compare3minINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 59 | 4.09k | static T min(const T& a, const T& b) { | 60 | 4.09k | return less(a, b) ? a : b; | 61 | 4.09k | } |
_ZN5doris7Compare3minINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 59 | 750k | static T min(const T& a, const T& b) { | 60 | 750k | return less(a, b) ? a : b; | 61 | 750k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 59 | 366 | static T min(const T& a, const T& b) { | 60 | 366 | return less(a, b) ? a : b; | 61 | 366 | } |
|
62 | | |
63 | | template <typename T> |
64 | 78.6M | static T max(const T& a, const T& b) { |
65 | 78.6M | return greater(a, b) ? a : b; |
66 | 78.6M | } _ZN5doris7Compare3maxINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 64 | 5 | static T max(const T& a, const T& b) { | 65 | 5 | return greater(a, b) ? a : b; | 66 | 5 | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 13.9M | static T max(const T& a, const T& b) { | 65 | 13.9M | return greater(a, b) ? a : b; | 66 | 13.9M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 44.0M | static T max(const T& a, const T& b) { | 65 | 44.0M | return greater(a, b) ? a : b; | 66 | 44.0M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.56k | static T max(const T& a, const T& b) { | 65 | 2.56k | return greater(a, b) ? a : b; | 66 | 2.56k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 5.37M | static T max(const T& a, const T& b) { | 65 | 5.37M | return greater(a, b) ? a : b; | 66 | 5.37M | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 64 | 51 | static T max(const T& a, const T& b) { | 65 | 51 | return greater(a, b) ? a : b; | 66 | 51 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 64 | 57 | static T max(const T& a, const T& b) { | 65 | 57 | return greater(a, b) ? a : b; | 66 | 57 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 64 | 19.9k | static T max(const T& a, const T& b) { | 65 | 19.9k | return greater(a, b) ? a : b; | 66 | 19.9k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 15.9k | static T max(const T& a, const T& b) { | 65 | 15.9k | return greater(a, b) ? a : b; | 66 | 15.9k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 16.5k | static T max(const T& a, const T& b) { | 65 | 16.5k | return greater(a, b) ? a : b; | 66 | 16.5k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 6.43M | static T max(const T& a, const T& b) { | 65 | 6.43M | return greater(a, b) ? a : b; | 66 | 6.43M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 1.58M | static T max(const T& a, const T& b) { | 65 | 1.58M | return greater(a, b) ? a : b; | 66 | 1.58M | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 2.12k | static T max(const T& a, const T& b) { | 65 | 2.12k | return greater(a, b) ? a : b; | 66 | 2.12k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 21.4k | static T max(const T& a, const T& b) { | 65 | 21.4k | return greater(a, b) ? a : b; | 66 | 21.4k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 2.92M | static T max(const T& a, const T& b) { | 65 | 2.92M | return greater(a, b) ? a : b; | 66 | 2.92M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 64 | 4.14M | static T max(const T& a, const T& b) { | 65 | 4.14M | return greater(a, b) ? a : b; | 66 | 4.14M | } |
_ZN5doris7Compare3maxINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 64 | 4.09k | static T max(const T& a, const T& b) { | 65 | 4.09k | return greater(a, b) ? a : b; | 66 | 4.09k | } |
_ZN5doris7Compare3maxINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 64 | 11.5k | static T max(const T& a, const T& b) { | 65 | 11.5k | return greater(a, b) ? a : b; | 66 | 11.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 64 | 370 | static T max(const T& a, const T& b) { | 65 | 370 | return greater(a, b) ? a : b; | 66 | 370 | } |
|
67 | | |
68 | | template <typename T> |
69 | 3.04M | static T min_value() { |
70 | 3.04M | return type_limit<T>::min(); |
71 | 3.04M | } _ZN5doris7Compare9min_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 69 | 1 | static T min_value() { | 70 | 1 | return type_limit<T>::min(); | 71 | 1 | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 69 | 14.8k | static T min_value() { | 70 | 14.8k | return type_limit<T>::min(); | 71 | 14.8k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 17.3k | static T min_value() { | 70 | 17.3k | return type_limit<T>::min(); | 71 | 17.3k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 69 | 1.83k | static T min_value() { | 70 | 1.83k | return type_limit<T>::min(); | 71 | 1.83k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 69 | 300k | static T min_value() { | 70 | 300k | return type_limit<T>::min(); | 71 | 300k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 48 | static T min_value() { | 70 | 48 | return type_limit<T>::min(); | 71 | 48 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 52 | static T min_value() { | 70 | 52 | return type_limit<T>::min(); | 71 | 52 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 359 | static T min_value() { | 70 | 359 | return type_limit<T>::min(); | 71 | 359 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 1.59k | static T min_value() { | 70 | 1.59k | return type_limit<T>::min(); | 71 | 1.59k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 2.68k | static T min_value() { | 70 | 2.68k | return type_limit<T>::min(); | 71 | 2.68k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 1.34M | static T min_value() { | 70 | 1.34M | return type_limit<T>::min(); | 71 | 1.34M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 1.31M | static T min_value() { | 70 | 1.31M | return type_limit<T>::min(); | 71 | 1.31M | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 1.36k | static T min_value() { | 70 | 1.36k | return type_limit<T>::min(); | 71 | 1.36k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 15.2k | static T min_value() { | 70 | 15.2k | return type_limit<T>::min(); | 71 | 15.2k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 5.73k | static T min_value() { | 70 | 5.73k | return type_limit<T>::min(); | 71 | 5.73k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 20.1k | static T min_value() { | 70 | 20.1k | return type_limit<T>::min(); | 71 | 20.1k | } |
_ZN5doris7Compare9min_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 69 | 4.09k | static T min_value() { | 70 | 4.09k | return type_limit<T>::min(); | 71 | 4.09k | } |
_ZN5doris7Compare9min_valueINS_12Decimal128V3EEET_v Line | Count | Source | 69 | 950 | static T min_value() { | 70 | 950 | return type_limit<T>::min(); | 71 | 950 | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 184 | static T min_value() { | 70 | 184 | return type_limit<T>::min(); | 71 | 184 | } |
|
72 | | |
73 | | template <typename T> |
74 | 277k | static T max_value() { |
75 | 277k | return type_limit<T>::max(); |
76 | 277k | } _ZN5doris7Compare9max_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 74 | 1 | static T max_value() { | 75 | 1 | return type_limit<T>::max(); | 76 | 1 | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 74 | 3.96k | static T max_value() { | 75 | 3.96k | return type_limit<T>::max(); | 76 | 3.96k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 1.28k | static T max_value() { | 75 | 1.28k | return type_limit<T>::max(); | 76 | 1.28k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 74 | 1.83k | static T max_value() { | 75 | 1.83k | return type_limit<T>::max(); | 76 | 1.83k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 74 | 28 | static T max_value() { | 75 | 28 | return type_limit<T>::max(); | 76 | 28 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 74 | 28 | static T max_value() { | 75 | 28 | return type_limit<T>::max(); | 76 | 28 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 74 | 191 | static T max_value() { | 75 | 191 | return type_limit<T>::max(); | 76 | 191 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 666 | static T max_value() { | 75 | 666 | return type_limit<T>::max(); | 76 | 666 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 645 | static T max_value() { | 75 | 645 | return type_limit<T>::max(); | 76 | 645 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 74 | 213k | static T max_value() { | 75 | 213k | return type_limit<T>::max(); | 76 | 213k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 74 | 43.9k | static T max_value() { | 75 | 43.9k | return type_limit<T>::max(); | 76 | 43.9k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 504 | static T max_value() { | 75 | 504 | return type_limit<T>::max(); | 76 | 504 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 416 | static T max_value() { | 75 | 416 | return type_limit<T>::max(); | 76 | 416 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 5.40k | static T max_value() { | 75 | 5.40k | return type_limit<T>::max(); | 76 | 5.40k | } |
_ZN5doris7Compare9max_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 74 | 4.09k | static T max_value() { | 75 | 4.09k | return type_limit<T>::max(); | 76 | 4.09k | } |
_ZN5doris7Compare9max_valueINS_12Decimal128V3EEET_v Line | Count | Source | 74 | 688 | static T max_value() { | 75 | 688 | return type_limit<T>::max(); | 76 | 688 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 172 | static T max_value() { | 75 | 172 | return type_limit<T>::max(); | 76 | 172 | } |
|
77 | | }; |
78 | | |
79 | | template <typename T> |
80 | 1.30M | bool EqualsFloat(T left, T right) { |
81 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
82 | 199 | return true; |
83 | 199 | } |
84 | 1.30M | return left == right; |
85 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 1.19k | bool EqualsFloat(T left, T right) { | 81 | 1.19k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 23 | return true; | 83 | 23 | } | 84 | 1.17k | return left == right; | 85 | 1.19k | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 80 | 1.30M | bool EqualsFloat(T left, T right) { | 81 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 176 | return true; | 83 | 176 | } | 84 | 1.30M | return left == right; | 85 | 1.30M | } |
|
86 | | |
87 | | template <typename T> |
88 | 6.84M | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 6.84M | bool left_is_nan = std::isnan(left); |
91 | 6.84M | bool right_is_nan = std::isnan(right); |
92 | 6.84M | if (UNLIKELY(right_is_nan)) { |
93 | 463 | return false; |
94 | 463 | } |
95 | 6.84M | if (UNLIKELY(left_is_nan)) { |
96 | 29.3k | return true; |
97 | 29.3k | } |
98 | 6.81M | return left > right; |
99 | 6.84M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 52.1k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 52.1k | bool left_is_nan = std::isnan(left); | 91 | 52.1k | bool right_is_nan = std::isnan(right); | 92 | 52.1k | if (UNLIKELY(right_is_nan)) { | 93 | 98 | return false; | 94 | 98 | } | 95 | 52.0k | if (UNLIKELY(left_is_nan)) { | 96 | 11.8k | return true; | 97 | 11.8k | } | 98 | 40.2k | return left > right; | 99 | 52.0k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 6.79M | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 6.79M | bool left_is_nan = std::isnan(left); | 91 | 6.79M | bool right_is_nan = std::isnan(right); | 92 | 6.79M | if (UNLIKELY(right_is_nan)) { | 93 | 365 | return false; | 94 | 365 | } | 95 | 6.78M | if (UNLIKELY(left_is_nan)) { | 96 | 17.5k | return true; | 97 | 17.5k | } | 98 | 6.77M | return left > right; | 99 | 6.78M | } |
|
100 | | |
101 | | template <typename T> |
102 | 715k | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 715k | bool left_is_nan = std::isnan(left); |
105 | 715k | bool right_is_nan = std::isnan(right); |
106 | 715k | if (UNLIKELY(right_is_nan)) { |
107 | 356 | return left_is_nan; |
108 | 356 | } |
109 | 714k | if (UNLIKELY(left_is_nan)) { |
110 | 549 | return true; |
111 | 549 | } |
112 | 714k | return left >= right; |
113 | 714k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 1.08k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.08k | bool left_is_nan = std::isnan(left); | 105 | 1.08k | bool right_is_nan = std::isnan(right); | 106 | 1.08k | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 1.03k | if (UNLIKELY(left_is_nan)) { | 110 | 101 | return true; | 111 | 101 | } | 112 | 932 | return left >= right; | 113 | 1.03k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 714k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 714k | bool left_is_nan = std::isnan(left); | 105 | 714k | bool right_is_nan = std::isnan(right); | 106 | 714k | if (UNLIKELY(right_is_nan)) { | 107 | 308 | return left_is_nan; | 108 | 308 | } | 109 | 713k | if (UNLIKELY(left_is_nan)) { | 110 | 448 | return true; | 111 | 448 | } | 112 | 713k | return left >= right; | 113 | 713k | } |
|
114 | | |
115 | | template <typename T> |
116 | 14.7M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 14.7M | bool left_is_nan = std::isnan(left); |
119 | 14.7M | bool right_is_nan = std::isnan(right); |
120 | 14.7M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
121 | 5.19k | if (left_is_nan && right_is_nan) { |
122 | 1.89k | return 0; |
123 | 1.89k | } |
124 | 3.30k | if (left_is_nan) { |
125 | 905 | return 1; |
126 | 2.39k | } else { |
127 | 2.39k | return -1; |
128 | 2.39k | } |
129 | 3.30k | } |
130 | 14.7M | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 14.7M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 6.22M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 6.22M | bool left_is_nan = std::isnan(left); | 119 | 6.22M | bool right_is_nan = std::isnan(right); | 120 | 6.22M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.34k | if (left_is_nan && right_is_nan) { | 122 | 844 | return 0; | 123 | 844 | } | 124 | 1.50k | if (left_is_nan) { | 125 | 408 | return 1; | 126 | 1.09k | } else { | 127 | 1.09k | return -1; | 128 | 1.09k | } | 129 | 1.50k | } | 130 | 6.22M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 6.22M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 8.52M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 8.52M | bool left_is_nan = std::isnan(left); | 119 | 8.52M | bool right_is_nan = std::isnan(right); | 120 | 8.52M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.84k | if (left_is_nan && right_is_nan) { | 122 | 1.04k | return 0; | 123 | 1.04k | } | 124 | 1.79k | if (left_is_nan) { | 125 | 497 | return 1; | 126 | 1.29k | } else { | 127 | 1.29k | return -1; | 128 | 1.29k | } | 129 | 1.79k | } | 130 | 8.52M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 8.52M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 14.7k | inline bool Compare::less(const float& a, const float& b) { |
136 | 14.7k | return GreaterThanFloat(b, a); |
137 | 14.7k | } |
138 | | template <> |
139 | 37.4k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 37.4k | return GreaterThanFloat(a, b); |
141 | 37.4k | } |
142 | | template <> |
143 | 540 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 540 | return GreaterThanEqualsFloat(b, a); |
145 | 540 | } |
146 | | template <> |
147 | 542 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 542 | return GreaterThanEqualsFloat(a, b); |
149 | 542 | } |
150 | | template <> |
151 | 1.00k | inline bool Compare::equal(const float& a, const float& b) { |
152 | 1.00k | return EqualsFloat(a, b); |
153 | 1.00k | } |
154 | | template <> |
155 | 189 | inline bool Compare::not_equal(const float& a, const float& b) { |
156 | 189 | return !EqualsFloat(a, b); |
157 | 189 | } |
158 | | template <> |
159 | 6.22M | inline int Compare::compare(const float& a, const float& b) { |
160 | 6.22M | return CompareFloat(a, b); |
161 | 6.22M | } |
162 | | template <> |
163 | 342 | inline float Compare::max_value<float>() { |
164 | 342 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 342 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 994k | inline bool Compare::less(const double& a, const double& b) { |
170 | 994k | return GreaterThanFloat(b, a); |
171 | 994k | } |
172 | | template <> |
173 | 5.79M | inline bool Compare::greater(const double& a, const double& b) { |
174 | 5.79M | return GreaterThanFloat(a, b); |
175 | 5.79M | } |
176 | | template <> |
177 | 276k | inline bool Compare::less_equal(const double& a, const double& b) { |
178 | 276k | return GreaterThanEqualsFloat(b, a); |
179 | 276k | } |
180 | | template <> |
181 | 437k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 437k | return GreaterThanEqualsFloat(a, b); |
183 | 437k | } |
184 | | template <> |
185 | 1.30M | inline bool Compare::equal(const double& a, const double& b) { |
186 | 1.30M | return EqualsFloat(a, b); |
187 | 1.30M | } |
188 | | template <> |
189 | 554 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 554 | return !EqualsFloat(a, b); |
191 | 554 | } |
192 | | template <> |
193 | 8.52M | inline int Compare::compare(const double& a, const double& b) { |
194 | 8.52M | return CompareFloat(a, b); |
195 | 8.52M | } |
196 | | template <> |
197 | 774 | inline double Compare::max_value<double>() { |
198 | 774 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 774 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 1.14M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 565 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 529 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 1.11M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 16.6k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 55 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 46 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 40 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 203 | 5.63k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 310 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 3.17k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 305 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 601 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
Unexecuted instantiation: _ZNK5doris4LessINS_14DecimalV2ValueEEclERKS1_S4_ _ZNK5doris4LessIhEclERKhS3_ Line | Count | Source | 203 | 79 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 203 | 84 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 1.03k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 84 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 203 | 45 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
204 | | }; |
205 | | template <> |
206 | 290 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 290 | return Compare::less(lhs, rhs); |
208 | 290 | } |
209 | | template <> |
210 | 79 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 79 | return Compare::less(lhs, rhs); |
212 | 79 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 96.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 22.6M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 4.77k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 4.41k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 12.9M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 35.8M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 233 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 216 | 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 | 216 | 3.05k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 216 | 2.05k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 216 | 703 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 216 | 59.5k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 7.49M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 216 | 13 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 216 | 16 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 216 | 10 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 216 | 804 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 131 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 1.03k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 216 | 9.44k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 216 | 17.4M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 48.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 1.22k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
Unexecuted instantiation: _ZNK5doris7EqualToIN4wide7integerILm256EiEEEclERKS3_S6_ _ZNK5doris7EqualToIN4wide7integerILm256EjEEEclERKS3_S6_ Line | Count | Source | 216 | 103k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 216 | 4.09k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt104EEclERKS1_S4_ Line | Count | Source | 216 | 1.70k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 216 | 13.5k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 138k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 17.6k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
217 | | }; |
218 | | template <> |
219 | 45 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 45 | return Compare::equal(lhs, rhs); |
221 | 45 | } |
222 | | template <> |
223 | 530 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
224 | 530 | return Compare::equal(lhs, rhs); |
225 | 530 | } |
226 | | |
227 | | template <typename T> |
228 | | requires(std::is_floating_point_v<T>) |
229 | 557k | void NormalizeFloat(T& val) { |
230 | 557k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 49.8k | val = (T)0.0; |
233 | 507k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 557k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 21.6k | void NormalizeFloat(T& val) { | 230 | 21.6k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 1.44k | val = (T)0.0; | 233 | 20.1k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 21.6k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 536k | void NormalizeFloat(T& val) { | 230 | 536k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 48.4k | val = (T)0.0; | 233 | 487k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 536k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |