/root/doris/be/src/common/compare.h
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 | 30.3M | static bool less(const T& a, const T& b) { |
29 | 30.3M | return a < b; |
30 | 30.3M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 9.57M | static bool less(const T& a, const T& b) { | 29 | 9.57M | return a < b; | 30 | 9.57M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 378k | static bool less(const T& a, const T& b) { | 29 | 378k | return a < b; | 30 | 378k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 298k | static bool less(const T& a, const T& b) { | 29 | 298k | return a < b; | 30 | 298k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 28 | 975 | static bool less(const T& a, const T& b) { | 29 | 975 | return a < b; | 30 | 975 | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 4.04k | static bool less(const T& a, const T& b) { | 29 | 4.04k | return a < b; | 30 | 4.04k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 28.0k | static bool less(const T& a, const T& b) { | 29 | 28.0k | return a < b; | 30 | 28.0k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 10.7k | static bool less(const T& a, const T& b) { | 29 | 10.7k | return a < b; | 30 | 10.7k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 2.03k | static bool less(const T& a, const T& b) { | 29 | 2.03k | return a < b; | 30 | 2.03k | } |
_ZN5doris7Compare4lessIoEEbRKT_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 | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 3.15k | static bool less(const T& a, const T& b) { | 29 | 3.15k | return a < b; | 30 | 3.15k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 14.3M | static bool less(const T& a, const T& b) { | 29 | 14.3M | return a < b; | 30 | 14.3M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 840k | static bool less(const T& a, const T& b) { | 29 | 840k | return a < b; | 30 | 840k | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 9.43k | static bool less(const T& a, const T& b) { | 29 | 9.43k | return a < b; | 30 | 9.43k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 915 | static bool less(const T& a, const T& b) { | 29 | 915 | return a < b; | 30 | 915 | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 4.79M | static bool less(const T& a, const T& b) { | 29 | 4.79M | return a < b; | 30 | 4.79M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.22k | static bool less(const T& a, const T& b) { | 29 | 4.22k | return a < b; | 30 | 4.22k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 11.3k | static bool less(const T& a, const T& b) { | 29 | 11.3k | return a < b; | 30 | 11.3k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 3.12k | static bool less(const T& a, const T& b) { | 29 | 3.12k | return a < b; | 30 | 3.12k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 28 | 11 | static bool less(const T& a, const T& b) { | 29 | 11 | return a < b; | 30 | 11 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 28 | 63.5k | static bool less(const T& a, const T& b) { | 29 | 63.5k | return a < b; | 30 | 63.5k | } |
|
31 | | template <typename T> |
32 | 29.1M | static bool greater(const T& a, const T& b) { |
33 | 29.1M | return a > b; |
34 | 29.1M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 8.65k | static bool greater(const T& a, const T& b) { | 33 | 8.65k | return a > b; | 34 | 8.65k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 230k | static bool greater(const T& a, const T& b) { | 33 | 230k | return a > b; | 34 | 230k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 49.3k | static bool greater(const T& a, const T& b) { | 33 | 49.3k | return a > b; | 34 | 49.3k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 16.3M | static bool greater(const T& a, const T& b) { | 33 | 16.3M | return a > b; | 34 | 16.3M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 1.19M | static bool greater(const T& a, const T& b) { | 33 | 1.19M | return a > b; | 34 | 1.19M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 906k | static bool greater(const T& a, const T& b) { | 33 | 906k | return a > b; | 34 | 906k | } |
_ZN5doris7Compare7greaterIjEEbRKT_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 | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.27k | static bool greater(const T& a, const T& b) { | 33 | 2.27k | return a > b; | 34 | 2.27k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 6.15k | static bool greater(const T& a, const T& b) { | 33 | 6.15k | return a > b; | 34 | 6.15k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 5.17M | static bool greater(const T& a, const T& b) { | 33 | 5.17M | return a > b; | 34 | 5.17M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 1.74M | static bool greater(const T& a, const T& b) { | 33 | 1.74M | return a > b; | 34 | 1.74M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 24.0k | static bool greater(const T& a, const T& b) { | 33 | 24.0k | return a > b; | 34 | 24.0k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 27.3k | static bool greater(const T& a, const T& b) { | 33 | 27.3k | return a > b; | 34 | 27.3k | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 2.76M | static bool greater(const T& a, const T& b) { | 33 | 2.76M | return a > b; | 34 | 2.76M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 5.42k | static bool greater(const T& a, const T& b) { | 33 | 5.42k | return a > b; | 34 | 5.42k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 23.6k | static bool greater(const T& a, const T& b) { | 33 | 23.6k | return a > b; | 34 | 23.6k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 3.00k | static bool greater(const T& a, const T& b) { | 33 | 3.00k | return a > b; | 34 | 3.00k | } |
_ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 32 | 6 | static bool greater(const T& a, const T& b) { | 33 | 6 | return a > b; | 34 | 6 | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 926 | static bool greater(const T& a, const T& b) { | 33 | 926 | return a > b; | 34 | 926 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 699k | static bool greater(const T& a, const T& b) { | 33 | 699k | return a > b; | 34 | 699k | } |
|
35 | | |
36 | | template <typename T> |
37 | 31.5M | static bool less_equal(const T& a, const T& b) { |
38 | 31.5M | return a <= b; |
39 | 31.5M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 18.6M | static bool less_equal(const T& a, const T& b) { | 38 | 18.6M | return a <= b; | 39 | 18.6M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 275k | static bool less_equal(const T& a, const T& b) { | 38 | 275k | return a <= b; | 39 | 275k | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 226k | static bool less_equal(const T& a, const T& b) { | 38 | 226k | return a <= b; | 39 | 226k | } |
Unexecuted instantiation: _ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ _ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 163k | static bool less_equal(const T& a, const T& b) { | 38 | 163k | return a <= b; | 39 | 163k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 1.35M | static bool less_equal(const T& a, const T& b) { | 38 | 1.35M | return a <= b; | 39 | 1.35M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 295k | static bool less_equal(const T& a, const T& b) { | 38 | 295k | return a <= b; | 39 | 295k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 181 | static bool less_equal(const T& a, const T& b) { | 38 | 181 | return a <= b; | 39 | 181 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 178 | static bool less_equal(const T& a, const T& b) { | 38 | 178 | return a <= b; | 39 | 178 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 37 | 7 | static bool less_equal(const T& a, const T& b) { | 38 | 7 | return a <= b; | 39 | 7 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 37 | 211 | static bool less_equal(const T& a, const T& b) { | 38 | 211 | return a <= b; | 39 | 211 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.27M | static bool less_equal(const T& a, const T& b) { | 38 | 4.27M | return a <= b; | 39 | 4.27M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 509k | static bool less_equal(const T& a, const T& b) { | 38 | 509k | return a <= b; | 39 | 509k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 204 | static bool less_equal(const T& a, const T& b) { | 38 | 204 | return a <= b; | 39 | 204 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 219k | static bool less_equal(const T& a, const T& b) { | 38 | 219k | return a <= b; | 39 | 219k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 309k | static bool less_equal(const T& a, const T& b) { | 38 | 309k | return a <= b; | 39 | 309k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.09M | static bool less_equal(const T& a, const T& b) { | 38 | 5.09M | return a <= b; | 39 | 5.09M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.83k | static bool less_equal(const T& a, const T& b) { | 38 | 5.83k | return a <= b; | 39 | 5.83k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 3.45k | static bool less_equal(const T& a, const T& b) { | 38 | 3.45k | return a <= b; | 39 | 3.45k | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 142k | static bool less_equal(const T& a, const T& b) { | 38 | 142k | return a <= b; | 39 | 142k | } |
|
40 | | template <typename T> |
41 | 32.8M | static bool greater_equal(const T& a, const T& b) { |
42 | 32.8M | return a >= b; |
43 | 32.8M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 180k | static bool greater_equal(const T& a, const T& b) { | 42 | 180k | return a >= b; | 43 | 180k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 1.25M | static bool greater_equal(const T& a, const T& b) { | 42 | 1.25M | return a >= b; | 43 | 1.25M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 168k | static bool greater_equal(const T& a, const T& b) { | 42 | 168k | return a >= b; | 43 | 168k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 13.4M | static bool greater_equal(const T& a, const T& b) { | 42 | 13.4M | return a >= b; | 43 | 13.4M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 211k | static bool greater_equal(const T& a, const T& b) { | 42 | 211k | return a >= b; | 43 | 211k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 242k | static bool greater_equal(const T& a, const T& b) { | 42 | 242k | return a >= b; | 43 | 242k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 375 | static bool greater_equal(const T& a, const T& b) { | 42 | 375 | return a >= b; | 43 | 375 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 385 | static bool greater_equal(const T& a, const T& b) { | 42 | 385 | return a >= b; | 43 | 385 | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 15 | static bool greater_equal(const T& a, const T& b) { | 42 | 15 | return a >= b; | 43 | 15 | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 41 | 7 | static bool greater_equal(const T& a, const T& b) { | 42 | 7 | return a >= b; | 43 | 7 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 41 | 258 | static bool greater_equal(const T& a, const T& b) { | 42 | 258 | return a >= b; | 43 | 258 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.09M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.09M | return a >= b; | 43 | 2.09M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 278k | static bool greater_equal(const T& a, const T& b) { | 42 | 278k | return a >= b; | 43 | 278k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 191 | static bool greater_equal(const T& a, const T& b) { | 42 | 191 | return a >= b; | 43 | 191 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 218k | static bool greater_equal(const T& a, const T& b) { | 42 | 218k | return a >= b; | 43 | 218k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 374k | static bool greater_equal(const T& a, const T& b) { | 42 | 374k | return a >= b; | 43 | 374k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 14.1M | static bool greater_equal(const T& a, const T& b) { | 42 | 14.1M | return a >= b; | 43 | 14.1M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 15.6k | static bool greater_equal(const T& a, const T& b) { | 42 | 15.6k | return a >= b; | 43 | 15.6k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 1.08k | static bool greater_equal(const T& a, const T& b) { | 42 | 1.08k | return a >= b; | 43 | 1.08k | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 213k | static bool greater_equal(const T& a, const T& b) { | 42 | 213k | return a >= b; | 43 | 213k | } |
|
44 | | template <typename T> |
45 | 88.9M | static bool equal(const T& a, const T& b) { |
46 | 88.9M | return a == b; |
47 | 88.9M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 19.8M | static bool equal(const T& a, const T& b) { | 46 | 19.8M | return a == b; | 47 | 19.8M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 1.58M | static bool equal(const T& a, const T& b) { | 46 | 1.58M | return a == b; | 47 | 1.58M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 794k | static bool equal(const T& a, const T& b) { | 46 | 794k | return a == b; | 47 | 794k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 45 | 41 | static bool equal(const T& a, const T& b) { | 46 | 41 | return a == b; | 47 | 41 | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 45 | 400k | static bool equal(const T& a, const T& b) { | 46 | 400k | return a == b; | 47 | 400k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 527k | static bool equal(const T& a, const T& b) { | 46 | 527k | return a == b; | 47 | 527k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 201k | static bool equal(const T& a, const T& b) { | 46 | 201k | return a == b; | 47 | 201k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 45 | 37.1k | static bool equal(const T& a, const T& b) { | 46 | 37.1k | return a == b; | 47 | 37.1k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.75k | static bool equal(const T& a, const T& b) { | 46 | 1.75k | return a == b; | 47 | 1.75k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 1.72k | static bool equal(const T& a, const T& b) { | 46 | 1.72k | return a == b; | 47 | 1.72k | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 292 | static bool equal(const T& a, const T& b) { | 46 | 292 | return a == b; | 47 | 292 | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 60.9M | static bool equal(const T& a, const T& b) { | 46 | 60.9M | return a == b; | 47 | 60.9M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 406k | static bool equal(const T& a, const T& b) { | 46 | 406k | return a == b; | 47 | 406k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 314 | static bool equal(const T& a, const T& b) { | 46 | 314 | return a == b; | 47 | 314 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 576 | static bool equal(const T& a, const T& b) { | 46 | 576 | return a == b; | 47 | 576 | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 13 | static bool equal(const T& a, const T& b) { | 46 | 13 | return a == b; | 47 | 13 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 690k | static bool equal(const T& a, const T& b) { | 46 | 690k | return a == b; | 47 | 690k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 415 | static bool equal(const T& a, const T& b) { | 46 | 415 | return a == b; | 47 | 415 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.22M | static bool equal(const T& a, const T& b) { | 46 | 1.22M | return a == b; | 47 | 1.22M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 2.25M | static bool equal(const T& a, const T& b) { | 46 | 2.25M | return a == b; | 47 | 2.25M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 45.7k | static bool equal(const T& a, const T& b) { | 46 | 45.7k | return a == b; | 47 | 45.7k | } |
|
48 | | template <typename T> |
49 | 628k | static bool not_equal(const T& a, const T& b) { |
50 | 628k | return a != b; |
51 | 628k | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 687 | static bool not_equal(const T& a, const T& b) { | 50 | 687 | return a != b; | 51 | 687 | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 49 | 42 | static bool not_equal(const T& a, const T& b) { | 50 | 42 | return a != b; | 51 | 42 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 49 | 387k | static bool not_equal(const T& a, const T& b) { | 50 | 387k | return a != b; | 51 | 387k | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 234k | static bool not_equal(const T& a, const T& b) { | 50 | 234k | return a != b; | 51 | 234k | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 49 | 623 | static bool not_equal(const T& a, const T& b) { | 50 | 623 | return a != b; | 51 | 623 | } |
_ZN5doris7Compare9not_equalIjEEbRKT_S4_ Line | Count | Source | 49 | 30 | static bool not_equal(const T& a, const T& b) { | 50 | 30 | return a != b; | 51 | 30 | } |
_ZN5doris7Compare9not_equalIoEEbRKT_S4_ Line | Count | Source | 49 | 20 | static bool not_equal(const T& a, const T& b) { | 50 | 20 | return a != b; | 51 | 20 | } |
_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 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 2.73k | static bool not_equal(const T& a, const T& b) { | 50 | 2.73k | return a != b; | 51 | 2.73k | } |
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 | 322 | static bool not_equal(const T& a, const T& b) { | 50 | 322 | return a != b; | 51 | 322 | } |
_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 | 53 | static bool not_equal(const T& a, const T& b) { | 50 | 53 | return a != b; | 51 | 53 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 49 | 1.60k | static bool not_equal(const T& a, const T& b) { | 50 | 1.60k | return a != b; | 51 | 1.60k | } |
|
52 | | |
53 | | template <typename T> |
54 | 607M | static int compare(const T& a, const T& b) { |
55 | 607M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 607M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 5.76M | static int compare(const T& a, const T& b) { | 55 | 5.76M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 5.76M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 585k | static int compare(const T& a, const T& b) { | 55 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 585k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 116M | static int compare(const T& a, const T& b) { | 55 | 116M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 116M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 54 | 13.7M | static int compare(const T& a, const T& b) { | 55 | 13.7M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 13.7M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 344M | static int compare(const T& a, const T& b) { | 55 | 344M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 344M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 11.3M | static int compare(const T& a, const T& b) { | 55 | 11.3M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 11.3M | } |
_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 | 5.87k | static int compare(const T& a, const T& b) { | 55 | 5.87k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 5.87k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.97k | static int compare(const T& a, const T& b) { | 55 | 4.97k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.97k | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 17.0M | static int compare(const T& a, const T& b) { | 55 | 17.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 17.0M | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 10.0M | static int compare(const T& a, const T& b) { | 55 | 10.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 10.0M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 13.7M | static int compare(const T& a, const T& b) { | 55 | 13.7M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 13.7M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.62k | static int compare(const T& a, const T& b) { | 55 | 2.62k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.62k | } |
_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 | 208k | static int compare(const T& a, const T& b) { | 55 | 208k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 208k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 54 | 164k | static int compare(const T& a, const T& b) { | 55 | 164k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 164k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 20.9M | static int compare(const T& a, const T& b) { | 55 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 20.9M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 95.9k | static int compare(const T& a, const T& b) { | 55 | 95.9k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 95.9k | } |
|
57 | | |
58 | | template <typename T> |
59 | 8.30M | static T min(const T& a, const T& b) { |
60 | 8.30M | return less(a, b) ? a : b; |
61 | 8.30M | } _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.97M | static T min(const T& a, const T& b) { | 60 | 1.97M | return less(a, b) ? a : b; | 61 | 1.97M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 3.27k | static T min(const T& a, const T& b) { | 60 | 3.27k | return less(a, b) ? a : b; | 61 | 3.27k | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.48k | static T min(const T& a, const T& b) { | 60 | 2.48k | return less(a, b) ? a : b; | 61 | 2.48k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 17.6k | static T min(const T& a, const T& b) { | 60 | 17.6k | return less(a, b) ? a : b; | 61 | 17.6k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 59 | 31 | static T min(const T& a, const T& b) { | 60 | 31 | return less(a, b) ? a : b; | 61 | 31 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 59 | 31 | static T min(const T& a, const T& b) { | 60 | 31 | return less(a, b) ? a : b; | 61 | 31 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 59 | 342 | static T min(const T& a, const T& b) { | 60 | 342 | return less(a, b) ? a : b; | 61 | 342 | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 1.11k | static T min(const T& a, const T& b) { | 60 | 1.11k | return less(a, b) ? a : b; | 61 | 1.11k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 1.10k | static T min(const T& a, const T& b) { | 60 | 1.10k | return less(a, b) ? a : b; | 61 | 1.10k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 59 | 3.46M | static T min(const T& a, const T& b) { | 60 | 3.46M | return less(a, b) ? a : b; | 61 | 3.46M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 59 | 97.7k | static T min(const T& a, const T& b) { | 60 | 97.7k | return less(a, b) ? a : b; | 61 | 97.7k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 881 | static T min(const T& a, const T& b) { | 60 | 881 | return less(a, b) ? a : b; | 61 | 881 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 722 | static T min(const T& a, const T& b) { | 60 | 722 | return less(a, b) ? a : b; | 61 | 722 | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 212 | static T min(const T& a, const T& b) { | 60 | 212 | return less(a, b) ? a : b; | 61 | 212 | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 59 | 2.73M | static T min(const T& a, const T& b) { | 60 | 2.73M | return less(a, b) ? a : b; | 61 | 2.73M | } |
_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 | 10.0k | static T min(const T& a, const T& b) { | 60 | 10.0k | return less(a, b) ? a : b; | 61 | 10.0k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 59 | 360 | static T min(const T& a, const T& b) { | 60 | 360 | return less(a, b) ? a : b; | 61 | 360 | } |
|
62 | | |
63 | | template <typename T> |
64 | 9.07M | static T max(const T& a, const T& b) { |
65 | 9.07M | return greater(a, b) ? a : b; |
66 | 9.07M | } _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 | 1.97M | static T max(const T& a, const T& b) { | 65 | 1.97M | return greater(a, b) ? a : b; | 66 | 1.97M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 4.31k | static T max(const T& a, const T& b) { | 65 | 4.31k | return greater(a, b) ? a : b; | 66 | 4.31k | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.48k | static T max(const T& a, const T& b) { | 65 | 2.48k | return greater(a, b) ? a : b; | 66 | 2.48k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 2.86k | static T max(const T& a, const T& b) { | 65 | 2.86k | return greater(a, b) ? a : b; | 66 | 2.86k | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 64 | 27 | static T max(const T& a, const T& b) { | 65 | 27 | return greater(a, b) ? a : b; | 66 | 27 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 64 | 27 | static T max(const T& a, const T& b) { | 65 | 27 | return greater(a, b) ? a : b; | 66 | 27 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 64 | 417 | static T max(const T& a, const T& b) { | 65 | 417 | return greater(a, b) ? a : b; | 66 | 417 | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 2.28k | static T max(const T& a, const T& b) { | 65 | 2.28k | return greater(a, b) ? a : b; | 66 | 2.28k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 2.19k | static T max(const T& a, const T& b) { | 65 | 2.19k | return greater(a, b) ? a : b; | 66 | 2.19k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 4.25M | static T max(const T& a, const T& b) { | 65 | 4.25M | return greater(a, b) ? a : b; | 66 | 4.25M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 109k | static T max(const T& a, const T& b) { | 65 | 109k | return greater(a, b) ? a : b; | 66 | 109k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 2.02k | static T max(const T& a, const T& b) { | 65 | 2.02k | return greater(a, b) ? a : b; | 66 | 2.02k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 1.78k | static T max(const T& a, const T& b) { | 65 | 1.78k | return greater(a, b) ? a : b; | 66 | 1.78k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 17.8k | static T max(const T& a, const T& b) { | 65 | 17.8k | return greater(a, b) ? a : b; | 66 | 17.8k | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 64 | 2.68M | static T max(const T& a, const T& b) { | 65 | 2.68M | return greater(a, b) ? a : b; | 66 | 2.68M | } |
_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 | 12.2k | static T max(const T& a, const T& b) { | 65 | 12.2k | return greater(a, b) ? a : b; | 66 | 12.2k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 64 | 356 | static T max(const T& a, const T& b) { | 65 | 356 | return greater(a, b) ? a : b; | 66 | 356 | } |
|
67 | | |
68 | | template <typename T> |
69 | 1.10M | static T min_value() { |
70 | 1.10M | return type_limit<T>::min(); |
71 | 1.10M | } _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 | 5.87k | static T min_value() { | 70 | 5.87k | return type_limit<T>::min(); | 71 | 5.87k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 2.05k | static T min_value() { | 70 | 2.05k | return type_limit<T>::min(); | 71 | 2.05k | } |
_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 | 1.39k | static T min_value() { | 70 | 1.39k | return type_limit<T>::min(); | 71 | 1.39k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 38 | static T min_value() { | 70 | 38 | return type_limit<T>::min(); | 71 | 38 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 38 | static T min_value() { | 70 | 38 | return type_limit<T>::min(); | 71 | 38 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 138 | static T min_value() { | 70 | 138 | return type_limit<T>::min(); | 71 | 138 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 1.27k | static T min_value() { | 70 | 1.27k | return type_limit<T>::min(); | 71 | 1.27k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 1.01k | static T min_value() { | 70 | 1.01k | return type_limit<T>::min(); | 71 | 1.01k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 1.02M | static T min_value() { | 70 | 1.02M | return type_limit<T>::min(); | 71 | 1.02M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 45.0k | static T min_value() { | 70 | 45.0k | return type_limit<T>::min(); | 71 | 45.0k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 1.07k | static T min_value() { | 70 | 1.07k | return type_limit<T>::min(); | 71 | 1.07k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 891 | static T min_value() { | 70 | 891 | return type_limit<T>::min(); | 71 | 891 | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 12.8k | static T min_value() { | 70 | 12.8k | return type_limit<T>::min(); | 71 | 12.8k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 5.39k | static T min_value() { | 70 | 5.39k | return type_limit<T>::min(); | 71 | 5.39k | } |
_ZN5doris7Compare9min_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 69 | 4.09k | static T min_value() { | 70 | 4.09k | return type_limit<T>::min(); | 71 | 4.09k | } |
_ZN5doris7Compare9min_valueINS_12Decimal128V3EEET_v Line | Count | Source | 69 | 1.02k | static T min_value() { | 70 | 1.02k | return type_limit<T>::min(); | 71 | 1.02k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 194 | static T min_value() { | 70 | 194 | return type_limit<T>::min(); | 71 | 194 | } |
|
72 | | |
73 | | template <typename T> |
74 | 310k | static T max_value() { |
75 | 310k | return type_limit<T>::max(); |
76 | 310k | } _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 | 4.88k | static T max_value() { | 75 | 4.88k | return type_limit<T>::max(); | 76 | 4.88k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 659 | static T max_value() { | 75 | 659 | return type_limit<T>::max(); | 76 | 659 | } |
_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 | 26 | static T max_value() { | 75 | 26 | return type_limit<T>::max(); | 76 | 26 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 74 | 26 | static T max_value() { | 75 | 26 | return type_limit<T>::max(); | 76 | 26 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 74 | 97 | static T max_value() { | 75 | 97 | return type_limit<T>::max(); | 76 | 97 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 457 | static T max_value() { | 75 | 457 | return type_limit<T>::max(); | 76 | 457 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 275 | static T max_value() { | 75 | 275 | return type_limit<T>::max(); | 76 | 275 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 74 | 212k | static T max_value() { | 75 | 212k | return type_limit<T>::max(); | 76 | 212k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 74 | 43.7k | static T max_value() { | 75 | 43.7k | return type_limit<T>::max(); | 76 | 43.7k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 333 | static T max_value() { | 75 | 333 | return type_limit<T>::max(); | 76 | 333 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 124 | static T max_value() { | 75 | 124 | return type_limit<T>::max(); | 76 | 124 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 40.1k | static T max_value() { | 75 | 40.1k | return type_limit<T>::max(); | 76 | 40.1k | } |
_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 | 816 | static T max_value() { | 75 | 816 | return type_limit<T>::max(); | 76 | 816 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 182 | static T max_value() { | 75 | 182 | return type_limit<T>::max(); | 76 | 182 | } |
|
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 | 189 | return true; |
83 | 189 | } |
84 | 1.30M | return left == right; |
85 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 860 | bool EqualsFloat(T left, T right) { | 81 | 860 | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 15 | return true; | 83 | 15 | } | 84 | 845 | return left == right; | 85 | 860 | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 80 | 1.29M | bool EqualsFloat(T left, T right) { | 81 | 1.29M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 174 | return true; | 83 | 174 | } | 84 | 1.29M | return left == right; | 85 | 1.29M | } |
|
86 | | |
87 | | template <typename T> |
88 | 901k | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 901k | bool left_is_nan = std::isnan(left); |
91 | 901k | bool right_is_nan = std::isnan(right); |
92 | 901k | if (UNLIKELY(right_is_nan)) { |
93 | 420 | return false; |
94 | 420 | } |
95 | 901k | if (UNLIKELY(left_is_nan)) { |
96 | 18.8k | return true; |
97 | 18.8k | } |
98 | 882k | return left > right; |
99 | 901k | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 15.6k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 15.6k | bool left_is_nan = std::isnan(left); | 91 | 15.6k | bool right_is_nan = std::isnan(right); | 92 | 15.6k | if (UNLIKELY(right_is_nan)) { | 93 | 71 | return false; | 94 | 71 | } | 95 | 15.5k | if (UNLIKELY(left_is_nan)) { | 96 | 7.84k | return true; | 97 | 7.84k | } | 98 | 7.73k | return left > right; | 99 | 15.5k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 886k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 886k | bool left_is_nan = std::isnan(left); | 91 | 886k | bool right_is_nan = std::isnan(right); | 92 | 886k | if (UNLIKELY(right_is_nan)) { | 93 | 349 | return false; | 94 | 349 | } | 95 | 885k | if (UNLIKELY(left_is_nan)) { | 96 | 10.9k | return true; | 97 | 10.9k | } | 98 | 874k | return left > right; | 99 | 885k | } |
|
100 | | |
101 | | template <typename T> |
102 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 1.36M | bool left_is_nan = std::isnan(left); |
105 | 1.36M | bool right_is_nan = std::isnan(right); |
106 | 1.36M | if (UNLIKELY(right_is_nan)) { |
107 | 365 | return left_is_nan; |
108 | 365 | } |
109 | 1.36M | if (UNLIKELY(left_is_nan)) { |
110 | 515 | return true; |
111 | 515 | } |
112 | 1.36M | return left >= right; |
113 | 1.36M | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 401 | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 401 | bool left_is_nan = std::isnan(left); | 105 | 401 | bool right_is_nan = std::isnan(right); | 106 | 401 | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 353 | if (UNLIKELY(left_is_nan)) { | 110 | 80 | return true; | 111 | 80 | } | 112 | 273 | return left >= right; | 113 | 353 | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.36M | bool left_is_nan = std::isnan(left); | 105 | 1.36M | bool right_is_nan = std::isnan(right); | 106 | 1.36M | if (UNLIKELY(right_is_nan)) { | 107 | 317 | return left_is_nan; | 108 | 317 | } | 109 | 1.36M | if (UNLIKELY(left_is_nan)) { | 110 | 435 | return true; | 111 | 435 | } | 112 | 1.36M | return left >= right; | 113 | 1.36M | } |
|
114 | | |
115 | | template <typename T> |
116 | 8.72M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 8.72M | bool left_is_nan = std::isnan(left); |
119 | 8.72M | bool right_is_nan = std::isnan(right); |
120 | 8.72M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
121 | 5.19k | if (left_is_nan && right_is_nan) { |
122 | 1.90k | return 0; |
123 | 1.90k | } |
124 | 3.28k | if (left_is_nan) { |
125 | 900 | return 1; |
126 | 2.38k | } else { |
127 | 2.38k | return -1; |
128 | 2.38k | } |
129 | 3.28k | } |
130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 8.72M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 4.45M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 4.45M | bool left_is_nan = std::isnan(left); | 119 | 4.45M | bool right_is_nan = std::isnan(right); | 120 | 4.45M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.36k | if (left_is_nan && right_is_nan) { | 122 | 847 | return 0; | 123 | 847 | } | 124 | 1.51k | if (left_is_nan) { | 125 | 413 | return 1; | 126 | 1.10k | } else { | 127 | 1.10k | return -1; | 128 | 1.10k | } | 129 | 1.51k | } | 130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 4.45M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 4.27M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 4.27M | bool left_is_nan = std::isnan(left); | 119 | 4.27M | bool right_is_nan = std::isnan(right); | 120 | 4.27M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.82k | if (left_is_nan && right_is_nan) { | 122 | 1.05k | return 0; | 123 | 1.05k | } | 124 | 1.77k | if (left_is_nan) { | 125 | 487 | return 1; | 126 | 1.28k | } else { | 127 | 1.28k | return -1; | 128 | 1.28k | } | 129 | 1.77k | } | 130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 4.27M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 2.17k | inline bool Compare::less(const float& a, const float& b) { |
136 | 2.17k | return GreaterThanFloat(b, a); |
137 | 2.17k | } |
138 | | template <> |
139 | 13.4k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 13.4k | return GreaterThanFloat(a, b); |
141 | 13.4k | } |
142 | | template <> |
143 | 186 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 186 | return GreaterThanEqualsFloat(b, a); |
145 | 186 | } |
146 | | template <> |
147 | 215 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 215 | return GreaterThanEqualsFloat(a, b); |
149 | 215 | } |
150 | | template <> |
151 | 671 | inline bool Compare::equal(const float& a, const float& b) { |
152 | 671 | return EqualsFloat(a, b); |
153 | 671 | } |
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 | 4.45M | inline int Compare::compare(const float& a, const float& b) { |
160 | 4.45M | return CompareFloat(a, b); |
161 | 4.45M | } |
162 | | template <> |
163 | 139 | inline float Compare::max_value<float>() { |
164 | 139 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 139 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 687k | inline bool Compare::less(const double& a, const double& b) { |
170 | 687k | return GreaterThanFloat(b, a); |
171 | 687k | } |
172 | | template <> |
173 | 198k | inline bool Compare::greater(const double& a, const double& b) { |
174 | 198k | return GreaterThanFloat(a, b); |
175 | 198k | } |
176 | | template <> |
177 | 602k | inline bool Compare::less_equal(const double& a, const double& b) { |
178 | 602k | return GreaterThanEqualsFloat(b, a); |
179 | 602k | } |
180 | | template <> |
181 | 760k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 760k | return GreaterThanEqualsFloat(a, b); |
183 | 760k | } |
184 | | template <> |
185 | 1.29M | inline bool Compare::equal(const double& a, const double& b) { |
186 | 1.29M | return EqualsFloat(a, b); |
187 | 1.29M | } |
188 | | template <> |
189 | 555 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 555 | return !EqualsFloat(a, b); |
191 | 555 | } |
192 | | template <> |
193 | 4.27M | inline int Compare::compare(const double& a, const double& b) { |
194 | 4.27M | return CompareFloat(a, b); |
195 | 4.27M | } |
196 | | template <> |
197 | 550 | inline double Compare::max_value<double>() { |
198 | 550 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 550 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 397k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 535 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 574 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 371k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 17.5k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
Unexecuted instantiation: _ZNK5doris4LessInEclERKnS3_ _ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 68 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 57 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 203 | 4.18k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 253 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 322 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 217 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 1.03k | 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 | 35 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 203 | 122 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 460 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 72 | 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 | 287 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 287 | return Compare::less(lhs, rhs); |
208 | 287 | } |
209 | | template <> |
210 | 12 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 12 | return Compare::less(lhs, rhs); |
212 | 12 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 73.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 21.5M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 4.92k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 4.61k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 4.74M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 35.0M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 336 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 216 | 318 | 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 | 1.78k | 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 | 553 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 216 | 644 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 216 | 73.1k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 8.29M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 216 | 14 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 216 | 87 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 216 | 87 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 216 | 109 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 224 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 83 | 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 | 8.56k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 216 | 3.78M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 72.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 769 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_5FieldEEclERKS1_S4_ Line | Count | Source | 216 | 608 | 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 | 73.2k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 216 | 3.86k | 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.71k | 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.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 136k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 10.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
217 | | }; |
218 | | template <> |
219 | 171 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 171 | return Compare::equal(lhs, rhs); |
221 | 171 | } |
222 | | template <> |
223 | 256 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
224 | 256 | return Compare::equal(lhs, rhs); |
225 | 256 | } |
226 | | |
227 | | template <typename T> |
228 | | requires(std::is_floating_point_v<T>) |
229 | 410k | void NormalizeFloat(T& val) { |
230 | 410k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 45.9k | val = (T)0.0; |
233 | 364k | } else if (std::isnan(val)) { |
234 | 170 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 170 | } |
236 | 410k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 4.34k | void NormalizeFloat(T& val) { | 230 | 4.34k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 563 | val = (T)0.0; | 233 | 3.78k | } else if (std::isnan(val)) { | 234 | 48 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 48 | } | 236 | 4.34k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 406k | void NormalizeFloat(T& val) { | 230 | 406k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 45.4k | val = (T)0.0; | 233 | 360k | } else if (std::isnan(val)) { | 234 | 122 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 122 | } | 236 | 406k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |