/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 | 33.6M | static bool less(const T& a, const T& b) { |
29 | 33.6M | return a < b; |
30 | 33.6M | } _ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 27.3k | static bool less(const T& a, const T& b) { | 29 | 27.3k | return a < b; | 30 | 27.3k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 10.5k | static bool less(const T& a, const T& b) { | 29 | 10.5k | return a < b; | 30 | 10.5k | } |
_ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 10.1M | static bool less(const T& a, const T& b) { | 29 | 10.1M | return a < b; | 30 | 10.1M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 359k | static bool less(const T& a, const T& b) { | 29 | 359k | return a < b; | 30 | 359k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 291k | static bool less(const T& a, const T& b) { | 29 | 291k | return a < b; | 30 | 291k | } |
_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 | 1.34k | static bool less(const T& a, const T& b) { | 29 | 1.34k | return a < b; | 30 | 1.34k | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 4.85M | static bool less(const T& a, const T& b) { | 29 | 4.85M | return a < b; | 30 | 4.85M | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 11.2k | static bool less(const T& a, const T& b) { | 29 | 11.2k | return a < b; | 30 | 11.2k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 2.94k | static bool less(const T& a, const T& b) { | 29 | 2.94k | return a < b; | 30 | 2.94k | } |
_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 | 62.8k | static bool less(const T& a, const T& b) { | 29 | 62.8k | return a < b; | 30 | 62.8k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 2.18k | static bool less(const T& a, const T& b) { | 29 | 2.18k | return a < b; | 30 | 2.18k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 16.0M | static bool less(const T& a, const T& b) { | 29 | 16.0M | return a < b; | 30 | 16.0M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 1.73M | static bool less(const T& a, const T& b) { | 29 | 1.73M | return a < b; | 30 | 1.73M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 7.31k | static bool less(const T& a, const T& b) { | 29 | 7.31k | return a < b; | 30 | 7.31k | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 3.78k | static bool less(const T& a, const T& b) { | 29 | 3.78k | return a < b; | 30 | 3.78k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 2.27k | static bool less(const T& a, const T& b) { | 29 | 2.27k | return a < b; | 30 | 2.27k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 2.31k | static bool less(const T& a, const T& b) { | 29 | 2.31k | return a < b; | 30 | 2.31k | } |
_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 | 31.1M | static bool greater(const T& a, const T& b) { |
33 | 31.1M | return a > b; |
34 | 31.1M | } _ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 267k | static bool greater(const T& a, const T& b) { | 33 | 267k | return a > b; | 34 | 267k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 55.2k | static bool greater(const T& a, const T& b) { | 33 | 55.2k | return a > b; | 34 | 55.2k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 17.6M | static bool greater(const T& a, const T& b) { | 33 | 17.6M | return a > b; | 34 | 17.6M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 880k | static bool greater(const T& a, const T& b) { | 33 | 880k | return a > b; | 34 | 880k | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 912k | static bool greater(const T& a, const T& b) { | 33 | 912k | return a > b; | 34 | 912k | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 4.76k | static bool greater(const T& a, const T& b) { | 33 | 4.76k | return a > b; | 34 | 4.76k | } |
_ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 21.5k | static bool greater(const T& a, const T& b) { | 33 | 21.5k | return a > b; | 34 | 21.5k | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 2.75M | static bool greater(const T& a, const T& b) { | 33 | 2.75M | return a > b; | 34 | 2.75M | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 24.2k | static bool greater(const T& a, const T& b) { | 33 | 24.2k | return a > b; | 34 | 24.2k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 2.25k | static bool greater(const T& a, const T& b) { | 33 | 2.25k | return a > b; | 34 | 2.25k | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 1.29k | static bool greater(const T& a, const T& b) { | 33 | 1.29k | return a > b; | 34 | 1.29k | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 686k | static bool greater(const T& a, const T& b) { | 33 | 686k | return a > b; | 34 | 686k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 6.49k | static bool greater(const T& a, const T& b) { | 33 | 6.49k | return a > b; | 34 | 6.49k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 4.95M | static bool greater(const T& a, const T& b) { | 33 | 4.95M | return a > b; | 34 | 4.95M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 2.95M | static bool greater(const T& a, const T& b) { | 33 | 2.95M | return a > b; | 34 | 2.95M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 14.9k | static bool greater(const T& a, const T& b) { | 33 | 14.9k | return a > b; | 34 | 14.9k | } |
_ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 11.8k | static bool greater(const T& a, const T& b) { | 33 | 11.8k | return a > b; | 34 | 11.8k | } |
_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.32k | static bool greater(const T& a, const T& b) { | 33 | 2.32k | return a > b; | 34 | 2.32k | } |
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 | 45.3M | static bool less_equal(const T& a, const T& b) { |
38 | 45.3M | return a <= b; |
39 | 45.3M | } _ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 1.52M | static bool less_equal(const T& a, const T& b) { | 38 | 1.52M | return a <= b; | 39 | 1.52M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 168k | static bool less_equal(const T& a, const T& b) { | 38 | 168k | return a <= b; | 39 | 168k | } |
_ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 29.9M | static bool less_equal(const T& a, const T& b) { | 38 | 29.9M | return a <= b; | 39 | 29.9M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 471k | static bool less_equal(const T& a, const T& b) { | 38 | 471k | return a <= b; | 39 | 471k | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 180k | static bool less_equal(const T& a, const T& b) { | 38 | 180k | return a <= b; | 39 | 180k | } |
_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 | 153 | static bool less_equal(const T& a, const T& b) { | 38 | 153 | return a <= b; | 39 | 153 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.56M | static bool less_equal(const T& a, const T& b) { | 38 | 4.56M | return a <= b; | 39 | 4.56M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 422k | static bool less_equal(const T& a, const T& b) { | 38 | 422k | return a <= b; | 39 | 422k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 189 | static bool less_equal(const T& a, const T& b) { | 38 | 189 | return a <= b; | 39 | 189 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 223k | static bool less_equal(const T& a, const T& b) { | 38 | 223k | return a <= b; | 39 | 223k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 299k | static bool less_equal(const T& a, const T& b) { | 38 | 299k | return a <= b; | 39 | 299k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.36M | static bool less_equal(const T& a, const T& b) { | 38 | 5.36M | return a <= b; | 39 | 5.36M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 1.79M | static bool less_equal(const T& a, const T& b) { | 38 | 1.79M | return a <= b; | 39 | 1.79M | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 734 | static bool less_equal(const T& a, const T& b) { | 38 | 734 | return a <= b; | 39 | 734 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 178k | static bool less_equal(const T& a, const T& b) { | 38 | 178k | return a <= b; | 39 | 178k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 271 | static bool less_equal(const T& a, const T& b) { | 38 | 271 | return a <= b; | 39 | 271 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 171 | static bool less_equal(const T& a, const T& b) { | 38 | 171 | return a <= b; | 39 | 171 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 211k | static bool less_equal(const T& a, const T& b) { | 38 | 211k | return a <= b; | 39 | 211k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 37 | 118 | static bool less_equal(const T& a, const T& b) { | 38 | 118 | return a <= b; | 39 | 118 | } |
|
40 | | template <typename T> |
41 | 49.2M | static bool greater_equal(const T& a, const T& b) { |
42 | 49.2M | return a >= b; |
43 | 49.2M | } _ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 1.45M | static bool greater_equal(const T& a, const T& b) { | 42 | 1.45M | return a >= b; | 43 | 1.45M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 152k | static bool greater_equal(const T& a, const T& b) { | 42 | 152k | return a >= b; | 43 | 152k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 27.0M | static bool greater_equal(const T& a, const T& b) { | 42 | 27.0M | return a >= b; | 43 | 27.0M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 261k | static bool greater_equal(const T& a, const T& b) { | 42 | 261k | return a >= b; | 43 | 261k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 324k | static bool greater_equal(const T& a, const T& b) { | 42 | 324k | return a >= b; | 43 | 324k | } |
_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 | 111 | static bool greater_equal(const T& a, const T& b) { | 42 | 111 | return a >= b; | 43 | 111 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.16M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.16M | return a >= b; | 43 | 2.16M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_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_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 165 | static bool greater_equal(const T& a, const T& b) { | 42 | 165 | return a >= b; | 43 | 165 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 220k | static bool greater_equal(const T& a, const T& b) { | 42 | 220k | return a >= b; | 43 | 220k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 213k | static bool greater_equal(const T& a, const T& b) { | 42 | 213k | return a >= b; | 43 | 213k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 16.0M | static bool greater_equal(const T& a, const T& b) { | 42 | 16.0M | return a >= b; | 43 | 16.0M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 589k | static bool greater_equal(const T& a, const T& b) { | 42 | 589k | return a >= b; | 43 | 589k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 847 | static bool greater_equal(const T& a, const T& b) { | 42 | 847 | return a >= b; | 43 | 847 | } |
_ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 226k | static bool greater_equal(const T& a, const T& b) { | 42 | 226k | return a >= b; | 43 | 226k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 472 | static bool greater_equal(const T& a, const T& b) { | 42 | 472 | return a >= b; | 43 | 472 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 378 | static bool greater_equal(const T& a, const T& b) { | 42 | 378 | return a >= b; | 43 | 378 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 131k | static bool greater_equal(const T& a, const T& b) { | 42 | 131k | return a >= b; | 43 | 131k | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 133 | static bool greater_equal(const T& a, const T& b) { | 42 | 133 | return a >= b; | 43 | 133 | } |
|
44 | | template <typename T> |
45 | 97.4M | static bool equal(const T& a, const T& b) { |
46 | 97.4M | return a == b; |
47 | 97.4M | } _ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 66.9M | static bool equal(const T& a, const T& b) { | 46 | 66.9M | return a == b; | 47 | 66.9M | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.38M | static bool equal(const T& a, const T& b) { | 46 | 1.38M | return a == b; | 47 | 1.38M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 406k | static bool equal(const T& a, const T& b) { | 46 | 406k | return a == b; | 47 | 406k | } |
_ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 22.2M | static bool equal(const T& a, const T& b) { | 46 | 22.2M | return a == b; | 47 | 22.2M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 1.43M | static bool equal(const T& a, const T& b) { | 46 | 1.43M | return a == b; | 47 | 1.43M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 804k | static bool equal(const T& a, const T& b) { | 46 | 804k | return a == b; | 47 | 804k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 781 | static bool equal(const T& a, const T& b) { | 46 | 781 | return a == b; | 47 | 781 | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 187 | static bool equal(const T& a, const T& b) { | 46 | 187 | return a == b; | 47 | 187 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 371 | static bool equal(const T& a, const T& b) { | 46 | 371 | return a == b; | 47 | 371 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 698k | static bool equal(const T& a, const T& b) { | 46 | 698k | return a == b; | 47 | 698k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 365 | static bool equal(const T& a, const T& b) { | 46 | 365 | return a == b; | 47 | 365 | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 1.71M | static bool equal(const T& a, const T& b) { | 46 | 1.71M | return a == b; | 47 | 1.71M | } |
_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 | 531k | static bool equal(const T& a, const T& b) { | 46 | 531k | return a == b; | 47 | 531k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 206k | static bool equal(const T& a, const T& b) { | 46 | 206k | return a == b; | 47 | 206k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 45 | 22.0k | static bool equal(const T& a, const T& b) { | 46 | 22.0k | return a == b; | 47 | 22.0k | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 288 | static bool equal(const T& a, const T& b) { | 46 | 288 | return a == b; | 47 | 288 | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.91k | static bool equal(const T& a, const T& b) { | 46 | 1.91k | return a == b; | 47 | 1.91k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 1.69k | static bool equal(const T& a, const T& b) { | 46 | 1.69k | return a == b; | 47 | 1.69k | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 563k | static bool equal(const T& a, const T& b) { | 46 | 563k | return a == b; | 47 | 563k | } |
_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 | 1.89M | static bool not_equal(const T& a, const T& b) { |
50 | 1.89M | return a != b; |
51 | 1.89M | } _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 650 | static bool not_equal(const T& a, const T& b) { | 50 | 650 | return a != b; | 51 | 650 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 2.93k | static bool not_equal(const T& a, const T& b) { | 50 | 2.93k | return a != b; | 51 | 2.93k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 49 | 44 | static bool not_equal(const T& a, const T& b) { | 50 | 44 | return a != b; | 51 | 44 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 49 | 1.64M | static bool not_equal(const T& a, const T& b) { | 50 | 1.64M | return a != b; | 51 | 1.64M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 240k | static bool not_equal(const T& a, const T& b) { | 50 | 240k | return a != b; | 51 | 240k | } |
_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 | } |
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 | 365 | static bool not_equal(const T& a, const T& b) { | 50 | 365 | return a != b; | 51 | 365 | } |
_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.87k | static bool not_equal(const T& a, const T& b) { | 50 | 1.87k | return a != b; | 51 | 1.87k | } |
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 | 615M | static int compare(const T& a, const T& b) { |
55 | 615M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 615M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 5.26M | static int compare(const T& a, const T& b) { | 55 | 5.26M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 5.26M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 19.6k | static int compare(const T& a, const T& b) { | 55 | 19.6k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 19.6k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 122M | static int compare(const T& a, const T& b) { | 55 | 122M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 122M | } |
_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 | 345M | static int compare(const T& a, const T& b) { | 55 | 345M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 345M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 11.9M | static int compare(const T& a, const T& b) { | 55 | 11.9M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 11.9M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 47.7M | static int compare(const T& a, const T& b) { | 55 | 47.7M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 47.7M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 6.30k | static int compare(const T& a, const T& b) { | 55 | 6.30k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 6.30k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.59k | static int compare(const T& a, const T& b) { | 55 | 4.59k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.59k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 13.0M | static int compare(const T& a, const T& b) { | 55 | 13.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 13.0M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 14.3M | static int compare(const T& a, const T& b) { | 55 | 14.3M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 14.3M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 20.1M | static int compare(const T& a, const T& b) { | 55 | 20.1M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 20.1M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.81k | static int compare(const T& a, const T& b) { | 55 | 2.81k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.81k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 54 | 23.8k | static int compare(const T& a, const T& b) { | 55 | 23.8k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 23.8k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 54 | 210k | static int compare(const T& a, const T& b) { | 55 | 210k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 210k | } |
_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.7M | static int compare(const T& a, const T& b) { | 55 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 20.7M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 96.4k | static int compare(const T& a, const T& b) { | 55 | 96.4k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 96.4k | } |
|
57 | | |
58 | | template <typename T> |
59 | 8.25M | static T min(const T& a, const T& b) { |
60 | 8.25M | return less(a, b) ? a : b; |
61 | 8.25M | } _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.05k | static T min(const T& a, const T& b) { | 60 | 3.05k | return less(a, b) ? a : b; | 61 | 3.05k | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.79k | static T min(const T& a, const T& b) { | 60 | 2.79k | return less(a, b) ? a : b; | 61 | 2.79k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 17.8k | static T min(const T& a, const T& b) { | 60 | 17.8k | return less(a, b) ? a : b; | 61 | 17.8k | } |
_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 | 454 | static T min(const T& a, const T& b) { | 60 | 454 | return less(a, b) ? a : b; | 61 | 454 | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 1.32k | static T min(const T& a, const T& b) { | 60 | 1.32k | return less(a, b) ? a : b; | 61 | 1.32k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 1.27k | static T min(const T& a, const T& b) { | 60 | 1.27k | return less(a, b) ? a : b; | 61 | 1.27k | } |
_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 | 93.4k | static T min(const T& a, const T& b) { | 60 | 93.4k | return less(a, b) ? a : b; | 61 | 93.4k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 1.05k | static T min(const T& a, const T& b) { | 60 | 1.05k | return less(a, b) ? a : b; | 61 | 1.05k | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 986 | static T min(const T& a, const T& b) { | 60 | 986 | return less(a, b) ? a : b; | 61 | 986 | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 718 | static T min(const T& a, const T& b) { | 60 | 718 | return less(a, b) ? a : b; | 61 | 718 | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 59 | 2.68M | static T min(const T& a, const T& b) { | 60 | 2.68M | return less(a, b) ? a : b; | 61 | 2.68M | } |
_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.1k | static T min(const T& a, const T& b) { | 60 | 10.1k | return less(a, b) ? a : b; | 61 | 10.1k | } |
_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.09M | static T max(const T& a, const T& b) { |
65 | 9.09M | return greater(a, b) ? a : b; |
66 | 9.09M | } _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 | 5.58k | static T max(const T& a, const T& b) { | 65 | 5.58k | return greater(a, b) ? a : b; | 66 | 5.58k | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.79k | static T max(const T& a, const T& b) { | 65 | 2.79k | return greater(a, b) ? a : b; | 66 | 2.79k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 4.08k | static T max(const T& a, const T& b) { | 65 | 4.08k | return greater(a, b) ? a : b; | 66 | 4.08k | } |
_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 | 1.51k | static T max(const T& a, const T& b) { | 65 | 1.51k | return greater(a, b) ? a : b; | 66 | 1.51k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 3.71k | static T max(const T& a, const T& b) { | 65 | 3.71k | return greater(a, b) ? a : b; | 66 | 3.71k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 3.53k | static T max(const T& a, const T& b) { | 65 | 3.53k | return greater(a, b) ? a : b; | 66 | 3.53k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 4.26M | static T max(const T& a, const T& b) { | 65 | 4.26M | return greater(a, b) ? a : b; | 66 | 4.26M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 105k | static T max(const T& a, const T& b) { | 65 | 105k | return greater(a, b) ? a : b; | 66 | 105k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 3.34k | static T max(const T& a, const T& b) { | 65 | 3.34k | return greater(a, b) ? a : b; | 66 | 3.34k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 3.34k | static T max(const T& a, const T& b) { | 65 | 3.34k | return greater(a, b) ? a : b; | 66 | 3.34k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 12.1k | static T max(const T& a, const T& b) { | 65 | 12.1k | return greater(a, b) ? a : b; | 66 | 12.1k | } |
_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 | 13.3k | static T max(const T& a, const T& b) { | 65 | 13.3k | return greater(a, b) ? a : b; | 66 | 13.3k | } |
_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.11M | static T min_value() { |
70 | 1.11M | return type_limit<T>::min(); |
71 | 1.11M | } _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.99k | static T min_value() { | 70 | 5.99k | return type_limit<T>::min(); | 71 | 5.99k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 2.49k | static T min_value() { | 70 | 2.49k | return type_limit<T>::min(); | 71 | 2.49k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 69 | 2.01k | static T min_value() { | 70 | 2.01k | return type_limit<T>::min(); | 71 | 2.01k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 69 | 2.35k | static T min_value() { | 70 | 2.35k | return type_limit<T>::min(); | 71 | 2.35k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 28 | static T min_value() { | 70 | 28 | return type_limit<T>::min(); | 71 | 28 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 28 | static T min_value() { | 70 | 28 | return type_limit<T>::min(); | 71 | 28 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 213 | static T min_value() { | 70 | 213 | return type_limit<T>::min(); | 71 | 213 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 2.11k | static T min_value() { | 70 | 2.11k | return type_limit<T>::min(); | 71 | 2.11k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 2.32k | static T min_value() { | 70 | 2.32k | return type_limit<T>::min(); | 71 | 2.32k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 1.03M | static T min_value() { | 70 | 1.03M | return type_limit<T>::min(); | 71 | 1.03M | } |
_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 | 2.05k | static T min_value() { | 70 | 2.05k | return type_limit<T>::min(); | 71 | 2.05k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 2.40k | static T min_value() { | 70 | 2.40k | return type_limit<T>::min(); | 71 | 2.40k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 6.13k | static T min_value() { | 70 | 6.13k | return type_limit<T>::min(); | 71 | 6.13k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 6.09k | static T min_value() { | 70 | 6.09k | return type_limit<T>::min(); | 71 | 6.09k | } |
_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 | 2.01k | static T min_value() { | 70 | 2.01k | return type_limit<T>::min(); | 71 | 2.01k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 164 | static T min_value() { | 70 | 164 | return type_limit<T>::min(); | 71 | 164 | } |
|
72 | | |
73 | | template <typename T> |
74 | 273k | static T max_value() { |
75 | 273k | return type_limit<T>::max(); |
76 | 273k | } _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.77k | static T max_value() { | 75 | 4.77k | return type_limit<T>::max(); | 76 | 4.77k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 636 | static T max_value() { | 75 | 636 | return type_limit<T>::max(); | 76 | 636 | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 74 | 2.01k | static T max_value() { | 75 | 2.01k | return type_limit<T>::max(); | 76 | 2.01k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 74 | 27 | static T max_value() { | 75 | 27 | return type_limit<T>::max(); | 76 | 27 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 74 | 27 | static T max_value() { | 75 | 27 | return type_limit<T>::max(); | 76 | 27 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 74 | 113 | static T max_value() { | 75 | 113 | return type_limit<T>::max(); | 76 | 113 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 443 | static T max_value() { | 75 | 443 | return type_limit<T>::max(); | 76 | 443 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 308 | static T max_value() { | 75 | 308 | return type_limit<T>::max(); | 76 | 308 | } |
_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 | 42.6k | static T max_value() { | 75 | 42.6k | return type_limit<T>::max(); | 76 | 42.6k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 376 | static T max_value() { | 75 | 376 | return type_limit<T>::max(); | 76 | 376 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 161 | static T max_value() { | 75 | 161 | return type_limit<T>::max(); | 76 | 161 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 4.38k | static T max_value() { | 75 | 4.38k | return type_limit<T>::max(); | 76 | 4.38k | } |
_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 | 809 | static T max_value() { | 75 | 809 | return type_limit<T>::max(); | 76 | 809 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 163 | static T max_value() { | 75 | 163 | return type_limit<T>::max(); | 76 | 163 | } |
|
77 | | }; |
78 | | |
79 | | template <typename T> |
80 | 1.29M | bool EqualsFloat(T left, T right) { |
81 | 1.29M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
82 | 177 | return true; |
83 | 177 | } |
84 | 1.29M | return left == right; |
85 | 1.29M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 651 | bool EqualsFloat(T left, T right) { | 81 | 651 | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 11 | return true; | 83 | 11 | } | 84 | 640 | return left == right; | 85 | 651 | } |
_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 | 166 | return true; | 83 | 166 | } | 84 | 1.29M | return left == right; | 85 | 1.29M | } |
|
86 | | |
87 | | template <typename T> |
88 | 1.19M | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 1.19M | bool left_is_nan = std::isnan(left); |
91 | 1.19M | bool right_is_nan = std::isnan(right); |
92 | 1.19M | if (UNLIKELY(right_is_nan)) { |
93 | 419 | return false; |
94 | 419 | } |
95 | 1.19M | if (UNLIKELY(left_is_nan)) { |
96 | 20.2k | return true; |
97 | 20.2k | } |
98 | 1.17M | return left > right; |
99 | 1.19M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 17.3k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 17.3k | bool left_is_nan = std::isnan(left); | 91 | 17.3k | bool right_is_nan = std::isnan(right); | 92 | 17.3k | if (UNLIKELY(right_is_nan)) { | 93 | 76 | return false; | 94 | 76 | } | 95 | 17.3k | if (UNLIKELY(left_is_nan)) { | 96 | 8.47k | return true; | 97 | 8.47k | } | 98 | 8.84k | return left > right; | 99 | 17.3k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 1.18M | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 1.18M | bool left_is_nan = std::isnan(left); | 91 | 1.18M | bool right_is_nan = std::isnan(right); | 92 | 1.18M | if (UNLIKELY(right_is_nan)) { | 93 | 343 | return false; | 94 | 343 | } | 95 | 1.18M | if (UNLIKELY(left_is_nan)) { | 96 | 11.7k | return true; | 97 | 11.7k | } | 98 | 1.17M | return left > right; | 99 | 1.18M | } |
|
100 | | |
101 | | template <typename T> |
102 | 555k | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 555k | bool left_is_nan = std::isnan(left); |
105 | 555k | bool right_is_nan = std::isnan(right); |
106 | 555k | if (UNLIKELY(right_is_nan)) { |
107 | 368 | return left_is_nan; |
108 | 368 | } |
109 | 555k | if (UNLIKELY(left_is_nan)) { |
110 | 539 | return true; |
111 | 539 | } |
112 | 554k | return left >= right; |
113 | 555k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 410 | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 410 | bool left_is_nan = std::isnan(left); | 105 | 410 | bool right_is_nan = std::isnan(right); | 106 | 410 | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 362 | if (UNLIKELY(left_is_nan)) { | 110 | 85 | return true; | 111 | 85 | } | 112 | 277 | return left >= right; | 113 | 362 | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 555k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 555k | bool left_is_nan = std::isnan(left); | 105 | 555k | bool right_is_nan = std::isnan(right); | 106 | 555k | if (UNLIKELY(right_is_nan)) { | 107 | 320 | return left_is_nan; | 108 | 320 | } | 109 | 554k | if (UNLIKELY(left_is_nan)) { | 110 | 454 | return true; | 111 | 454 | } | 112 | 554k | return left >= right; | 113 | 554k | } |
|
114 | | |
115 | | template <typename T> |
116 | 45.2M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 45.2M | bool left_is_nan = std::isnan(left); |
119 | 45.2M | bool right_is_nan = std::isnan(right); |
120 | 45.2M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
121 | 5.25k | if (left_is_nan && right_is_nan) { |
122 | 1.91k | return 0; |
123 | 1.91k | } |
124 | 3.34k | if (left_is_nan) { |
125 | 941 | return 1; |
126 | 2.39k | } else { |
127 | 2.39k | return -1; |
128 | 2.39k | } |
129 | 3.34k | } |
130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 45.2M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 18.1M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 18.1M | bool left_is_nan = std::isnan(left); | 119 | 18.1M | bool right_is_nan = std::isnan(right); | 120 | 18.1M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.35k | if (left_is_nan && right_is_nan) { | 122 | 848 | return 0; | 123 | 848 | } | 124 | 1.51k | if (left_is_nan) { | 125 | 412 | return 1; | 126 | 1.09k | } else { | 127 | 1.09k | return -1; | 128 | 1.09k | } | 129 | 1.51k | } | 130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 18.1M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 27.0M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 27.0M | bool left_is_nan = std::isnan(left); | 119 | 27.0M | bool right_is_nan = std::isnan(right); | 120 | 27.0M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.89k | if (left_is_nan && right_is_nan) { | 122 | 1.06k | return 0; | 123 | 1.06k | } | 124 | 1.83k | if (left_is_nan) { | 125 | 529 | return 1; | 126 | 1.30k | } else { | 127 | 1.30k | return -1; | 128 | 1.30k | } | 129 | 1.83k | } | 130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 27.0M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 2.14k | inline bool Compare::less(const float& a, const float& b) { |
136 | 2.14k | return GreaterThanFloat(b, a); |
137 | 2.14k | } |
138 | | template <> |
139 | 15.2k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 15.2k | return GreaterThanFloat(a, b); |
141 | 15.2k | } |
142 | | template <> |
143 | 192 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 192 | return GreaterThanEqualsFloat(b, a); |
145 | 192 | } |
146 | | template <> |
147 | 218 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 218 | return GreaterThanEqualsFloat(a, b); |
149 | 218 | } |
150 | | template <> |
151 | 462 | inline bool Compare::equal(const float& a, const float& b) { |
152 | 462 | return EqualsFloat(a, b); |
153 | 462 | } |
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 | 18.1M | inline int Compare::compare(const float& a, const float& b) { |
160 | 18.1M | return CompareFloat(a, b); |
161 | 18.1M | } |
162 | | template <> |
163 | 181 | inline float Compare::max_value<float>() { |
164 | 181 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 181 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 951k | inline bool Compare::less(const double& a, const double& b) { |
170 | 951k | return GreaterThanFloat(b, a); |
171 | 951k | } |
172 | | template <> |
173 | 230k | inline bool Compare::greater(const double& a, const double& b) { |
174 | 230k | return GreaterThanFloat(a, b); |
175 | 230k | } |
176 | | template <> |
177 | 277k | inline bool Compare::less_equal(const double& a, const double& b) { |
178 | 277k | return GreaterThanEqualsFloat(b, a); |
179 | 277k | } |
180 | | template <> |
181 | 277k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 277k | return GreaterThanEqualsFloat(a, b); |
183 | 277k | } |
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 | 554 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 554 | return !EqualsFloat(a, b); |
191 | 554 | } |
192 | | template <> |
193 | 27.0M | inline int Compare::compare(const double& a, const double& b) { |
194 | 27.0M | return CompareFloat(a, b); |
195 | 27.0M | } |
196 | | template <> |
197 | 526 | inline double Compare::max_value<double>() { |
198 | 526 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 526 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 499k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 1.62k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 639 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 478k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 3.31k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 8 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_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 | 60 | 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.59k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 385 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 510 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 8.45k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 507 | 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 | 29 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
Unexecuted instantiation: _ZNK5doris4LessINS_9StringRefEEclERKS1_S4_ _ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 203 | 136 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 157 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 60 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 203 | 76 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
204 | | }; |
205 | | template <> |
206 | 312 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 312 | return Compare::less(lhs, rhs); |
208 | 312 | } |
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 | 71.6M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 21.1M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 5.02k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 4.78k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 3.43M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 37.5M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 47 | 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 | 1.71k | 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 | 1.45k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 216 | 695 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 216 | 40.2k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 5.38M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 216 | 12 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 216 | 32 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 216 | 20 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 216 | 106 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 261 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 279 | 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 | 10.2k | 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 | 44.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 955 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
Unexecuted instantiation: _ZNK5doris7EqualToIN4wide7integerILm256EiEEEclERKS3_S6_ _ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 11.1k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm256EjEEEclERKS3_S6_ Line | Count | Source | 216 | 58.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 137k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 216 | 11.3k | 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.66k | 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); } |
|
217 | | }; |
218 | | template <> |
219 | 55 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 55 | return Compare::equal(lhs, rhs); |
221 | 55 | } |
222 | | template <> |
223 | 156 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
224 | 156 | return Compare::equal(lhs, rhs); |
225 | 156 | } |
226 | | |
227 | | template <typename T> |
228 | | requires(std::is_floating_point_v<T>) |
229 | 545k | void NormalizeFloat(T& val) { |
230 | 545k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 49.5k | val = (T)0.0; |
233 | 495k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 545k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 7.97k | void NormalizeFloat(T& val) { | 230 | 7.97k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 735 | val = (T)0.0; | 233 | 7.23k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 7.97k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 537k | void NormalizeFloat(T& val) { | 230 | 537k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 48.7k | val = (T)0.0; | 233 | 488k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 537k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |