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.3M | static bool less(const T& a, const T& b) { |
29 | 33.3M | return a < b; |
30 | 33.3M | } _ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 26.9k | static bool less(const T& a, const T& b) { | 29 | 26.9k | return a < b; | 30 | 26.9k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 10.8k | static bool less(const T& a, const T& b) { | 29 | 10.8k | return a < b; | 30 | 10.8k | } |
_ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 10.3M | static bool less(const T& a, const T& b) { | 29 | 10.3M | return a < b; | 30 | 10.3M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 500k | static bool less(const T& a, const T& b) { | 29 | 500k | return a < b; | 30 | 500k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 286k | static bool less(const T& a, const T& b) { | 29 | 286k | return a < b; | 30 | 286k | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.23k | static bool less(const T& a, const T& b) { | 29 | 4.23k | return a < b; | 30 | 4.23k | } |
_ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 1.53k | static bool less(const T& a, const T& b) { | 29 | 1.53k | return a < b; | 30 | 1.53k | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 5.05M | static bool less(const T& a, const T& b) { | 29 | 5.05M | return a < b; | 30 | 5.05M | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 11.8k | static bool less(const T& a, const T& b) { | 29 | 11.8k | return a < b; | 30 | 11.8k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 3.48k | static bool less(const T& a, const T& b) { | 29 | 3.48k | return a < b; | 30 | 3.48k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 28 | 8 | static bool less(const T& a, const T& b) { | 29 | 8 | return a < b; | 30 | 8 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 28 | 65.7k | static bool less(const T& a, const T& b) { | 29 | 65.7k | return a < b; | 30 | 65.7k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 2.10k | static bool less(const T& a, const T& b) { | 29 | 2.10k | return a < b; | 30 | 2.10k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 16.4M | static bool less(const T& a, const T& b) { | 29 | 16.4M | return a < b; | 30 | 16.4M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 516k | static bool less(const T& a, const T& b) { | 29 | 516k | return a < b; | 30 | 516k | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 6.64k | static bool less(const T& a, const T& b) { | 29 | 6.64k | return a < b; | 30 | 6.64k | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 3.59k | static bool less(const T& a, const T& b) { | 29 | 3.59k | return a < b; | 30 | 3.59k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 1.88k | static bool less(const T& a, const T& b) { | 29 | 1.88k | return a < b; | 30 | 1.88k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 1.92k | static bool less(const T& a, const T& b) { | 29 | 1.92k | return a < b; | 30 | 1.92k | } |
_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.9M | static bool greater(const T& a, const T& b) { |
33 | 31.9M | return a > b; |
34 | 31.9M | } _ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 232k | static bool greater(const T& a, const T& b) { | 33 | 232k | return a > b; | 34 | 232k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 50.5k | static bool greater(const T& a, const T& b) { | 33 | 50.5k | return a > b; | 34 | 50.5k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 18.8M | static bool greater(const T& a, const T& b) { | 33 | 18.8M | return a > b; | 34 | 18.8M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 1.31M | static bool greater(const T& a, const T& b) { | 33 | 1.31M | return a > b; | 34 | 1.31M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 1.05M | static bool greater(const T& a, const T& b) { | 33 | 1.05M | return a > b; | 34 | 1.05M | } |
_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.6k | static bool greater(const T& a, const T& b) { | 33 | 21.6k | return a > b; | 34 | 21.6k | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 2.77M | static bool greater(const T& a, const T& b) { | 33 | 2.77M | return a > b; | 34 | 2.77M | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 26.0k | static bool greater(const T& a, const T& b) { | 33 | 26.0k | return a > b; | 34 | 26.0k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 4.47k | static bool greater(const T& a, const T& b) { | 33 | 4.47k | return a > b; | 34 | 4.47k | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 1.08k | static bool greater(const T& a, const T& b) { | 33 | 1.08k | return a > b; | 34 | 1.08k | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 720k | static bool greater(const T& a, const T& b) { | 33 | 720k | return a > b; | 34 | 720k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 5.86k | static bool greater(const T& a, const T& b) { | 33 | 5.86k | return a > b; | 34 | 5.86k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 5.63M | static bool greater(const T& a, const T& b) { | 33 | 5.63M | return a > b; | 34 | 5.63M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 1.22M | static bool greater(const T& a, const T& b) { | 33 | 1.22M | return a > b; | 34 | 1.22M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 13.0k | static bool greater(const T& a, const T& b) { | 33 | 13.0k | return a > b; | 34 | 13.0k | } |
_ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 10.4k | static bool greater(const T& a, const T& b) { | 33 | 10.4k | return a > b; | 34 | 10.4k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 32 | 2.22k | static bool greater(const T& a, const T& b) { | 33 | 2.22k | return a > b; | 34 | 2.22k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.23k | static bool greater(const T& a, const T& b) { | 33 | 2.23k | return a > b; | 34 | 2.23k | } |
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 | 42.9M | static bool less_equal(const T& a, const T& b) { |
38 | 42.9M | return a <= b; |
39 | 42.9M | } _ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 1.50M | static bool less_equal(const T& a, const T& b) { | 38 | 1.50M | return a <= b; | 39 | 1.50M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 127k | static bool less_equal(const T& a, const T& b) { | 38 | 127k | return a <= b; | 39 | 127k | } |
_ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 27.3M | static bool less_equal(const T& a, const T& b) { | 38 | 27.3M | return a <= b; | 39 | 27.3M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 259k | static bool less_equal(const T& a, const T& b) { | 38 | 259k | return a <= b; | 39 | 259k | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 186k | static bool less_equal(const T& a, const T& b) { | 38 | 186k | return a <= b; | 39 | 186k | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 37 | 1 | static bool less_equal(const T& a, const T& b) { | 38 | 1 | return a <= b; | 39 | 1 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 37 | 199 | static bool less_equal(const T& a, const T& b) { | 38 | 199 | return a <= b; | 39 | 199 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.83M | static bool less_equal(const T& a, const T& b) { | 38 | 4.83M | return a <= b; | 39 | 4.83M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 471k | static bool less_equal(const T& a, const T& b) { | 38 | 471k | return a <= b; | 39 | 471k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 280 | static bool less_equal(const T& a, const T& b) { | 38 | 280 | return a <= b; | 39 | 280 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 227k | static bool less_equal(const T& a, const T& b) { | 38 | 227k | return a <= b; | 39 | 227k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 252k | static bool less_equal(const T& a, const T& b) { | 38 | 252k | return a <= b; | 39 | 252k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.50M | static bool less_equal(const T& a, const T& b) { | 38 | 5.50M | return a <= b; | 39 | 5.50M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 1.81M | static bool less_equal(const T& a, const T& b) { | 38 | 1.81M | return a <= b; | 39 | 1.81M | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 679 | static bool less_equal(const T& a, const T& b) { | 38 | 679 | return a <= b; | 39 | 679 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 221k | static bool less_equal(const T& a, const T& b) { | 38 | 221k | return a <= b; | 39 | 221k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 204 | static bool less_equal(const T& a, const T& b) { | 38 | 204 | return a <= b; | 39 | 204 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 117 | static bool less_equal(const T& a, const T& b) { | 38 | 117 | return a <= b; | 39 | 117 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 214k | static bool less_equal(const T& a, const T& b) { | 38 | 214k | return a <= b; | 39 | 214k | } |
_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 | 48.8M | static bool greater_equal(const T& a, const T& b) { |
42 | 48.8M | return a >= b; |
43 | 48.8M | } _ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 1.48M | static bool greater_equal(const T& a, const T& b) { | 42 | 1.48M | return a >= b; | 43 | 1.48M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 282k | static bool greater_equal(const T& a, const T& b) { | 42 | 282k | return a >= b; | 43 | 282k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 25.6M | static bool greater_equal(const T& a, const T& b) { | 42 | 25.6M | return a >= b; | 43 | 25.6M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 335k | static bool greater_equal(const T& a, const T& b) { | 42 | 335k | return a >= b; | 43 | 335k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 244k | static bool greater_equal(const T& a, const T& b) { | 42 | 244k | return a >= b; | 43 | 244k | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 41 | 1 | static bool greater_equal(const T& a, const T& b) { | 42 | 1 | return a >= b; | 43 | 1 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 41 | 182 | static bool greater_equal(const T& a, const T& b) { | 42 | 182 | return a >= b; | 43 | 182 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.42M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.42M | return a >= b; | 43 | 2.42M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 478k | static bool greater_equal(const T& a, const T& b) { | 42 | 478k | return a >= b; | 43 | 478k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 264 | static bool greater_equal(const T& a, const T& b) { | 42 | 264 | return a >= b; | 43 | 264 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 224k | static bool greater_equal(const T& a, const T& b) { | 42 | 224k | return a >= b; | 43 | 224k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 212k | static bool greater_equal(const T& a, const T& b) { | 42 | 212k | return a >= b; | 43 | 212k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 16.6M | static bool greater_equal(const T& a, const T& b) { | 42 | 16.6M | return a >= b; | 43 | 16.6M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 476k | static bool greater_equal(const T& a, const T& b) { | 42 | 476k | return a >= b; | 43 | 476k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 730 | static bool greater_equal(const T& a, const T& b) { | 42 | 730 | return a >= b; | 43 | 730 | } |
_ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 236k | static bool greater_equal(const T& a, const T& b) { | 42 | 236k | return a >= b; | 43 | 236k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 299 | static bool greater_equal(const T& a, const T& b) { | 42 | 299 | return a >= b; | 43 | 299 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 216 | static bool greater_equal(const T& a, const T& b) { | 42 | 216 | return a >= b; | 43 | 216 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 166k | static bool greater_equal(const T& a, const T& b) { | 42 | 166k | return a >= b; | 43 | 166k | } |
_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 | 103M | static bool equal(const T& a, const T& b) { |
46 | 103M | return a == b; |
47 | 103M | } _ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 69.8M | static bool equal(const T& a, const T& b) { | 46 | 69.8M | return a == b; | 47 | 69.8M | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.34M | static bool equal(const T& a, const T& b) { | 46 | 1.34M | return a == b; | 47 | 1.34M | } |
_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 | 25.1M | static bool equal(const T& a, const T& b) { | 46 | 25.1M | return a == b; | 47 | 25.1M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 1.47M | static bool equal(const T& a, const T& b) { | 46 | 1.47M | return a == b; | 47 | 1.47M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 802k | static bool equal(const T& a, const T& b) { | 46 | 802k | return a == b; | 47 | 802k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 765 | static bool equal(const T& a, const T& b) { | 46 | 765 | return a == b; | 47 | 765 | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 270 | static bool equal(const T& a, const T& b) { | 46 | 270 | return a == b; | 47 | 270 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 365 | static bool equal(const T& a, const T& b) { | 46 | 365 | return a == b; | 47 | 365 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 674k | static bool equal(const T& a, const T& b) { | 46 | 674k | return a == b; | 47 | 674k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 492 | static bool equal(const T& a, const T& b) { | 46 | 492 | return a == b; | 47 | 492 | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 2.19M | static bool equal(const T& a, const T& b) { | 46 | 2.19M | return a == b; | 47 | 2.19M | } |
_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 | 537k | static bool equal(const T& a, const T& b) { | 46 | 537k | return a == b; | 47 | 537k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 204k | static bool equal(const T& a, const T& b) { | 46 | 204k | return a == b; | 47 | 204k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 45 | 21.6k | static bool equal(const T& a, const T& b) { | 46 | 21.6k | return a == b; | 47 | 21.6k | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 421 | static bool equal(const T& a, const T& b) { | 46 | 421 | return a == b; | 47 | 421 | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.10k | static bool equal(const T& a, const T& b) { | 46 | 1.10k | return a == b; | 47 | 1.10k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 887 | static bool equal(const T& a, const T& b) { | 46 | 887 | return a == b; | 47 | 887 | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 822k | static bool equal(const T& a, const T& b) { | 46 | 822k | return a == b; | 47 | 822k | } |
_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.52M | static bool not_equal(const T& a, const T& b) { |
50 | 1.52M | return a != b; |
51 | 1.52M | } _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 737 | static bool not_equal(const T& a, const T& b) { | 50 | 737 | return a != b; | 51 | 737 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 2.95k | static bool not_equal(const T& a, const T& b) { | 50 | 2.95k | return a != b; | 51 | 2.95k | } |
_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 | 408k | static bool not_equal(const T& a, const T& b) { | 50 | 408k | return a != b; | 51 | 408k | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 1.11M | static bool not_equal(const T& a, const T& b) { | 50 | 1.11M | return a != b; | 51 | 1.11M | } |
_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 | 385 | static bool not_equal(const T& a, const T& b) { | 50 | 385 | return a != b; | 51 | 385 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 49 | 64 | static bool not_equal(const T& a, const T& b) { | 50 | 64 | return a != b; | 51 | 64 | } |
_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.90k | static bool not_equal(const T& a, const T& b) { | 50 | 1.90k | return a != b; | 51 | 1.90k | } |
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 | 617M | static int compare(const T& a, const T& b) { |
55 | 617M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 617M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 5.47M | static int compare(const T& a, const T& b) { | 55 | 5.47M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 5.47M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 20.2k | static int compare(const T& a, const T& b) { | 55 | 20.2k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 20.2k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 123M | static int compare(const T& a, const T& b) { | 55 | 123M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 123M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 54 | 12.1M | static int compare(const T& a, const T& b) { | 55 | 12.1M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.1M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 342M | static int compare(const T& a, const T& b) { | 55 | 342M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 342M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 12.9M | static int compare(const T& a, const T& b) { | 55 | 12.9M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.9M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 50.1M | static int compare(const T& a, const T& b) { | 55 | 50.1M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 50.1M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 7.09k | static int compare(const T& a, const T& b) { | 55 | 7.09k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 7.09k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.94k | static int compare(const T& a, const T& b) { | 55 | 4.94k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.94k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 12.5M | static int compare(const T& a, const T& b) { | 55 | 12.5M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.5M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 14.0M | static int compare(const T& a, const T& b) { | 55 | 14.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 14.0M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 23.4M | static int compare(const T& a, const T& b) { | 55 | 23.4M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 23.4M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.65k | static int compare(const T& a, const T& b) { | 55 | 2.65k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.65k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 54 | 23.4k | static int compare(const T& a, const T& b) { | 55 | 23.4k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 23.4k | } |
_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 | 166k | static int compare(const T& a, const T& b) { | 55 | 166k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 166k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 20.6M | static int compare(const T& a, const T& b) { | 55 | 20.6M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 20.6M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 95.6k | static int compare(const T& a, const T& b) { | 55 | 95.6k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 95.6k | } |
|
57 | | |
58 | | template <typename T> |
59 | 8.26M | static T min(const T& a, const T& b) { |
60 | 8.26M | return less(a, b) ? a : b; |
61 | 8.26M | } _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.53k | static T min(const T& a, const T& b) { | 60 | 3.53k | return less(a, b) ? a : b; | 61 | 3.53k | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.81k | static T min(const T& a, const T& b) { | 60 | 2.81k | return less(a, b) ? a : b; | 61 | 2.81k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 18.0k | static T min(const T& a, const T& b) { | 60 | 18.0k | return less(a, b) ? a : b; | 61 | 18.0k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 59 | 39 | static T min(const T& a, const T& b) { | 60 | 39 | return less(a, b) ? a : b; | 61 | 39 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 59 | 41 | static T min(const T& a, const T& b) { | 60 | 41 | return less(a, b) ? a : b; | 61 | 41 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 59 | 514 | static T min(const T& a, const T& b) { | 60 | 514 | return less(a, b) ? a : b; | 61 | 514 | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 1.46k | static T min(const T& a, const T& b) { | 60 | 1.46k | return less(a, b) ? a : b; | 61 | 1.46k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 1.46k | static T min(const T& a, const T& b) { | 60 | 1.46k | return less(a, b) ? a : b; | 61 | 1.46k | } |
_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.4k | static T min(const T& a, const T& b) { | 60 | 97.4k | return less(a, b) ? a : b; | 61 | 97.4k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 1.23k | static T min(const T& a, const T& b) { | 60 | 1.23k | return less(a, b) ? a : b; | 61 | 1.23k | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 1.09k | static T min(const T& a, const T& b) { | 60 | 1.09k | return less(a, b) ? a : b; | 61 | 1.09k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 806 | static T min(const T& a, const T& b) { | 60 | 806 | return less(a, b) ? a : b; | 61 | 806 | } |
_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.3k | static T min(const T& a, const T& b) { | 60 | 10.3k | return less(a, b) ? a : b; | 61 | 10.3k | } |
_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.98M | static T max(const T& a, const T& b) { |
65 | 9.98M | return greater(a, b) ? a : b; |
66 | 9.98M | } _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 | 6.92k | static T max(const T& a, const T& b) { | 65 | 6.92k | return greater(a, b) ? a : b; | 66 | 6.92k | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.81k | static T max(const T& a, const T& b) { | 65 | 2.81k | return greater(a, b) ? a : b; | 66 | 2.81k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 4.74k | static T max(const T& a, const T& b) { | 65 | 4.74k | return greater(a, b) ? a : b; | 66 | 4.74k | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 64 | 39 | static T max(const T& a, const T& b) { | 65 | 39 | return greater(a, b) ? a : b; | 66 | 39 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 64 | 42 | static T max(const T& a, const T& b) { | 65 | 42 | return greater(a, b) ? a : b; | 66 | 42 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 64 | 1.85k | static T max(const T& a, const T& b) { | 65 | 1.85k | return greater(a, b) ? a : b; | 66 | 1.85k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 4.20k | static T max(const T& a, const T& b) { | 65 | 4.20k | return greater(a, b) ? a : b; | 66 | 4.20k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 4.19k | static T max(const T& a, const T& b) { | 65 | 4.19k | return greater(a, b) ? a : b; | 66 | 4.19k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 5.09M | static T max(const T& a, const T& b) { | 65 | 5.09M | return greater(a, b) ? a : b; | 66 | 5.09M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 170k | static T max(const T& a, const T& b) { | 65 | 170k | return greater(a, b) ? a : b; | 66 | 170k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 3.96k | static T max(const T& a, const T& b) { | 65 | 3.96k | return greater(a, b) ? a : b; | 66 | 3.96k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 3.73k | static T max(const T& a, const T& b) { | 65 | 3.73k | return greater(a, b) ? a : b; | 66 | 3.73k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 12.4k | static T max(const T& a, const T& b) { | 65 | 12.4k | return greater(a, b) ? a : b; | 66 | 12.4k | } |
_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.9k | static T max(const T& a, const T& b) { | 65 | 13.9k | return greater(a, b) ? a : b; | 66 | 13.9k | } |
_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 | 3.19M | static T min_value() { |
70 | 3.19M | return type_limit<T>::min(); |
71 | 3.19M | } _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 | 6.57k | static T min_value() { | 70 | 6.57k | return type_limit<T>::min(); | 71 | 6.57k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 3.51k | static T min_value() { | 70 | 3.51k | return type_limit<T>::min(); | 71 | 3.51k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 69 | 2.03k | static T min_value() { | 70 | 2.03k | return type_limit<T>::min(); | 71 | 2.03k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 69 | 2.99k | static T min_value() { | 70 | 2.99k | return type_limit<T>::min(); | 71 | 2.99k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 37 | static T min_value() { | 70 | 37 | return type_limit<T>::min(); | 71 | 37 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 35 | static T min_value() { | 70 | 35 | return type_limit<T>::min(); | 71 | 35 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 351 | static T min_value() { | 70 | 351 | return type_limit<T>::min(); | 71 | 351 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 2.28k | static T min_value() { | 70 | 2.28k | return type_limit<T>::min(); | 71 | 2.28k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 3.04k | static T min_value() { | 70 | 3.04k | return type_limit<T>::min(); | 71 | 3.04k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 2.95M | static T min_value() { | 70 | 2.95M | return type_limit<T>::min(); | 71 | 2.95M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 199k | static T min_value() { | 70 | 199k | return type_limit<T>::min(); | 71 | 199k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 2.82k | static T min_value() { | 70 | 2.82k | return type_limit<T>::min(); | 71 | 2.82k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 2.73k | static T min_value() { | 70 | 2.73k | return type_limit<T>::min(); | 71 | 2.73k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 6.54k | static T min_value() { | 70 | 6.54k | return type_limit<T>::min(); | 71 | 6.54k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 7.31k | static T min_value() { | 70 | 7.31k | return type_limit<T>::min(); | 71 | 7.31k | } |
_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.50k | static T min_value() { | 70 | 2.50k | return type_limit<T>::min(); | 71 | 2.50k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 159 | static T min_value() { | 70 | 159 | return type_limit<T>::min(); | 71 | 159 | } |
|
72 | | |
73 | | template <typename T> |
74 | 275k | static T max_value() { |
75 | 275k | return type_limit<T>::max(); |
76 | 275k | } _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.87k | static T max_value() { | 75 | 4.87k | return type_limit<T>::max(); | 76 | 4.87k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 789 | static T max_value() { | 75 | 789 | return type_limit<T>::max(); | 76 | 789 | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 74 | 2.03k | static T max_value() { | 75 | 2.03k | return type_limit<T>::max(); | 76 | 2.03k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 74 | 29 | static T max_value() { | 75 | 29 | return type_limit<T>::max(); | 76 | 29 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 74 | 29 | static T max_value() { | 75 | 29 | return type_limit<T>::max(); | 76 | 29 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 74 | 122 | static T max_value() { | 75 | 122 | return type_limit<T>::max(); | 76 | 122 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 495 | static T max_value() { | 75 | 495 | return type_limit<T>::max(); | 76 | 495 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 344 | static T max_value() { | 75 | 344 | return type_limit<T>::max(); | 76 | 344 | } |
_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 | 375 | static T max_value() { | 75 | 375 | return type_limit<T>::max(); | 76 | 375 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 172 | static T max_value() { | 75 | 172 | return type_limit<T>::max(); | 76 | 172 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 5.18k | static T max_value() { | 75 | 5.18k | return type_limit<T>::max(); | 76 | 5.18k | } |
_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 | 853 | static T max_value() { | 75 | 853 | return type_limit<T>::max(); | 76 | 853 | } |
_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.30M | bool EqualsFloat(T left, T right) { |
81 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
82 | 185 | return true; |
83 | 185 | } |
84 | 1.30M | return left == right; |
85 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 728 | bool EqualsFloat(T left, T right) { | 81 | 728 | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 12 | return true; | 83 | 12 | } | 84 | 716 | return left == right; | 85 | 728 | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 80 | 1.30M | bool EqualsFloat(T left, T right) { | 81 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 173 | return true; | 83 | 173 | } | 84 | 1.30M | return left == right; | 85 | 1.30M | } |
|
86 | | |
87 | | template <typename T> |
88 | 897k | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 897k | bool left_is_nan = std::isnan(left); |
91 | 897k | bool right_is_nan = std::isnan(right); |
92 | 897k | if (UNLIKELY(right_is_nan)) { |
93 | 467 | return false; |
94 | 467 | } |
95 | 896k | if (UNLIKELY(left_is_nan)) { |
96 | 18.9k | return true; |
97 | 18.9k | } |
98 | 877k | return left > right; |
99 | 896k | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 17.0k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 17.0k | bool left_is_nan = std::isnan(left); | 91 | 17.0k | bool right_is_nan = std::isnan(right); | 92 | 17.0k | if (UNLIKELY(right_is_nan)) { | 93 | 76 | return false; | 94 | 76 | } | 95 | 16.9k | if (UNLIKELY(left_is_nan)) { | 96 | 7.53k | return true; | 97 | 7.53k | } | 98 | 9.41k | return left > right; | 99 | 16.9k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 880k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 880k | bool left_is_nan = std::isnan(left); | 91 | 880k | bool right_is_nan = std::isnan(right); | 92 | 880k | if (UNLIKELY(right_is_nan)) { | 93 | 391 | return false; | 94 | 391 | } | 95 | 879k | if (UNLIKELY(left_is_nan)) { | 96 | 11.3k | return true; | 97 | 11.3k | } | 98 | 868k | return left > right; | 99 | 879k | } |
|
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 | 368 | return left_is_nan; |
108 | 368 | } |
109 | 1.36M | if (UNLIKELY(left_is_nan)) { |
110 | 619 | return true; |
111 | 619 | } |
112 | 1.36M | return left >= right; |
113 | 1.36M | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 449 | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 449 | bool left_is_nan = std::isnan(left); | 105 | 449 | bool right_is_nan = std::isnan(right); | 106 | 449 | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 401 | if (UNLIKELY(left_is_nan)) { | 110 | 109 | return true; | 111 | 109 | } | 112 | 292 | return left >= right; | 113 | 401 | } |
_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 | 320 | return left_is_nan; | 108 | 320 | } | 109 | 1.36M | if (UNLIKELY(left_is_nan)) { | 110 | 510 | return true; | 111 | 510 | } | 112 | 1.36M | return left >= right; | 113 | 1.36M | } |
|
114 | | |
115 | | template <typename T> |
116 | 13.2M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 13.2M | bool left_is_nan = std::isnan(left); |
119 | 13.2M | bool right_is_nan = std::isnan(right); |
120 | 13.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 | 940 | return 1; |
126 | 2.40k | } else { |
127 | 2.40k | return -1; |
128 | 2.40k | } |
129 | 3.34k | } |
130 | 13.2M | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 13.2M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 3.60M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 3.60M | bool left_is_nan = std::isnan(left); | 119 | 3.60M | bool right_is_nan = std::isnan(right); | 120 | 3.60M | 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 | 3.60M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 3.60M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 9.60M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 9.60M | bool left_is_nan = std::isnan(left); | 119 | 9.60M | bool right_is_nan = std::isnan(right); | 120 | 9.60M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.90k | if (left_is_nan && right_is_nan) { | 122 | 1.06k | return 0; | 123 | 1.06k | } | 124 | 1.83k | if (left_is_nan) { | 125 | 528 | return 1; | 126 | 1.30k | } else { | 127 | 1.30k | return -1; | 128 | 1.30k | } | 129 | 1.83k | } | 130 | 9.60M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 9.60M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 2.27k | inline bool Compare::less(const float& a, const float& b) { |
136 | 2.27k | return GreaterThanFloat(b, a); |
137 | 2.27k | } |
138 | | template <> |
139 | 14.7k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 14.7k | return GreaterThanFloat(a, b); |
141 | 14.7k | } |
142 | | template <> |
143 | 216 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 216 | return GreaterThanEqualsFloat(b, a); |
145 | 216 | } |
146 | | template <> |
147 | 233 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 233 | return GreaterThanEqualsFloat(a, b); |
149 | 233 | } |
150 | | template <> |
151 | 539 | inline bool Compare::equal(const float& a, const float& b) { |
152 | 539 | return EqualsFloat(a, b); |
153 | 539 | } |
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 | 3.60M | inline int Compare::compare(const float& a, const float& b) { |
160 | 3.60M | return CompareFloat(a, b); |
161 | 3.60M | } |
162 | | template <> |
163 | 209 | inline float Compare::max_value<float>() { |
164 | 209 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 209 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 678k | inline bool Compare::less(const double& a, const double& b) { |
170 | 678k | return GreaterThanFloat(b, a); |
171 | 678k | } |
172 | | template <> |
173 | 201k | inline bool Compare::greater(const double& a, const double& b) { |
174 | 201k | return GreaterThanFloat(a, b); |
175 | 201k | } |
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 | 762k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 762k | return GreaterThanEqualsFloat(a, b); |
183 | 762k | } |
184 | | template <> |
185 | 1.30M | inline bool Compare::equal(const double& a, const double& b) { |
186 | 1.30M | return EqualsFloat(a, b); |
187 | 1.30M | } |
188 | | template <> |
189 | 554 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 554 | return !EqualsFloat(a, b); |
191 | 554 | } |
192 | | template <> |
193 | 9.60M | inline int Compare::compare(const double& a, const double& b) { |
194 | 9.60M | return CompareFloat(a, b); |
195 | 9.60M | } |
196 | | template <> |
197 | 571 | inline double Compare::max_value<double>() { |
198 | 571 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 571 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 941k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 480 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 1.13k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 916k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 15.5k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 23 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 28 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 25 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 203 | 5.19k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 364 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 549 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 157 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 567 | 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 | 19 | 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 | 114 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 478 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 90 | 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 | 382 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 382 | return Compare::less(lhs, rhs); |
208 | 382 | } |
209 | | template <> |
210 | 30 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 30 | return Compare::less(lhs, rhs); |
212 | 30 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 74.6M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 21.4M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 4.68k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 7.79k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 3.68M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 37.6M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 97 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 216 | 112 | 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.69k | 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 | 399 | 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 | 42.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 7.95M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 216 | 13 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 216 | 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 | 8 | 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 | 67 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 2.54k | 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.7k | 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.50M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 46.2k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 43.1k | 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 | 60.4k | 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.16k | 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.6k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 140k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 11.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
217 | | }; |
218 | | template <> |
219 | 45 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 45 | return Compare::equal(lhs, rhs); |
221 | 45 | } |
222 | | template <> |
223 | 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 | 556k | void NormalizeFloat(T& val) { |
230 | 556k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 50.8k | val = (T)0.0; |
233 | 506k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 556k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 7.81k | void NormalizeFloat(T& val) { | 230 | 7.81k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 737 | val = (T)0.0; | 233 | 7.07k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 7.81k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 549k | void NormalizeFloat(T& val) { | 230 | 549k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 50.0k | val = (T)0.0; | 233 | 498k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 549k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |