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.4M | static bool less(const T& a, const T& b) { |
29 | 33.4M | return a < b; |
30 | 33.4M | } _ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 25.2k | static bool less(const T& a, const T& b) { | 29 | 25.2k | return a < b; | 30 | 25.2k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 10.7k | static bool less(const T& a, const T& b) { | 29 | 10.7k | return a < b; | 30 | 10.7k | } |
_ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 10.5M | static bool less(const T& a, const T& b) { | 29 | 10.5M | return a < b; | 30 | 10.5M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 444k | static bool less(const T& a, const T& b) { | 29 | 444k | return a < b; | 30 | 444k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 273k | static bool less(const T& a, const T& b) { | 29 | 273k | return a < b; | 30 | 273k | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.26k | static bool less(const T& a, const T& b) { | 29 | 4.26k | return a < b; | 30 | 4.26k | } |
_ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 1.06k | static bool less(const T& a, const T& b) { | 29 | 1.06k | return a < b; | 30 | 1.06k | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 5.04M | static bool less(const T& a, const T& b) { | 29 | 5.04M | return a < b; | 30 | 5.04M | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 11.7k | static bool less(const T& a, const T& b) { | 29 | 11.7k | return a < b; | 30 | 11.7k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 3.27k | static bool less(const T& a, const T& b) { | 29 | 3.27k | return a < b; | 30 | 3.27k | } |
_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 | 64.8k | static bool less(const T& a, const T& b) { | 29 | 64.8k | return a < b; | 30 | 64.8k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 2.06k | static bool less(const T& a, const T& b) { | 29 | 2.06k | return a < b; | 30 | 2.06k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 16.3M | static bool less(const T& a, const T& b) { | 29 | 16.3M | return a < b; | 30 | 16.3M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 747k | static bool less(const T& a, const T& b) { | 29 | 747k | return a < b; | 30 | 747k | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 8.38k | static bool less(const T& a, const T& b) { | 29 | 8.38k | return a < b; | 30 | 8.38k | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 3.44k | static bool less(const T& a, const T& b) { | 29 | 3.44k | return a < b; | 30 | 3.44k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 1.96k | static bool less(const T& a, const T& b) { | 29 | 1.96k | return a < b; | 30 | 1.96k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 2.05k | static bool less(const T& a, const T& b) { | 29 | 2.05k | return a < b; | 30 | 2.05k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 28 | 975 | static bool less(const T& a, const T& b) { | 29 | 975 | return a < b; | 30 | 975 | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ |
31 | | template <typename T> |
32 | 26.6M | static bool greater(const T& a, const T& b) { |
33 | 26.6M | return a > b; |
34 | 26.6M | } _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.8k | static bool greater(const T& a, const T& b) { | 33 | 50.8k | return a > b; | 34 | 50.8k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 14.0M | static bool greater(const T& a, const T& b) { | 33 | 14.0M | return a > b; | 34 | 14.0M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 1.15M | static bool greater(const T& a, const T& b) { | 33 | 1.15M | return a > b; | 34 | 1.15M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 906k | static bool greater(const T& a, const T& b) { | 33 | 906k | return a > b; | 34 | 906k | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 4.89k | static bool greater(const T& a, const T& b) { | 33 | 4.89k | return a > b; | 34 | 4.89k | } |
_ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 21.2k | static bool greater(const T& a, const T& b) { | 33 | 21.2k | return a > b; | 34 | 21.2k | } |
_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 | 26.1k | static bool greater(const T& a, const T& b) { | 33 | 26.1k | return a > b; | 34 | 26.1k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 3.57k | static bool greater(const T& a, const T& b) { | 33 | 3.57k | return a > b; | 34 | 3.57k | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 1.19k | static bool greater(const T& a, const T& b) { | 33 | 1.19k | return a > b; | 34 | 1.19k | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 710k | static bool greater(const T& a, const T& b) { | 33 | 710k | return a > b; | 34 | 710k | } |
_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.04M | static bool greater(const T& a, const T& b) { | 33 | 5.04M | return a > b; | 34 | 5.04M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 1.69M | static bool greater(const T& a, const T& b) { | 33 | 1.69M | return a > b; | 34 | 1.69M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 16.9k | static bool greater(const T& a, const T& b) { | 33 | 16.9k | return a > b; | 34 | 16.9k | } |
_ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 11.3k | static bool greater(const T& a, const T& b) { | 33 | 11.3k | return a > b; | 34 | 11.3k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 32 | 2.35k | static bool greater(const T& a, const T& b) { | 33 | 2.35k | return a > b; | 34 | 2.35k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.36k | static bool greater(const T& a, const T& b) { | 33 | 2.36k | return a > b; | 34 | 2.36k | } |
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 | 39.5M | static bool less_equal(const T& a, const T& b) { |
38 | 39.5M | return a <= b; |
39 | 39.5M | } _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 | 209k | static bool less_equal(const T& a, const T& b) { | 38 | 209k | return a <= b; | 39 | 209k | } |
_ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 23.6M | static bool less_equal(const T& a, const T& b) { | 38 | 23.6M | return a <= b; | 39 | 23.6M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 633k | static bool less_equal(const T& a, const T& b) { | 38 | 633k | return a <= b; | 39 | 633k | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 414k | static bool less_equal(const T& a, const T& b) { | 38 | 414k | return a <= b; | 39 | 414k | } |
_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 | 146 | static bool less_equal(const T& a, const T& b) { | 38 | 146 | return a <= b; | 39 | 146 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.72M | static bool less_equal(const T& a, const T& b) { | 38 | 4.72M | return a <= b; | 39 | 4.72M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 254k | static bool less_equal(const T& a, const T& b) { | 38 | 254k | return a <= b; | 39 | 254k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 233 | static bool less_equal(const T& a, const T& b) { | 38 | 233 | return a <= b; | 39 | 233 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 222k | static bool less_equal(const T& a, const T& b) { | 38 | 222k | return a <= b; | 39 | 222k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 285k | static bool less_equal(const T& a, const T& b) { | 38 | 285k | return a <= b; | 39 | 285k | } |
_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.76M | static bool less_equal(const T& a, const T& b) { | 38 | 1.76M | return a <= b; | 39 | 1.76M | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 740 | static bool less_equal(const T& a, const T& b) { | 38 | 740 | return a <= b; | 39 | 740 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 286k | static bool less_equal(const T& a, const T& b) { | 38 | 286k | return a <= b; | 39 | 286k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 241 | static bool less_equal(const T& a, const T& b) { | 38 | 241 | return a <= b; | 39 | 241 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 155 | static bool less_equal(const T& a, const T& b) { | 38 | 155 | return a <= b; | 39 | 155 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 274k | static bool less_equal(const T& a, const T& b) { | 38 | 274k | return a <= b; | 39 | 274k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 37 | 136 | static bool less_equal(const T& a, const T& b) { | 38 | 136 | return a <= b; | 39 | 136 | } |
|
40 | | template <typename T> |
41 | 43.4M | static bool greater_equal(const T& a, const T& b) { |
42 | 43.4M | return a >= b; |
43 | 43.4M | } _ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 1.32M | static bool greater_equal(const T& a, const T& b) { | 42 | 1.32M | return a >= b; | 43 | 1.32M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 281k | static bool greater_equal(const T& a, const T& b) { | 42 | 281k | return a >= b; | 43 | 281k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 20.6M | static bool greater_equal(const T& a, const T& b) { | 42 | 20.6M | return a >= b; | 43 | 20.6M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 358k | static bool greater_equal(const T& a, const T& b) { | 42 | 358k | return a >= b; | 43 | 358k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 247k | static bool greater_equal(const T& a, const T& b) { | 42 | 247k | return a >= b; | 43 | 247k | } |
_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 | 217 | static bool greater_equal(const T& a, const T& b) { | 42 | 217 | return a >= b; | 43 | 217 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.34M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.34M | return a >= b; | 43 | 2.34M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 238k | static bool greater_equal(const T& a, const T& b) { | 42 | 238k | return a >= b; | 43 | 238k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 221 | static bool greater_equal(const T& a, const T& b) { | 42 | 221 | return a >= b; | 43 | 221 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 219k | static bool greater_equal(const T& a, const T& b) { | 42 | 219k | return a >= b; | 43 | 219k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 305k | static bool greater_equal(const T& a, const T& b) { | 42 | 305k | return a >= b; | 43 | 305k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 16.5M | static bool greater_equal(const T& a, const T& b) { | 42 | 16.5M | return a >= b; | 43 | 16.5M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 524k | static bool greater_equal(const T& a, const T& b) { | 42 | 524k | return a >= b; | 43 | 524k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 787 | static bool greater_equal(const T& a, const T& b) { | 42 | 787 | return a >= b; | 43 | 787 | } |
_ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 214k | static bool greater_equal(const T& a, const T& b) { | 42 | 214k | return a >= b; | 43 | 214k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 336 | static bool greater_equal(const T& a, const T& b) { | 42 | 336 | return a >= b; | 43 | 336 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 245 | static bool greater_equal(const T& a, const T& b) { | 42 | 245 | return a >= b; | 43 | 245 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 276k | static bool greater_equal(const T& a, const T& b) { | 42 | 276k | return a >= b; | 43 | 276k | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 151 | static bool greater_equal(const T& a, const T& b) { | 42 | 151 | return a >= b; | 43 | 151 | } |
|
44 | | template <typename T> |
45 | 92.5M | static bool equal(const T& a, const T& b) { |
46 | 92.5M | return a == b; |
47 | 92.5M | } _ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 63.5M | static bool equal(const T& a, const T& b) { | 46 | 63.5M | return a == b; | 47 | 63.5M | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.23M | static bool equal(const T& a, const T& b) { | 46 | 1.23M | return a == b; | 47 | 1.23M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 407k | static bool equal(const T& a, const T& b) { | 46 | 407k | return a == b; | 47 | 407k | } |
_ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 19.5M | static bool equal(const T& a, const T& b) { | 46 | 19.5M | return a == b; | 47 | 19.5M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 1.44M | static bool equal(const T& a, const T& b) { | 46 | 1.44M | return a == b; | 47 | 1.44M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 805k | static bool equal(const T& a, const T& b) { | 46 | 805k | return a == b; | 47 | 805k | } |
_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 | 229 | static bool equal(const T& a, const T& b) { | 46 | 229 | return a == b; | 47 | 229 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 704 | static bool equal(const T& a, const T& b) { | 46 | 704 | return a == b; | 47 | 704 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 697k | static bool equal(const T& a, const T& b) { | 46 | 697k | return a == b; | 47 | 697k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 431 | static bool equal(const T& a, const T& b) { | 46 | 431 | return a == b; | 47 | 431 | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 2.83M | static bool equal(const T& a, const T& b) { | 46 | 2.83M | return a == b; | 47 | 2.83M | } |
_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 | 539k | static bool equal(const T& a, const T& b) { | 46 | 539k | return a == b; | 47 | 539k | } |
_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 | 22.6k | static bool equal(const T& a, const T& b) { | 46 | 22.6k | return a == b; | 47 | 22.6k | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 429 | static bool equal(const T& a, const T& b) { | 46 | 429 | return a == b; | 47 | 429 | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.06k | static bool equal(const T& a, const T& b) { | 46 | 1.06k | return a == b; | 47 | 1.06k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 888 | static bool equal(const T& a, const T& b) { | 46 | 888 | return a == b; | 47 | 888 | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 823k | static bool equal(const T& a, const T& b) { | 46 | 823k | return a == b; | 47 | 823k | } |
_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 | 655k | static bool not_equal(const T& a, const T& b) { |
50 | 655k | return a != b; |
51 | 655k | } _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.81k | static bool not_equal(const T& a, const T& b) { | 50 | 2.81k | return a != b; | 51 | 2.81k | } |
_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 | 409k | static bool not_equal(const T& a, const T& b) { | 50 | 409k | return a != b; | 51 | 409k | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 238k | static bool not_equal(const T& a, const T& b) { | 50 | 238k | return a != b; | 51 | 238k | } |
_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 | 46 | static bool not_equal(const T& a, const T& b) { | 50 | 46 | return a != b; | 51 | 46 | } |
_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 | 332 | static bool not_equal(const T& a, const T& b) { | 50 | 332 | return a != b; | 51 | 332 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 49 | 63 | static bool not_equal(const T& a, const T& b) { | 50 | 63 | return a != b; | 51 | 63 | } |
_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.93k | static bool not_equal(const T& a, const T& b) { | 50 | 1.93k | return a != b; | 51 | 1.93k | } |
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 | 610M | static int compare(const T& a, const T& b) { |
55 | 610M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 610M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 5.66M | static int compare(const T& a, const T& b) { | 55 | 5.66M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 5.66M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 20.5k | static int compare(const T& a, const T& b) { | 55 | 20.5k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 20.5k | } |
_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 | 12.2M | static int compare(const T& a, const T& b) { | 55 | 12.2M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 12.2M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 333M | static int compare(const T& a, const T& b) { | 55 | 333M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 333M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 15.6M | static int compare(const T& a, const T& b) { | 55 | 15.6M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 15.6M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 50.5M | static int compare(const T& a, const T& b) { | 55 | 50.5M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 50.5M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 6.87k | static int compare(const T& a, const T& b) { | 55 | 6.87k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 6.87k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.82k | static int compare(const T& a, const T& b) { | 55 | 4.82k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.82k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 11.0M | static int compare(const T& a, const T& b) { | 55 | 11.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 11.0M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 10.0M | static int compare(const T& a, const T& b) { | 55 | 10.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 10.0M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 54 | 22.0M | static int compare(const T& a, const T& b) { | 55 | 22.0M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 22.0M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.72k | static int compare(const T& a, const T& b) { | 55 | 2.72k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.72k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 54 | 24.7k | static int compare(const T& a, const T& b) { | 55 | 24.7k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 24.7k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 54 | 207k | static int compare(const T& a, const T& b) { | 55 | 207k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 207k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 54 | 163k | static int compare(const T& a, const T& b) { | 55 | 163k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 163k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 25.8M | static int compare(const T& a, const T& b) { | 55 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 25.8M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 97.6k | static int compare(const T& a, const T& b) { | 55 | 97.6k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 97.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.37k | static T min(const T& a, const T& b) { | 60 | 3.37k | return less(a, b) ? a : b; | 61 | 3.37k | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.87k | static T min(const T& a, const T& b) { | 60 | 2.87k | return less(a, b) ? a : b; | 61 | 2.87k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 17.9k | static T min(const T& a, const T& b) { | 60 | 17.9k | return less(a, b) ? a : b; | 61 | 17.9k | } |
_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 | 474 | static T min(const T& a, const T& b) { | 60 | 474 | return less(a, b) ? a : b; | 61 | 474 | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 1.28k | static T min(const T& a, const T& b) { | 60 | 1.28k | return less(a, b) ? a : b; | 61 | 1.28k | } |
_ZN5doris7Compare3minIsEET_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 | } |
_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 | 96.2k | static T min(const T& a, const T& b) { | 60 | 96.2k | return less(a, b) ? a : b; | 61 | 96.2k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 1.15k | static T min(const T& a, const T& b) { | 60 | 1.15k | return less(a, b) ? a : b; | 61 | 1.15k | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 946 | static T min(const T& a, const T& b) { | 60 | 946 | return less(a, b) ? a : b; | 61 | 946 | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 646 | static T min(const T& a, const T& b) { | 60 | 646 | return less(a, b) ? a : b; | 61 | 646 | } |
_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.2k | static T min(const T& a, const T& b) { | 60 | 10.2k | return less(a, b) ? a : b; | 61 | 10.2k | } |
_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.08M | static T max(const T& a, const T& b) { |
65 | 9.08M | return greater(a, b) ? a : b; |
66 | 9.08M | } _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.43k | static T max(const T& a, const T& b) { | 65 | 6.43k | return greater(a, b) ? a : b; | 66 | 6.43k | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.87k | static T max(const T& a, const T& b) { | 65 | 2.87k | return greater(a, b) ? a : b; | 66 | 2.87k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 4.41k | static T max(const T& a, const T& b) { | 65 | 4.41k | return greater(a, b) ? a : b; | 66 | 4.41k | } |
_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.67k | static T max(const T& a, const T& b) { | 65 | 1.67k | return greater(a, b) ? a : b; | 66 | 1.67k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 3.56k | static T max(const T& a, const T& b) { | 65 | 3.56k | return greater(a, b) ? a : b; | 66 | 3.56k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 3.67k | static T max(const T& a, const T& b) { | 65 | 3.67k | return greater(a, b) ? a : b; | 66 | 3.67k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 4.25M | static T max(const T& a, const T& b) { | 65 | 4.25M | return greater(a, b) ? a : b; | 66 | 4.25M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 108k | static T max(const T& a, const T& b) { | 65 | 108k | return greater(a, b) ? a : b; | 66 | 108k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 3.56k | static T max(const T& a, const T& b) { | 65 | 3.56k | return greater(a, b) ? a : b; | 66 | 3.56k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 3.23k | static T max(const T& a, const T& b) { | 65 | 3.23k | return greater(a, b) ? a : b; | 66 | 3.23k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 11.9k | static T max(const T& a, const T& b) { | 65 | 11.9k | return greater(a, b) ? a : b; | 66 | 11.9k | } |
_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.5k | static T max(const T& a, const T& b) { | 65 | 13.5k | return greater(a, b) ? a : b; | 66 | 13.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 64 | 356 | static T max(const T& a, const T& b) { | 65 | 356 | return greater(a, b) ? a : b; | 66 | 356 | } |
|
67 | | |
68 | | template <typename T> |
69 | 1.10M | static T min_value() { |
70 | 1.10M | return type_limit<T>::min(); |
71 | 1.10M | } _ZN5doris7Compare9min_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 69 | 1 | static T min_value() { | 70 | 1 | return type_limit<T>::min(); | 71 | 1 | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 69 | 6.09k | static T min_value() { | 70 | 6.09k | return type_limit<T>::min(); | 71 | 6.09k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 3.52k | static T min_value() { | 70 | 3.52k | return type_limit<T>::min(); | 71 | 3.52k | } |
_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 | 3.00k | static T min_value() { | 70 | 3.00k | return type_limit<T>::min(); | 71 | 3.00k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 26 | static T min_value() { | 70 | 26 | return type_limit<T>::min(); | 71 | 26 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 26 | static T min_value() { | 70 | 26 | return type_limit<T>::min(); | 71 | 26 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 295 | static T min_value() { | 70 | 295 | return type_limit<T>::min(); | 71 | 295 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 2.32k | static T min_value() { | 70 | 2.32k | return type_limit<T>::min(); | 71 | 2.32k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 3.12k | static T min_value() { | 70 | 3.12k | return type_limit<T>::min(); | 71 | 3.12k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 1.01M | static T min_value() { | 70 | 1.01M | return type_limit<T>::min(); | 71 | 1.01M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 44.7k | static T min_value() { | 70 | 44.7k | return type_limit<T>::min(); | 71 | 44.7k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 2.37k | static T min_value() { | 70 | 2.37k | return type_limit<T>::min(); | 71 | 2.37k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 2.07k | static T min_value() { | 70 | 2.07k | return type_limit<T>::min(); | 71 | 2.07k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 6.42k | static T min_value() { | 70 | 6.42k | return type_limit<T>::min(); | 71 | 6.42k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 6.25k | static T min_value() { | 70 | 6.25k | return type_limit<T>::min(); | 71 | 6.25k | } |
_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.10k | static T min_value() { | 70 | 2.10k | return type_limit<T>::min(); | 71 | 2.10k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 69 | 178 | static T min_value() { | 70 | 178 | return type_limit<T>::min(); | 71 | 178 | } |
|
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 | 693 | static T max_value() { | 75 | 693 | return type_limit<T>::max(); | 76 | 693 | } |
_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 | 23 | static T max_value() { | 75 | 23 | return type_limit<T>::max(); | 76 | 23 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 74 | 23 | static T max_value() { | 75 | 23 | return type_limit<T>::max(); | 76 | 23 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 74 | 118 | static T max_value() { | 75 | 118 | return type_limit<T>::max(); | 76 | 118 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 610 | static T max_value() { | 75 | 610 | return type_limit<T>::max(); | 76 | 610 | } |
_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 | 41.7k | static T max_value() { | 75 | 41.7k | return type_limit<T>::max(); | 76 | 41.7k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 384 | static T max_value() { | 75 | 384 | return type_limit<T>::max(); | 76 | 384 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 148 | static T max_value() { | 75 | 148 | return type_limit<T>::max(); | 76 | 148 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 4.87k | static T max_value() { | 75 | 4.87k | return type_limit<T>::max(); | 76 | 4.87k | } |
_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 | 813 | static T max_value() { | 75 | 813 | return type_limit<T>::max(); | 76 | 813 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 175 | static T max_value() { | 75 | 175 | return type_limit<T>::max(); | 76 | 175 | } |
|
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 | 165 | return true; |
83 | 165 | } |
84 | 1.30M | return left == right; |
85 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 668 | bool EqualsFloat(T left, T right) { | 81 | 668 | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 6 | return true; | 83 | 6 | } | 84 | 662 | return left == right; | 85 | 668 | } |
_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 | 159 | return true; | 83 | 159 | } | 84 | 1.30M | return left == right; | 85 | 1.30M | } |
|
86 | | |
87 | | template <typename T> |
88 | 1.08M | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 1.08M | bool left_is_nan = std::isnan(left); |
91 | 1.08M | bool right_is_nan = std::isnan(right); |
92 | 1.08M | if (UNLIKELY(right_is_nan)) { |
93 | 375 | return false; |
94 | 375 | } |
95 | 1.08M | if (UNLIKELY(left_is_nan)) { |
96 | 18.8k | return true; |
97 | 18.8k | } |
98 | 1.06M | return left > right; |
99 | 1.08M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 16.3k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 16.3k | bool left_is_nan = std::isnan(left); | 91 | 16.3k | bool right_is_nan = std::isnan(right); | 92 | 16.3k | if (UNLIKELY(right_is_nan)) { | 93 | 61 | return false; | 94 | 61 | } | 95 | 16.3k | if (UNLIKELY(left_is_nan)) { | 96 | 7.67k | return true; | 97 | 7.67k | } | 98 | 8.66k | return left > right; | 99 | 16.3k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 1.07M | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 1.07M | bool left_is_nan = std::isnan(left); | 91 | 1.07M | bool right_is_nan = std::isnan(right); | 92 | 1.07M | if (UNLIKELY(right_is_nan)) { | 93 | 314 | return false; | 94 | 314 | } | 95 | 1.07M | if (UNLIKELY(left_is_nan)) { | 96 | 11.1k | return true; | 97 | 11.1k | } | 98 | 1.06M | return left > right; | 99 | 1.07M | } |
|
100 | | |
101 | | template <typename T> |
102 | 554k | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 554k | bool left_is_nan = std::isnan(left); |
105 | 554k | bool right_is_nan = std::isnan(right); |
106 | 554k | if (UNLIKELY(right_is_nan)) { |
107 | 356 | return left_is_nan; |
108 | 356 | } |
109 | 554k | if (UNLIKELY(left_is_nan)) { |
110 | 463 | return true; |
111 | 463 | } |
112 | 553k | return left >= right; |
113 | 554k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 381 | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 381 | bool left_is_nan = std::isnan(left); | 105 | 381 | bool right_is_nan = std::isnan(right); | 106 | 381 | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 333 | if (UNLIKELY(left_is_nan)) { | 110 | 72 | return true; | 111 | 72 | } | 112 | 261 | return left >= right; | 113 | 333 | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 554k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 554k | bool left_is_nan = std::isnan(left); | 105 | 554k | bool right_is_nan = std::isnan(right); | 106 | 554k | if (UNLIKELY(right_is_nan)) { | 107 | 308 | return left_is_nan; | 108 | 308 | } | 109 | 553k | if (UNLIKELY(left_is_nan)) { | 110 | 391 | return true; | 111 | 391 | } | 112 | 553k | return left >= right; | 113 | 553k | } |
|
114 | | |
115 | | template <typename T> |
116 | 10.9M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 10.9M | bool left_is_nan = std::isnan(left); |
119 | 10.9M | bool right_is_nan = std::isnan(right); |
120 | 10.9M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
121 | 5.19k | if (left_is_nan && right_is_nan) { |
122 | 1.89k | return 0; |
123 | 1.89k | } |
124 | 3.30k | if (left_is_nan) { |
125 | 905 | return 1; |
126 | 2.39k | } else { |
127 | 2.39k | return -1; |
128 | 2.39k | } |
129 | 3.30k | } |
130 | 10.9M | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 10.9M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 4.21M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 4.21M | bool left_is_nan = std::isnan(left); | 119 | 4.21M | bool right_is_nan = std::isnan(right); | 120 | 4.21M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.34k | if (left_is_nan && right_is_nan) { | 122 | 844 | return 0; | 123 | 844 | } | 124 | 1.50k | if (left_is_nan) { | 125 | 408 | return 1; | 126 | 1.09k | } else { | 127 | 1.09k | return -1; | 128 | 1.09k | } | 129 | 1.50k | } | 130 | 18.4E | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 4.21M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 6.75M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 6.75M | bool left_is_nan = std::isnan(left); | 119 | 6.75M | bool right_is_nan = std::isnan(right); | 120 | 6.75M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.84k | if (left_is_nan && right_is_nan) { | 122 | 1.04k | return 0; | 123 | 1.04k | } | 124 | 1.79k | if (left_is_nan) { | 125 | 497 | return 1; | 126 | 1.29k | } else { | 127 | 1.29k | return -1; | 128 | 1.29k | } | 129 | 1.79k | } | 130 | 6.75M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 6.75M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 2.08k | inline bool Compare::less(const float& a, const float& b) { |
136 | 2.08k | return GreaterThanFloat(b, a); |
137 | 2.08k | } |
138 | | template <> |
139 | 14.3k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 14.3k | return GreaterThanFloat(a, b); |
141 | 14.3k | } |
142 | | template <> |
143 | 178 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 178 | return GreaterThanEqualsFloat(b, a); |
145 | 178 | } |
146 | | template <> |
147 | 204 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 204 | return GreaterThanEqualsFloat(a, b); |
149 | 204 | } |
150 | | template <> |
151 | 479 | inline bool Compare::equal(const float& a, const float& b) { |
152 | 479 | return EqualsFloat(a, b); |
153 | 479 | } |
154 | | template <> |
155 | 189 | inline bool Compare::not_equal(const float& a, const float& b) { |
156 | 189 | return !EqualsFloat(a, b); |
157 | 189 | } |
158 | | template <> |
159 | 4.21M | inline int Compare::compare(const float& a, const float& b) { |
160 | 4.21M | return CompareFloat(a, b); |
161 | 4.21M | } |
162 | | template <> |
163 | 173 | inline float Compare::max_value<float>() { |
164 | 173 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 173 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 947k | inline bool Compare::less(const double& a, const double& b) { |
170 | 947k | return GreaterThanFloat(b, a); |
171 | 947k | } |
172 | | template <> |
173 | 123k | inline bool Compare::greater(const double& a, const double& b) { |
174 | 123k | return GreaterThanFloat(a, b); |
175 | 123k | } |
176 | | template <> |
177 | 276k | inline bool Compare::less_equal(const double& a, const double& b) { |
178 | 276k | return GreaterThanEqualsFloat(b, a); |
179 | 276k | } |
180 | | template <> |
181 | 277k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 277k | return GreaterThanEqualsFloat(a, b); |
183 | 277k | } |
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 | 6.75M | inline int Compare::compare(const double& a, const double& b) { |
194 | 6.75M | return CompareFloat(a, b); |
195 | 6.75M | } |
196 | | template <> |
197 | 529 | inline double Compare::max_value<double>() { |
198 | 529 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 529 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 1.22M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 237 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 2.56k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 1.19M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 15.4k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 39 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 94 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 85 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 203 | 6.34k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 230 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 1.10k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 110 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 671 | 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 | 17 | 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 | 18 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 731 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 18 | 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 | 233 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 233 | return Compare::less(lhs, rhs); |
208 | 233 | } |
209 | | template <> |
210 | 24 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 24 | return Compare::less(lhs, rhs); |
212 | 24 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 73.5M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 21.2M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 4.51k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 4.55k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 4.93M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 38.3M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 126 | 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 | 4.78k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 216 | 186 | 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 | 36.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 5.27M | 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 | 258 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 88 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 333 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 216 | 9.20k | 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.47M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 41.5k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 893 | 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 | 20.6k | 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.20k | 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.69k | 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_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 136k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 11.5k | 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 | 526k | void NormalizeFloat(T& val) { |
230 | 526k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 48.3k | val = (T)0.0; |
233 | 477k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 526k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 7.59k | void NormalizeFloat(T& val) { | 230 | 7.59k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 736 | val = (T)0.0; | 233 | 6.85k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 7.59k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 518k | void NormalizeFloat(T& val) { | 230 | 518k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 47.6k | val = (T)0.0; | 233 | 471k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 518k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |