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 | | struct Compare { |
26 | | template <typename T> |
27 | 89.5M | static bool less(const T& a, const T& b) { |
28 | 89.5M | return a < b; |
29 | 89.5M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 27 | 16.8M | static bool less(const T& a, const T& b) { | 28 | 16.8M | return a < b; | 29 | 16.8M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 27 | 708k | static bool less(const T& a, const T& b) { | 28 | 708k | return a < b; | 29 | 708k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 27 | 290k | static bool less(const T& a, const T& b) { | 28 | 290k | return a < b; | 29 | 290k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 27 | 975 | static bool less(const T& a, const T& b) { | 28 | 975 | return a < b; | 29 | 975 | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 27 | 15.8k | static bool less(const T& a, const T& b) { | 28 | 15.8k | return a < b; | 29 | 15.8k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 27 | 32.7k | static bool less(const T& a, const T& b) { | 28 | 32.7k | return a < b; | 29 | 32.7k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 27 | 30.0k | static bool less(const T& a, const T& b) { | 28 | 30.0k | return a < b; | 29 | 30.0k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 27 | 1.86k | static bool less(const T& a, const T& b) { | 28 | 1.86k | return a < b; | 29 | 1.86k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 27 | 1.87k | static bool less(const T& a, const T& b) { | 28 | 1.87k | return a < b; | 29 | 1.87k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 27 | 2.27k | static bool less(const T& a, const T& b) { | 28 | 2.27k | return a < b; | 29 | 2.27k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 16.4M | static bool less(const T& a, const T& b) { | 28 | 16.4M | return a < b; | 29 | 16.4M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 45.5M | static bool less(const T& a, const T& b) { | 28 | 45.5M | return a < b; | 29 | 45.5M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 27 | 7.13k | static bool less(const T& a, const T& b) { | 28 | 7.13k | return a < b; | 29 | 7.13k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 27 | 2.18M | static bool less(const T& a, const T& b) { | 28 | 2.18M | return a < b; | 29 | 2.18M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 27 | 6.48M | static bool less(const T& a, const T& b) { | 28 | 6.48M | return a < b; | 29 | 6.48M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 27 | 4.26k | static bool less(const T& a, const T& b) { | 28 | 4.26k | return a < b; | 29 | 4.26k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 27 | 757k | static bool less(const T& a, const T& b) { | 28 | 757k | return a < b; | 29 | 757k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 27 | 3.21k | static bool less(const T& a, const T& b) { | 28 | 3.21k | return a < b; | 29 | 3.21k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 27 | 15 | static bool less(const T& a, const T& b) { | 28 | 15 | return a < b; | 29 | 15 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 27 | 116k | static bool less(const T& a, const T& b) { | 28 | 116k | return a < b; | 29 | 116k | } |
|
30 | | template <typename T> |
31 | 140M | static bool greater(const T& a, const T& b) { |
32 | 140M | return a > b; |
33 | 140M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 31 | 32.0k | static bool greater(const T& a, const T& b) { | 32 | 32.0k | return a > b; | 33 | 32.0k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 31 | 288k | static bool greater(const T& a, const T& b) { | 32 | 288k | return a > b; | 33 | 288k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 31 | 68.9k | static bool greater(const T& a, const T& b) { | 32 | 68.9k | return a > b; | 33 | 68.9k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 31 | 22.4M | static bool greater(const T& a, const T& b) { | 32 | 22.4M | return a > b; | 33 | 22.4M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 31 | 43.4M | static bool greater(const T& a, const T& b) { | 32 | 43.4M | return a > b; | 33 | 43.4M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 31 | 915k | static bool greater(const T& a, const T& b) { | 32 | 915k | return a > b; | 33 | 915k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 31 | 2.18k | static bool greater(const T& a, const T& b) { | 32 | 2.18k | return a > b; | 33 | 2.18k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 31 | 2.19k | static bool greater(const T& a, const T& b) { | 32 | 2.19k | return a > b; | 33 | 2.19k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 31 | 5.97k | static bool greater(const T& a, const T& b) { | 32 | 5.97k | return a > b; | 33 | 5.97k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 17.0M | static bool greater(const T& a, const T& b) { | 32 | 17.0M | return a > b; | 33 | 17.0M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 47.2M | static bool greater(const T& a, const T& b) { | 32 | 47.2M | return a > b; | 33 | 47.2M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 31 | 16.9k | static bool greater(const T& a, const T& b) { | 32 | 16.9k | return a > b; | 33 | 16.9k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 31 | 2.95M | static bool greater(const T& a, const T& b) { | 32 | 2.95M | return a > b; | 33 | 2.95M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 31 | 4.26M | static bool greater(const T& a, const T& b) { | 32 | 4.26M | return a > b; | 33 | 4.26M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 31 | 4.94k | static bool greater(const T& a, const T& b) { | 32 | 4.94k | return a > b; | 33 | 4.94k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 31 | 26.3k | static bool greater(const T& a, const T& b) { | 32 | 26.3k | return a > b; | 33 | 26.3k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 31 | 3.34k | static bool greater(const T& a, const T& b) { | 32 | 3.34k | return a > b; | 33 | 3.34k | } |
_ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 31 | 6 | static bool greater(const T& a, const T& b) { | 32 | 6 | return a > b; | 33 | 6 | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 31 | 925 | static bool greater(const T& a, const T& b) { | 32 | 925 | return a > b; | 33 | 925 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 31 | 1.21M | static bool greater(const T& a, const T& b) { | 32 | 1.21M | return a > b; | 33 | 1.21M | } |
|
34 | | |
35 | | template <typename T> |
36 | 78.1M | static bool less_equal(const T& a, const T& b) { |
37 | 78.1M | return a <= b; |
38 | 78.1M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 36 | 56.5M | static bool less_equal(const T& a, const T& b) { | 37 | 56.5M | return a <= b; | 38 | 56.5M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 36 | 5.67M | static bool less_equal(const T& a, const T& b) { | 37 | 5.67M | return a <= b; | 38 | 5.67M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 36 | 381k | static bool less_equal(const T& a, const T& b) { | 37 | 381k | return a <= b; | 38 | 381k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 36 | 118 | static bool less_equal(const T& a, const T& b) { | 37 | 118 | return a <= b; | 38 | 118 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 36 | 268k | static bool less_equal(const T& a, const T& b) { | 37 | 268k | return a <= b; | 38 | 268k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 36 | 2.20M | static bool less_equal(const T& a, const T& b) { | 37 | 2.20M | return a <= b; | 38 | 2.20M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 36 | 397k | static bool less_equal(const T& a, const T& b) { | 37 | 397k | return a <= b; | 38 | 397k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 36 | 202 | static bool less_equal(const T& a, const T& b) { | 37 | 202 | return a <= b; | 38 | 202 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 36 | 107 | static bool less_equal(const T& a, const T& b) { | 37 | 107 | return a <= b; | 38 | 107 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 36 | 7 | static bool less_equal(const T& a, const T& b) { | 37 | 7 | return a <= b; | 38 | 7 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 36 | 142 | static bool less_equal(const T& a, const T& b) { | 37 | 142 | return a <= b; | 38 | 142 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 36 | 4.80M | static bool less_equal(const T& a, const T& b) { | 37 | 4.80M | return a <= b; | 38 | 4.80M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 36 | 739k | static bool less_equal(const T& a, const T& b) { | 37 | 739k | return a <= b; | 38 | 739k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 36 | 252 | static bool less_equal(const T& a, const T& b) { | 37 | 252 | return a <= b; | 38 | 252 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 36 | 363k | static bool less_equal(const T& a, const T& b) { | 37 | 363k | return a <= b; | 38 | 363k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 36 | 558k | static bool less_equal(const T& a, const T& b) { | 37 | 558k | return a <= b; | 38 | 558k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 5.72M | static bool less_equal(const T& a, const T& b) { | 37 | 5.72M | return a <= b; | 38 | 5.72M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 36 | 154k | static bool less_equal(const T& a, const T& b) { | 37 | 154k | return a <= b; | 38 | 154k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 36 | 663 | static bool less_equal(const T& a, const T& b) { | 37 | 663 | return a <= b; | 38 | 663 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 36 | 254k | static bool less_equal(const T& a, const T& b) { | 37 | 254k | return a <= b; | 38 | 254k | } |
|
39 | | template <typename T> |
40 | 75.1M | static bool greater_equal(const T& a, const T& b) { |
41 | 75.1M | return a >= b; |
42 | 75.1M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 40 | 358k | static bool greater_equal(const T& a, const T& b) { | 41 | 358k | return a >= b; | 42 | 358k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 40 | 2.22M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.22M | return a >= b; | 42 | 2.22M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 40 | 342k | static bool greater_equal(const T& a, const T& b) { | 41 | 342k | return a >= b; | 42 | 342k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 40 | 49.8M | static bool greater_equal(const T& a, const T& b) { | 41 | 49.8M | return a >= b; | 42 | 49.8M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 40 | 580k | static bool greater_equal(const T& a, const T& b) { | 41 | 580k | return a >= b; | 42 | 580k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 40 | 546k | static bool greater_equal(const T& a, const T& b) { | 41 | 546k | return a >= b; | 42 | 546k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 40 | 293 | static bool greater_equal(const T& a, const T& b) { | 41 | 293 | return a >= b; | 42 | 293 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 40 | 204 | static bool greater_equal(const T& a, const T& b) { | 41 | 204 | return a >= b; | 42 | 204 | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 40 | 133 | static bool greater_equal(const T& a, const T& b) { | 41 | 133 | return a >= b; | 42 | 133 | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 40 | 7 | static bool greater_equal(const T& a, const T& b) { | 41 | 7 | return a >= b; | 42 | 7 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 40 | 149 | static bool greater_equal(const T& a, const T& b) { | 41 | 149 | return a >= b; | 42 | 149 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 40 | 2.40M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.40M | return a >= b; | 42 | 2.40M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 40 | 701k | static bool greater_equal(const T& a, const T& b) { | 41 | 701k | return a >= b; | 42 | 701k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 40 | 226 | static bool greater_equal(const T& a, const T& b) { | 41 | 226 | return a >= b; | 42 | 226 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 40 | 361k | static bool greater_equal(const T& a, const T& b) { | 41 | 361k | return a >= b; | 42 | 361k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 40 | 526k | static bool greater_equal(const T& a, const T& b) { | 41 | 526k | return a >= b; | 42 | 526k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 16.8M | static bool greater_equal(const T& a, const T& b) { | 41 | 16.8M | return a >= b; | 42 | 16.8M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 134k | static bool greater_equal(const T& a, const T& b) { | 41 | 134k | return a >= b; | 42 | 134k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 40 | 710 | static bool greater_equal(const T& a, const T& b) { | 41 | 710 | return a >= b; | 42 | 710 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 40 | 340k | static bool greater_equal(const T& a, const T& b) { | 41 | 340k | return a >= b; | 42 | 340k | } |
|
43 | | template <typename T> |
44 | 117M | static bool equal(const T& a, const T& b) { |
45 | 117M | return a == b; |
46 | 117M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 44 | 44.0M | static bool equal(const T& a, const T& b) { | 45 | 44.0M | return a == b; | 46 | 44.0M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 44 | 4.24M | static bool equal(const T& a, const T& b) { | 45 | 4.24M | return a == b; | 46 | 4.24M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 44 | 815k | static bool equal(const T& a, const T& b) { | 45 | 815k | return a == b; | 46 | 815k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 44 | 41 | static bool equal(const T& a, const T& b) { | 45 | 41 | return a == b; | 46 | 41 | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 44 | 400k | static bool equal(const T& a, const T& b) { | 45 | 400k | return a == b; | 46 | 400k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 518k | static bool equal(const T& a, const T& b) { | 45 | 518k | return a == b; | 46 | 518k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 204k | static bool equal(const T& a, const T& b) { | 45 | 204k | return a == b; | 46 | 204k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 44 | 21.0k | static bool equal(const T& a, const T& b) { | 45 | 21.0k | return a == b; | 46 | 21.0k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 44 | 1.10k | static bool equal(const T& a, const T& b) { | 45 | 1.10k | return a == b; | 46 | 1.10k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 44 | 882 | static bool equal(const T& a, const T& b) { | 45 | 882 | return a == b; | 46 | 882 | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 44 | 3.79k | static bool equal(const T& a, const T& b) { | 45 | 3.79k | return a == b; | 46 | 3.79k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 44 | 62.6M | static bool equal(const T& a, const T& b) { | 45 | 62.6M | return a == b; | 46 | 62.6M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 44 | 433k | static bool equal(const T& a, const T& b) { | 45 | 433k | return a == b; | 46 | 433k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 44 | 501 | static bool equal(const T& a, const T& b) { | 45 | 501 | return a == b; | 46 | 501 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 44 | 1.07k | static bool equal(const T& a, const T& b) { | 45 | 1.07k | return a == b; | 46 | 1.07k | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 44 | 13 | static bool equal(const T& a, const T& b) { | 45 | 13 | return a == b; | 46 | 13 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 44 | 701k | static bool equal(const T& a, const T& b) { | 45 | 701k | return a == b; | 46 | 701k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 44 | 419 | static bool equal(const T& a, const T& b) { | 45 | 419 | return a == b; | 46 | 419 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 44 | 1.82M | static bool equal(const T& a, const T& b) { | 45 | 1.82M | return a == b; | 46 | 1.82M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 44 | 1.70M | static bool equal(const T& a, const T& b) { | 45 | 1.70M | return a == b; | 46 | 1.70M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 44 | 61.8k | static bool equal(const T& a, const T& b) { | 45 | 61.8k | return a == b; | 46 | 61.8k | } |
|
47 | | template <typename T> |
48 | 2.47M | static bool not_equal(const T& a, const T& b) { |
49 | 2.47M | return a != b; |
50 | 2.47M | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 48 | 1.71k | static bool not_equal(const T& a, const T& b) { | 49 | 1.71k | return a != b; | 50 | 1.71k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 48 | 816 | static bool not_equal(const T& a, const T& b) { | 49 | 816 | return a != b; | 50 | 816 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 48 | 1.06M | static bool not_equal(const T& a, const T& b) { | 49 | 1.06M | return a != b; | 50 | 1.06M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 48 | 1.40M | static bool not_equal(const T& a, const T& b) { | 49 | 1.40M | return a != b; | 50 | 1.40M | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 48 | 1.83k | static bool not_equal(const T& a, const T& b) { | 49 | 1.83k | return a != b; | 50 | 1.83k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalIjEEbRKT_S4_ Unexecuted instantiation: _ZN5doris7Compare9not_equalIoEEbRKT_S4_ _ZN5doris7Compare9not_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 48 | 363 | static bool not_equal(const T& a, const T& b) { | 49 | 363 | return a != b; | 50 | 363 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 48 | 2.89k | static bool not_equal(const T& a, const T& b) { | 49 | 2.89k | return a != b; | 50 | 2.89k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 48 | 42 | static bool not_equal(const T& a, const T& b) { | 49 | 42 | return a != b; | 50 | 42 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 48 | 18 | static bool not_equal(const T& a, const T& b) { | 49 | 18 | return a != b; | 50 | 18 | } |
_ZN5doris7Compare9not_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 48 | 66 | static bool not_equal(const T& a, const T& b) { | 49 | 66 | return a != b; | 50 | 66 | } |
_ZN5doris7Compare9not_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 48 | 246 | static bool not_equal(const T& a, const T& b) { | 49 | 246 | return a != b; | 50 | 246 | } |
_ZN5doris7Compare9not_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 48 | 248 | static bool not_equal(const T& a, const T& b) { | 49 | 248 | return a != b; | 50 | 248 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 48 | 66 | static bool not_equal(const T& a, const T& b) { | 49 | 66 | return a != b; | 50 | 66 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 48 | 226 | static bool not_equal(const T& a, const T& b) { | 49 | 226 | return a != b; | 50 | 226 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 48 | 59 | static bool not_equal(const T& a, const T& b) { | 49 | 59 | return a != b; | 50 | 59 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 48 | 1.69k | static bool not_equal(const T& a, const T& b) { | 49 | 1.69k | return a != b; | 50 | 1.69k | } |
|
51 | | |
52 | | template <typename T> |
53 | 537M | static int compare(const T& a, const T& b) { |
54 | 537M | return a > b ? 1 : (a < b ? -1 : 0); |
55 | 537M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 53 | 5.13M | static int compare(const T& a, const T& b) { | 54 | 5.13M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 5.13M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 53 | 15.0k | static int compare(const T& a, const T& b) { | 54 | 15.0k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 15.0k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 53 | 107M | static int compare(const T& a, const T& b) { | 54 | 107M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 107M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 53 | 8.55M | static int compare(const T& a, const T& b) { | 54 | 8.55M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 8.55M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 53 | 315M | static int compare(const T& a, const T& b) { | 54 | 315M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 315M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 7.79M | static int compare(const T& a, const T& b) { | 54 | 7.79M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.79M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 50.4M | static int compare(const T& a, const T& b) { | 54 | 50.4M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 50.4M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 53 | 7.16k | static int compare(const T& a, const T& b) { | 54 | 7.16k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.16k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 53 | 4.95k | static int compare(const T& a, const T& b) { | 54 | 4.95k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.95k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 53 | 8.30M | static int compare(const T& a, const T& b) { | 54 | 8.30M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 8.30M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 53 | 7.39M | static int compare(const T& a, const T& b) { | 54 | 7.39M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.39M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 53 | 12.6M | static int compare(const T& a, const T& b) { | 54 | 12.6M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 12.6M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 53 | 2.66k | static int compare(const T& a, const T& b) { | 54 | 2.66k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 2.66k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 53 | 24.1k | static int compare(const T& a, const T& b) { | 54 | 24.1k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 24.1k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 53 | 445k | static int compare(const T& a, const T& b) { | 54 | 445k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 445k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 53 | 164k | static int compare(const T& a, const T& b) { | 54 | 164k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 164k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 53 | 13.3M | static int compare(const T& a, const T& b) { | 54 | 13.3M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 13.3M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 53 | 95.0k | static int compare(const T& a, const T& b) { | 54 | 95.0k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 95.0k | } |
|
56 | | |
57 | | template <typename T> |
58 | 56.8M | static T min(const T& a, const T& b) { |
59 | 56.8M | return less(a, b) ? a : b; |
60 | 56.8M | } _ZN5doris7Compare3minINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 58 | 5 | static T min(const T& a, const T& b) { | 59 | 5 | return less(a, b) ? a : b; | 60 | 5 | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 58 | 1.98M | static T min(const T& a, const T& b) { | 59 | 1.98M | return less(a, b) ? a : b; | 60 | 1.98M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 58 | 44.0M | static T min(const T& a, const T& b) { | 59 | 44.0M | return less(a, b) ? a : b; | 60 | 44.0M | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 58 | 2.55k | static T min(const T& a, const T& b) { | 59 | 2.55k | return less(a, b) ? a : b; | 60 | 2.55k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 58 | 30.0k | static T min(const T& a, const T& b) { | 59 | 30.0k | return less(a, b) ? a : b; | 60 | 30.0k | } |
_ZN5doris7Compare3minIjEET_RKS2_S4_ Line | Count | Source | 58 | 31 | static T min(const T& a, const T& b) { | 59 | 31 | return less(a, b) ? a : b; | 60 | 31 | } |
_ZN5doris7Compare3minIoEET_RKS2_S4_ Line | Count | Source | 58 | 31 | static T min(const T& a, const T& b) { | 59 | 31 | return less(a, b) ? a : b; | 60 | 31 | } |
_ZN5doris7Compare3minIhEET_RKS2_S4_ Line | Count | Source | 58 | 12.7k | static T min(const T& a, const T& b) { | 59 | 12.7k | return less(a, b) ? a : b; | 60 | 12.7k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 58 | 7.61k | static T min(const T& a, const T& b) { | 59 | 7.61k | return less(a, b) ? a : b; | 60 | 7.61k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 58 | 8.13k | static T min(const T& a, const T& b) { | 59 | 8.13k | return less(a, b) ? a : b; | 60 | 8.13k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 58 | 3.49M | static T min(const T& a, const T& b) { | 59 | 3.49M | return less(a, b) ? a : b; | 60 | 3.49M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 58 | 103k | static T min(const T& a, const T& b) { | 59 | 103k | return less(a, b) ? a : b; | 60 | 103k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 58 | 925 | static T min(const T& a, const T& b) { | 59 | 925 | return less(a, b) ? a : b; | 60 | 925 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 58 | 13.3k | static T min(const T& a, const T& b) { | 59 | 13.3k | return less(a, b) ? a : b; | 60 | 13.3k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 58 | 2.18M | static T min(const T& a, const T& b) { | 59 | 2.18M | return less(a, b) ? a : b; | 60 | 2.18M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 58 | 4.15M | static T min(const T& a, const T& b) { | 59 | 4.15M | return less(a, b) ? a : b; | 60 | 4.15M | } |
_ZN5doris7Compare3minINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 58 | 4.09k | static T min(const T& a, const T& b) { | 59 | 4.09k | return less(a, b) ? a : b; | 60 | 4.09k | } |
_ZN5doris7Compare3minINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 58 | 756k | static T min(const T& a, const T& b) { | 59 | 756k | return less(a, b) ? a : b; | 60 | 756k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 58 | 360 | static T min(const T& a, const T& b) { | 59 | 360 | return less(a, b) ? a : b; | 60 | 360 | } |
|
61 | | |
62 | | template <typename T> |
63 | 75.9M | static T max(const T& a, const T& b) { |
64 | 75.9M | return greater(a, b) ? a : b; |
65 | 75.9M | } _ZN5doris7Compare3maxINS_16VecDateTimeValueEEET_RKS3_S5_ Line | Count | Source | 63 | 5 | static T max(const T& a, const T& b) { | 64 | 5 | return greater(a, b) ? a : b; | 65 | 5 | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 13.9M | static T max(const T& a, const T& b) { | 64 | 13.9M | return greater(a, b) ? a : b; | 65 | 13.9M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 44.0M | static T max(const T& a, const T& b) { | 64 | 44.0M | return greater(a, b) ? a : b; | 65 | 44.0M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 63 | 2.55k | static T max(const T& a, const T& b) { | 64 | 2.55k | return greater(a, b) ? a : b; | 65 | 2.55k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 63 | 6.13M | static T max(const T& a, const T& b) { | 64 | 6.13M | return greater(a, b) ? a : b; | 65 | 6.13M | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 63 | 27 | static T max(const T& a, const T& b) { | 64 | 27 | return greater(a, b) ? a : b; | 65 | 27 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 63 | 27 | static T max(const T& a, const T& b) { | 64 | 27 | return greater(a, b) ? a : b; | 65 | 27 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 63 | 19.8k | static T max(const T& a, const T& b) { | 64 | 19.8k | return greater(a, b) ? a : b; | 65 | 19.8k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 63 | 15.8k | static T max(const T& a, const T& b) { | 64 | 15.8k | return greater(a, b) ? a : b; | 65 | 15.8k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 63 | 16.3k | static T max(const T& a, const T& b) { | 64 | 16.3k | return greater(a, b) ? a : b; | 65 | 16.3k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 63 | 4.37M | static T max(const T& a, const T& b) { | 64 | 4.37M | return greater(a, b) ? a : b; | 65 | 4.37M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 63 | 122k | static T max(const T& a, const T& b) { | 64 | 122k | return greater(a, b) ? a : b; | 65 | 122k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 63 | 2.18k | static T max(const T& a, const T& b) { | 64 | 2.18k | return greater(a, b) ? a : b; | 65 | 2.18k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 63 | 21.5k | static T max(const T& a, const T& b) { | 64 | 21.5k | return greater(a, b) ? a : b; | 65 | 21.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 63 | 2.94M | static T max(const T& a, const T& b) { | 64 | 2.94M | return greater(a, b) ? a : b; | 65 | 2.94M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 63 | 4.18M | static T max(const T& a, const T& b) { | 64 | 4.18M | return greater(a, b) ? a : b; | 65 | 4.18M | } |
_ZN5doris7Compare3maxINS_14DecimalV2ValueEEET_RKS3_S5_ Line | Count | Source | 63 | 4.09k | static T max(const T& a, const T& b) { | 64 | 4.09k | return greater(a, b) ? a : b; | 65 | 4.09k | } |
_ZN5doris7Compare3maxINS_12Decimal128V3EEET_RKS3_S5_ Line | Count | Source | 63 | 11.4k | static T max(const T& a, const T& b) { | 64 | 11.4k | return greater(a, b) ? a : b; | 65 | 11.4k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 63 | 356 | static T max(const T& a, const T& b) { | 64 | 356 | return greater(a, b) ? a : b; | 65 | 356 | } |
|
66 | | |
67 | | template <typename T> |
68 | 1.58M | static T min_value() { |
69 | 1.58M | return type_limit<T>::min(); |
70 | 1.58M | } _ZN5doris7Compare9min_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 68 | 1 | static T min_value() { | 69 | 1 | return type_limit<T>::min(); | 70 | 1 | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 68 | 13.8k | static T min_value() { | 69 | 13.8k | return type_limit<T>::min(); | 70 | 13.8k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 68 | 16.5k | static T min_value() { | 69 | 16.5k | return type_limit<T>::min(); | 70 | 16.5k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 68 | 1.83k | static T min_value() { | 69 | 1.83k | return type_limit<T>::min(); | 70 | 1.83k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 68 | 344k | static T min_value() { | 69 | 344k | return type_limit<T>::min(); | 70 | 344k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 68 | 27 | static T min_value() { | 69 | 27 | return type_limit<T>::min(); | 70 | 27 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 68 | 27 | static T min_value() { | 69 | 27 | return type_limit<T>::min(); | 70 | 27 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 68 | 322 | static T min_value() { | 69 | 322 | return type_limit<T>::min(); | 70 | 322 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 68 | 1.76k | static T min_value() { | 69 | 1.76k | return type_limit<T>::min(); | 70 | 1.76k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 68 | 2.56k | static T min_value() { | 69 | 2.56k | return type_limit<T>::min(); | 70 | 2.56k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 68 | 1.09M | static T min_value() { | 69 | 1.09M | return type_limit<T>::min(); | 70 | 1.09M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 68 | 57.7k | static T min_value() { | 69 | 57.7k | return type_limit<T>::min(); | 70 | 57.7k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 68 | 1.36k | static T min_value() { | 69 | 1.36k | return type_limit<T>::min(); | 70 | 1.36k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 68 | 15.2k | static T min_value() { | 69 | 15.2k | return type_limit<T>::min(); | 70 | 15.2k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 68 | 5.66k | static T min_value() { | 69 | 5.66k | return type_limit<T>::min(); | 70 | 5.66k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 68 | 19.7k | static T min_value() { | 69 | 19.7k | return type_limit<T>::min(); | 70 | 19.7k | } |
_ZN5doris7Compare9min_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 68 | 4.09k | static T min_value() { | 69 | 4.09k | return type_limit<T>::min(); | 70 | 4.09k | } |
_ZN5doris7Compare9min_valueINS_12Decimal128V3EEET_v Line | Count | Source | 68 | 888 | static T min_value() { | 69 | 888 | return type_limit<T>::min(); | 70 | 888 | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 68 | 183 | static T min_value() { | 69 | 183 | return type_limit<T>::min(); | 70 | 183 | } |
|
71 | | |
72 | | template <typename T> |
73 | 272k | static T max_value() { |
74 | 272k | return type_limit<T>::max(); |
75 | 272k | } _ZN5doris7Compare9max_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 73 | 1 | static T max_value() { | 74 | 1 | return type_limit<T>::max(); | 75 | 1 | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 73 | 3.72k | static T max_value() { | 74 | 3.72k | return type_limit<T>::max(); | 75 | 3.72k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 73 | 1.03k | static T max_value() { | 74 | 1.03k | return type_limit<T>::max(); | 75 | 1.03k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 73 | 1.83k | static T max_value() { | 74 | 1.83k | return type_limit<T>::max(); | 75 | 1.83k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 73 | 29 | static T max_value() { | 74 | 29 | return type_limit<T>::max(); | 75 | 29 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 73 | 29 | static T max_value() { | 74 | 29 | return type_limit<T>::max(); | 75 | 29 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 73 | 180 | static T max_value() { | 74 | 180 | return type_limit<T>::max(); | 75 | 180 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 73 | 801 | static T max_value() { | 74 | 801 | return type_limit<T>::max(); | 75 | 801 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 73 | 622 | static T max_value() { | 74 | 622 | return type_limit<T>::max(); | 75 | 622 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 73 | 211k | static T max_value() { | 74 | 211k | return type_limit<T>::max(); | 75 | 211k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 73 | 41.7k | static T max_value() { | 74 | 41.7k | return type_limit<T>::max(); | 75 | 41.7k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 73 | 508 | static T max_value() { | 74 | 508 | return type_limit<T>::max(); | 75 | 508 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 73 | 398 | static T max_value() { | 74 | 398 | return type_limit<T>::max(); | 75 | 398 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 73 | 4.96k | static T max_value() { | 74 | 4.96k | return type_limit<T>::max(); | 75 | 4.96k | } |
_ZN5doris7Compare9max_valueINS_14DecimalV2ValueEEET_v Line | Count | Source | 73 | 4.09k | static T max_value() { | 74 | 4.09k | return type_limit<T>::max(); | 75 | 4.09k | } |
_ZN5doris7Compare9max_valueINS_12Decimal128V3EEET_v Line | Count | Source | 73 | 689 | static T max_value() { | 74 | 689 | return type_limit<T>::max(); | 75 | 689 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 73 | 185 | static T max_value() { | 74 | 185 | return type_limit<T>::max(); | 75 | 185 | } |
|
76 | | }; |
77 | | |
78 | | template <typename T> |
79 | 1.30M | bool EqualsFloat(T left, T right) { |
80 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
81 | 187 | return true; |
82 | 187 | } |
83 | 1.30M | return left == right; |
84 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 79 | 1.20k | bool EqualsFloat(T left, T right) { | 80 | 1.20k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 17 | return true; | 82 | 17 | } | 83 | 1.18k | return left == right; | 84 | 1.20k | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 79 | 1.30M | bool EqualsFloat(T left, T right) { | 80 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 170 | return true; | 82 | 170 | } | 83 | 1.30M | return left == right; | 84 | 1.30M | } |
|
85 | | |
86 | | template <typename T> |
87 | 7.37M | bool GreaterThanFloat(T left, T right) { |
88 | | // nan is always bigger than everything else |
89 | 7.37M | bool left_is_nan = std::isnan(left); |
90 | 7.37M | bool right_is_nan = std::isnan(right); |
91 | 7.37M | if (UNLIKELY(right_is_nan)) { |
92 | 437 | return false; |
93 | 437 | } |
94 | 7.37M | if (UNLIKELY(left_is_nan)) { |
95 | 26.8k | return true; |
96 | 26.8k | } |
97 | 7.34M | return left > right; |
98 | 7.37M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 87 | 52.2k | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 52.2k | bool left_is_nan = std::isnan(left); | 90 | 52.2k | bool right_is_nan = std::isnan(right); | 91 | 52.2k | if (UNLIKELY(right_is_nan)) { | 92 | 94 | return false; | 93 | 94 | } | 94 | 52.1k | if (UNLIKELY(left_is_nan)) { | 95 | 10.9k | return true; | 96 | 10.9k | } | 97 | 41.2k | return left > right; | 98 | 52.1k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 87 | 7.32M | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 7.32M | bool left_is_nan = std::isnan(left); | 90 | 7.32M | bool right_is_nan = std::isnan(right); | 91 | 7.32M | if (UNLIKELY(right_is_nan)) { | 92 | 343 | return false; | 93 | 343 | } | 94 | 7.32M | if (UNLIKELY(left_is_nan)) { | 95 | 15.8k | return true; | 96 | 15.8k | } | 97 | 7.30M | return left > right; | 98 | 7.32M | } |
|
99 | | |
100 | | template <typename T> |
101 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { |
102 | | // nan is always bigger than everything else |
103 | 1.36M | bool left_is_nan = std::isnan(left); |
104 | 1.36M | bool right_is_nan = std::isnan(right); |
105 | 1.36M | if (UNLIKELY(right_is_nan)) { |
106 | 353 | return left_is_nan; |
107 | 353 | } |
108 | 1.36M | if (UNLIKELY(left_is_nan)) { |
109 | 477 | return true; |
110 | 477 | } |
111 | 1.36M | return left >= right; |
112 | 1.36M | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 101 | 1.08k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.08k | bool left_is_nan = std::isnan(left); | 104 | 1.08k | bool right_is_nan = std::isnan(right); | 105 | 1.08k | if (UNLIKELY(right_is_nan)) { | 106 | 48 | return left_is_nan; | 107 | 48 | } | 108 | 1.03k | if (UNLIKELY(left_is_nan)) { | 109 | 81 | return true; | 110 | 81 | } | 111 | 957 | return left >= right; | 112 | 1.03k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 101 | 1.36M | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.36M | bool left_is_nan = std::isnan(left); | 104 | 1.36M | bool right_is_nan = std::isnan(right); | 105 | 1.36M | if (UNLIKELY(right_is_nan)) { | 106 | 305 | return left_is_nan; | 107 | 305 | } | 108 | 1.36M | if (UNLIKELY(left_is_nan)) { | 109 | 396 | return true; | 110 | 396 | } | 111 | 1.36M | return left >= right; | 112 | 1.36M | } |
|
113 | | |
114 | | template <typename T> |
115 | 17.3M | int CompareFloat(T left, T right) { |
116 | | // nan is always bigger than everything else |
117 | 17.3M | bool left_is_nan = std::isnan(left); |
118 | 17.3M | bool right_is_nan = std::isnan(right); |
119 | 17.3M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
120 | 5.25k | if (left_is_nan && right_is_nan) { |
121 | 1.87k | return 0; |
122 | 1.87k | } |
123 | 3.37k | if (left_is_nan) { |
124 | 902 | return 1; |
125 | 2.47k | } else { |
126 | 2.47k | return -1; |
127 | 2.47k | } |
128 | 3.37k | } |
129 | 17.3M | return left > right ? 1 : (left < right ? -1 : 0); |
130 | 17.3M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 115 | 7.67M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 7.67M | bool left_is_nan = std::isnan(left); | 118 | 7.67M | bool right_is_nan = std::isnan(right); | 119 | 7.67M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.35k | if (left_is_nan && right_is_nan) { | 121 | 842 | return 0; | 122 | 842 | } | 123 | 1.51k | if (left_is_nan) { | 124 | 403 | return 1; | 125 | 1.10k | } else { | 126 | 1.10k | return -1; | 127 | 1.10k | } | 128 | 1.51k | } | 129 | 7.66M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 7.67M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 115 | 9.72M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 9.72M | bool left_is_nan = std::isnan(left); | 118 | 9.72M | bool right_is_nan = std::isnan(right); | 119 | 9.72M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.90k | if (left_is_nan && right_is_nan) { | 121 | 1.03k | return 0; | 122 | 1.03k | } | 123 | 1.86k | if (left_is_nan) { | 124 | 499 | return 1; | 125 | 1.36k | } else { | 126 | 1.36k | return -1; | 127 | 1.36k | } | 128 | 1.86k | } | 129 | 9.72M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 9.72M | }; |
|
131 | | |
132 | | // float |
133 | | template <> |
134 | 14.9k | inline bool Compare::less(const float& a, const float& b) { |
135 | 14.9k | return GreaterThanFloat(b, a); |
136 | 14.9k | } |
137 | | template <> |
138 | 37.3k | inline bool Compare::greater(const float& a, const float& b) { |
139 | 37.3k | return GreaterThanFloat(a, b); |
140 | 37.3k | } |
141 | | template <> |
142 | 546 | inline bool Compare::less_equal(const float& a, const float& b) { |
143 | 546 | return GreaterThanEqualsFloat(b, a); |
144 | 546 | } |
145 | | template <> |
146 | 540 | inline bool Compare::greater_equal(const float& a, const float& b) { |
147 | 540 | return GreaterThanEqualsFloat(a, b); |
148 | 540 | } |
149 | | template <> |
150 | 1.02k | inline bool Compare::equal(const float& a, const float& b) { |
151 | 1.02k | return EqualsFloat(a, b); |
152 | 1.02k | } |
153 | | template <> |
154 | 183 | inline bool Compare::not_equal(const float& a, const float& b) { |
155 | 183 | return !EqualsFloat(a, b); |
156 | 183 | } |
157 | | template <> |
158 | 7.67M | inline int Compare::compare(const float& a, const float& b) { |
159 | 7.67M | return CompareFloat(a, b); |
160 | 7.67M | } |
161 | | template <> |
162 | 335 | inline float Compare::max_value<float>() { |
163 | 335 | return std::numeric_limits<float>::quiet_NaN(); |
164 | 335 | } |
165 | | |
166 | | // double |
167 | | template <> |
168 | 718k | inline bool Compare::less(const double& a, const double& b) { |
169 | 718k | return GreaterThanFloat(b, a); |
170 | 718k | } |
171 | | template <> |
172 | 6.60M | inline bool Compare::greater(const double& a, const double& b) { |
173 | 6.60M | return GreaterThanFloat(a, b); |
174 | 6.60M | } |
175 | | template <> |
176 | 602k | inline bool Compare::less_equal(const double& a, const double& b) { |
177 | 602k | return GreaterThanEqualsFloat(b, a); |
178 | 602k | } |
179 | | template <> |
180 | 762k | inline bool Compare::greater_equal(const double& a, const double& b) { |
181 | 762k | return GreaterThanEqualsFloat(a, b); |
182 | 762k | } |
183 | | template <> |
184 | 1.29M | inline bool Compare::equal(const double& a, const double& b) { |
185 | 1.29M | return EqualsFloat(a, b); |
186 | 1.29M | } |
187 | | template <> |
188 | 536 | inline bool Compare::not_equal(const double& a, const double& b) { |
189 | 536 | return !EqualsFloat(a, b); |
190 | 536 | } |
191 | | template <> |
192 | 9.72M | inline int Compare::compare(const double& a, const double& b) { |
193 | 9.72M | return CompareFloat(a, b); |
194 | 9.72M | } |
195 | | template <> |
196 | 670 | inline double Compare::max_value<double>() { |
197 | 670 | return std::numeric_limits<double>::quiet_NaN(); |
198 | 670 | } |
199 | | |
200 | | template <class T> |
201 | | struct Less { |
202 | 1.26M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 202 | 920 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 202 | 620 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 202 | 1.11M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 202 | 12.3k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 202 | 68 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 202 | 28 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 202 | 25 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 202 | 140k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 202 | 150 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 632 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 413 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 202 | 337 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
Unexecuted instantiation: _ZNK5doris4LessINS_14DecimalV2ValueEEclERKS1_S4_ _ZNK5doris4LessIhEclERKhS3_ Line | Count | Source | 202 | 67 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 202 | 90 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 202 | 411 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 202 | 78 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 202 | 102 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
203 | | }; |
204 | | template <> |
205 | 138 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
206 | 138 | return Compare::less(lhs, rhs); |
207 | 138 | } |
208 | | template <> |
209 | 46 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
210 | 46 | return Compare::less(lhs, rhs); |
211 | 46 | } |
212 | | |
213 | | template <class T> |
214 | | struct EqualTo { |
215 | 126M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 215 | 20.9M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 215 | 4.38k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 215 | 4.23k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 215 | 22.8M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 215 | 35.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 215 | 87 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 215 | 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 | 215 | 2.21k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 215 | 1.46k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 215 | 695 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 215 | 49.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 215 | 5.53M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIoEclERKoS3_ Line | Count | Source | 215 | 13 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 215 | 20 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 215 | 8 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 215 | 794 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 215 | 96 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 215 | 601 | 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 | 215 | 22.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 215 | 40.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 215 | 26.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 215 | 41.2M | 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 | 215 | 27.8k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 215 | 4.06k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt104EEclERKS1_S4_ Line | Count | Source | 215 | 1.70k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 215 | 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 | 215 | 70.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 215 | 17.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
216 | | }; |
217 | | template <> |
218 | 49 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
219 | 49 | return Compare::equal(lhs, rhs); |
220 | 49 | } |
221 | | template <> |
222 | 564 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
223 | 564 | return Compare::equal(lhs, rhs); |
224 | 564 | } |
225 | | |
226 | | template <typename T> |
227 | | requires(std::is_floating_point_v<T>) |
228 | 559k | void NormalizeFloat(T& val) { |
229 | 559k | if (val == (T)0.0) { |
230 | | // Turn negative zero into positive zero |
231 | 49.6k | val = (T)0.0; |
232 | 509k | } else if (std::isnan(val)) { |
233 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
234 | 156 | } |
235 | 559k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 21.3k | void NormalizeFloat(T& val) { | 229 | 21.3k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 1.42k | val = (T)0.0; | 232 | 19.9k | } else if (std::isnan(val)) { | 233 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 41 | } | 235 | 21.3k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 537k | void NormalizeFloat(T& val) { | 229 | 537k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 48.2k | val = (T)0.0; | 232 | 489k | } else if (std::isnan(val)) { | 233 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 115 | } | 235 | 537k | } |
|
236 | | |
237 | | } // namespace doris |