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 | 88.8M | static bool less(const T& a, const T& b) { |
29 | 88.8M | return a < b; |
30 | 88.8M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 28 | 16.3M | static bool less(const T& a, const T& b) { | 29 | 16.3M | return a < b; | 30 | 16.3M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 28 | 690k | static bool less(const T& a, const T& b) { | 29 | 690k | return a < b; | 30 | 690k | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 28 | 273k | static bool less(const T& a, const T& b) { | 29 | 273k | return a < b; | 30 | 273k | } |
_ZN5doris7Compare4lessIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 28 | 975 | static bool less(const T& a, const T& b) { | 29 | 975 | return a < b; | 30 | 975 | } |
_ZN5doris7Compare4lessIhEEbRKT_S4_ Line | Count | Source | 28 | 16.7k | static bool less(const T& a, const T& b) { | 29 | 16.7k | return a < b; | 30 | 16.7k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 28 | 31.4k | static bool less(const T& a, const T& b) { | 29 | 31.4k | return a < b; | 30 | 31.4k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 28 | 30.4k | static bool less(const T& a, const T& b) { | 29 | 30.4k | return a < b; | 30 | 30.4k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 28 | 1.81k | static bool less(const T& a, const T& b) { | 29 | 1.81k | return a < b; | 30 | 1.81k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 28 | 1.90k | static bool less(const T& a, const T& b) { | 29 | 1.90k | return a < b; | 30 | 1.90k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 28 | 2.14k | static bool less(const T& a, const T& b) { | 29 | 2.14k | return a < b; | 30 | 2.14k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 16.4M | static bool less(const T& a, const T& b) { | 29 | 16.4M | return a < b; | 30 | 16.4M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 28 | 45.3M | static bool less(const T& a, const T& b) { | 29 | 45.3M | return a < b; | 30 | 45.3M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 28 | 6.52k | static bool less(const T& a, const T& b) { | 29 | 6.52k | return a < b; | 30 | 6.52k | } |
Unexecuted instantiation: _ZN5doris7Compare4lessImEEbRKT_S4_ _ZN5doris7Compare4lessINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 28 | 2.16M | static bool less(const T& a, const T& b) { | 29 | 2.16M | return a < b; | 30 | 2.16M | } |
_ZN5doris7Compare4lessINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 28 | 6.56M | static bool less(const T& a, const T& b) { | 29 | 6.56M | return a < b; | 30 | 6.56M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 28 | 4.18k | static bool less(const T& a, const T& b) { | 29 | 4.18k | return a < b; | 30 | 4.18k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 28 | 765k | static bool less(const T& a, const T& b) { | 29 | 765k | return a < b; | 30 | 765k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 28 | 3.10k | static bool less(const T& a, const T& b) { | 29 | 3.10k | return a < b; | 30 | 3.10k | } |
_ZN5doris7Compare4lessINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 28 | 15 | static bool less(const T& a, const T& b) { | 29 | 15 | return a < b; | 30 | 15 | } |
_ZN5doris7Compare4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 28 | 110k | static bool less(const T& a, const T& b) { | 29 | 110k | return a < b; | 30 | 110k | } |
|
31 | | template <typename T> |
32 | 143M | static bool greater(const T& a, const T& b) { |
33 | 143M | return a > b; |
34 | 143M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 32 | 33.8k | static bool greater(const T& a, const T& b) { | 33 | 33.8k | return a > b; | 34 | 33.8k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 32 | 291k | static bool greater(const T& a, const T& b) { | 33 | 291k | return a > b; | 34 | 291k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 32 | 71.8k | static bool greater(const T& a, const T& b) { | 33 | 71.8k | return a > b; | 34 | 71.8k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 32 | 25.6M | static bool greater(const T& a, const T& b) { | 33 | 25.6M | return a > b; | 34 | 25.6M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 32 | 44.3M | static bool greater(const T& a, const T& b) { | 33 | 44.3M | return a > b; | 34 | 44.3M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 32 | 913k | static bool greater(const T& a, const T& b) { | 33 | 913k | return a > b; | 34 | 913k | } |
_ZN5doris7Compare7greaterIjEEbRKT_S4_ Line | Count | Source | 32 | 2.25k | static bool greater(const T& a, const T& b) { | 33 | 2.25k | return a > b; | 34 | 2.25k | } |
_ZN5doris7Compare7greaterIoEEbRKT_S4_ Line | Count | Source | 32 | 2.26k | static bool greater(const T& a, const T& b) { | 33 | 2.26k | return a > b; | 34 | 2.26k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 32 | 6.23k | static bool greater(const T& a, const T& b) { | 33 | 6.23k | return a > b; | 34 | 6.23k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 17.0M | static bool greater(const T& a, const T& b) { | 33 | 17.0M | return a > b; | 34 | 17.0M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 32 | 46.6M | static bool greater(const T& a, const T& b) { | 33 | 46.6M | return a > b; | 34 | 46.6M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 32 | 11.2k | static bool greater(const T& a, const T& b) { | 33 | 11.2k | return a > b; | 34 | 11.2k | } |
Unexecuted instantiation: _ZN5doris7Compare7greaterImEEbRKT_S4_ _ZN5doris7Compare7greaterINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 32 | 2.97M | static bool greater(const T& a, const T& b) { | 33 | 2.97M | return a > b; | 34 | 2.97M | } |
_ZN5doris7Compare7greaterINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 32 | 4.26M | static bool greater(const T& a, const T& b) { | 33 | 4.26M | return a > b; | 34 | 4.26M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 32 | 4.72k | static bool greater(const T& a, const T& b) { | 33 | 4.72k | return a > b; | 34 | 4.72k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 32 | 27.1k | static bool greater(const T& a, const T& b) { | 33 | 27.1k | return a > b; | 34 | 27.1k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 32 | 2.85k | static bool greater(const T& a, const T& b) { | 33 | 2.85k | return a > b; | 34 | 2.85k | } |
_ZN5doris7Compare7greaterIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 32 | 6 | static bool greater(const T& a, const T& b) { | 33 | 6 | return a > b; | 34 | 6 | } |
_ZN5doris7Compare7greaterINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 32 | 686 | static bool greater(const T& a, const T& b) { | 33 | 686 | return a > b; | 34 | 686 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 32 | 1.21M | static bool greater(const T& a, const T& b) { | 33 | 1.21M | return a > b; | 34 | 1.21M | } |
|
35 | | |
36 | | template <typename T> |
37 | 92.9M | static bool less_equal(const T& a, const T& b) { |
38 | 92.9M | return a <= b; |
39 | 92.9M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 37 | 71.8M | static bool less_equal(const T& a, const T& b) { | 38 | 71.8M | return a <= b; | 39 | 71.8M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 37 | 5.71M | static bool less_equal(const T& a, const T& b) { | 38 | 5.71M | return a <= b; | 39 | 5.71M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 37 | 386k | static bool less_equal(const T& a, const T& b) { | 38 | 386k | return a <= b; | 39 | 386k | } |
_ZN5doris7Compare10less_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 37 | 118 | static bool less_equal(const T& a, const T& b) { | 38 | 118 | return a <= b; | 39 | 118 | } |
_ZN5doris7Compare10less_equalIhEEbRKT_S4_ Line | Count | Source | 37 | 324k | static bool less_equal(const T& a, const T& b) { | 38 | 324k | return a <= b; | 39 | 324k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 37 | 2.19M | static bool less_equal(const T& a, const T& b) { | 38 | 2.19M | return a <= b; | 39 | 2.19M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 37 | 205k | static bool less_equal(const T& a, const T& b) { | 38 | 205k | return a <= b; | 39 | 205k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 37 | 224 | static bool less_equal(const T& a, const T& b) { | 38 | 224 | return a <= b; | 39 | 224 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 37 | 130 | static bool less_equal(const T& a, const T& b) { | 38 | 130 | return a <= b; | 39 | 130 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 37 | 31 | static bool less_equal(const T& a, const T& b) { | 38 | 31 | return a <= b; | 39 | 31 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 37 | 198 | static bool less_equal(const T& a, const T& b) { | 38 | 198 | return a <= b; | 39 | 198 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 37 | 4.74M | static bool less_equal(const T& a, const T& b) { | 38 | 4.74M | return a <= b; | 39 | 4.74M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 37 | 549k | static bool less_equal(const T& a, const T& b) { | 38 | 549k | return a <= b; | 39 | 549k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 37 | 195 | static bool less_equal(const T& a, const T& b) { | 38 | 195 | return a <= b; | 39 | 195 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 37 | 357k | static bool less_equal(const T& a, const T& b) { | 38 | 357k | return a <= b; | 39 | 357k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 37 | 540k | static bool less_equal(const T& a, const T& b) { | 38 | 540k | return a <= b; | 39 | 540k | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 5.63M | static bool less_equal(const T& a, const T& b) { | 38 | 5.63M | return a <= b; | 39 | 5.63M | } |
_ZN5doris7Compare10less_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 37 | 152k | static bool less_equal(const T& a, const T& b) { | 38 | 152k | return a <= b; | 39 | 152k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 37 | 630 | static bool less_equal(const T& a, const T& b) { | 38 | 630 | return a <= b; | 39 | 630 | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 37 | 218k | static bool less_equal(const T& a, const T& b) { | 38 | 218k | return a <= b; | 39 | 218k | } |
|
40 | | template <typename T> |
41 | 93.5M | static bool greater_equal(const T& a, const T& b) { |
42 | 93.5M | return a >= b; |
43 | 93.5M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 41 | 294k | static bool greater_equal(const T& a, const T& b) { | 42 | 294k | return a >= b; | 43 | 294k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 41 | 2.11M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.11M | return a >= b; | 43 | 2.11M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 41 | 425k | static bool greater_equal(const T& a, const T& b) { | 42 | 425k | return a >= b; | 43 | 425k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 41 | 68.4M | static bool greater_equal(const T& a, const T& b) { | 42 | 68.4M | return a >= b; | 43 | 68.4M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 41 | 711k | static bool greater_equal(const T& a, const T& b) { | 42 | 711k | return a >= b; | 43 | 711k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 41 | 455k | static bool greater_equal(const T& a, const T& b) { | 42 | 455k | return a >= b; | 43 | 455k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 41 | 317 | static bool greater_equal(const T& a, const T& b) { | 42 | 317 | return a >= b; | 43 | 317 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 41 | 229 | static bool greater_equal(const T& a, const T& b) { | 42 | 229 | return a >= b; | 43 | 229 | } |
_ZN5doris7Compare13greater_equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 41 | 133 | static bool greater_equal(const T& a, const T& b) { | 42 | 133 | return a >= b; | 43 | 133 | } |
_ZN5doris7Compare13greater_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 41 | 31 | static bool greater_equal(const T& a, const T& b) { | 42 | 31 | return a >= b; | 43 | 31 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 41 | 263 | static bool greater_equal(const T& a, const T& b) { | 42 | 263 | return a >= b; | 43 | 263 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 41 | 2.38M | static bool greater_equal(const T& a, const T& b) { | 42 | 2.38M | return a >= b; | 43 | 2.38M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 41 | 672k | static bool greater_equal(const T& a, const T& b) { | 42 | 672k | return a >= b; | 43 | 672k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 41 | 172 | static bool greater_equal(const T& a, const T& b) { | 42 | 172 | return a >= b; | 43 | 172 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 41 | 354k | static bool greater_equal(const T& a, const T& b) { | 42 | 354k | return a >= b; | 43 | 354k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 41 | 312k | static bool greater_equal(const T& a, const T& b) { | 42 | 312k | return a >= b; | 43 | 312k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 16.8M | static bool greater_equal(const T& a, const T& b) { | 42 | 16.8M | return a >= b; | 43 | 16.8M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 41 | 129k | static bool greater_equal(const T& a, const T& b) { | 42 | 129k | return a >= b; | 43 | 129k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 41 | 661 | static bool greater_equal(const T& a, const T& b) { | 42 | 661 | return a >= b; | 43 | 661 | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 41 | 317k | static bool greater_equal(const T& a, const T& b) { | 42 | 317k | return a >= b; | 43 | 317k | } |
|
44 | | template <typename T> |
45 | 123M | static bool equal(const T& a, const T& b) { |
46 | 123M | return a == b; |
47 | 123M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 45 | 46.0M | static bool equal(const T& a, const T& b) { | 46 | 46.0M | return a == b; | 47 | 46.0M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 45 | 4.23M | static bool equal(const T& a, const T& b) { | 46 | 4.23M | return a == b; | 47 | 4.23M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 45 | 815k | static bool equal(const T& a, const T& b) { | 46 | 815k | return a == b; | 47 | 815k | } |
_ZN5doris7Compare5equalIN4wide7integerILm256EiEEEEbRKT_S7_ Line | Count | Source | 45 | 41 | static bool equal(const T& a, const T& b) { | 46 | 41 | return a == b; | 47 | 41 | } |
_ZN5doris7Compare5equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 45 | 402k | static bool equal(const T& a, const T& b) { | 46 | 402k | return a == b; | 47 | 402k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 512k | static bool equal(const T& a, const T& b) { | 46 | 512k | return a == b; | 47 | 512k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 45 | 205k | static bool equal(const T& a, const T& b) { | 46 | 205k | return a == b; | 47 | 205k | } |
_ZN5doris7Compare5equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 45 | 21.0k | static bool equal(const T& a, const T& b) { | 46 | 21.0k | return a == b; | 47 | 21.0k | } |
_ZN5doris7Compare5equalIjEEbRKT_S4_ Line | Count | Source | 45 | 1.09k | static bool equal(const T& a, const T& b) { | 46 | 1.09k | return a == b; | 47 | 1.09k | } |
_ZN5doris7Compare5equalIoEEbRKT_S4_ Line | Count | Source | 45 | 875 | static bool equal(const T& a, const T& b) { | 46 | 875 | return a == b; | 47 | 875 | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 45 | 3.81k | static bool equal(const T& a, const T& b) { | 46 | 3.81k | return a == b; | 47 | 3.81k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 45 | 67.0M | static bool equal(const T& a, const T& b) { | 46 | 67.0M | return a == b; | 47 | 67.0M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 45 | 438k | static bool equal(const T& a, const T& b) { | 46 | 438k | return a == b; | 47 | 438k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 45 | 480 | static bool equal(const T& a, const T& b) { | 46 | 480 | return a == b; | 47 | 480 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 45 | 764 | static bool equal(const T& a, const T& b) { | 46 | 764 | return a == b; | 47 | 764 | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 45 | 13 | static bool equal(const T& a, const T& b) { | 46 | 13 | return a == b; | 47 | 13 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 45 | 696k | static bool equal(const T& a, const T& b) { | 46 | 696k | return a == b; | 47 | 696k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 45 | 406 | static bool equal(const T& a, const T& b) { | 46 | 406 | return a == b; | 47 | 406 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 45 | 1.76M | static bool equal(const T& a, const T& b) { | 46 | 1.76M | return a == b; | 47 | 1.76M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 45 | 1.60M | static bool equal(const T& a, const T& b) { | 46 | 1.60M | return a == b; | 47 | 1.60M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 45 | 55.5k | static bool equal(const T& a, const T& b) { | 46 | 55.5k | return a == b; | 47 | 55.5k | } |
|
48 | | template <typename T> |
49 | 2.47M | static bool not_equal(const T& a, const T& b) { |
50 | 2.47M | return a != b; |
51 | 2.47M | } Unexecuted instantiation: _ZN5doris7Compare9not_equalIhEEbRKT_S4_ _ZN5doris7Compare9not_equalIaEEbRKT_S4_ Line | Count | Source | 49 | 1.85k | static bool not_equal(const T& a, const T& b) { | 50 | 1.85k | return a != b; | 51 | 1.85k | } |
_ZN5doris7Compare9not_equalIsEEbRKT_S4_ Line | Count | Source | 49 | 816 | static bool not_equal(const T& a, const T& b) { | 50 | 816 | return a != b; | 51 | 816 | } |
_ZN5doris7Compare9not_equalIiEEbRKT_S4_ Line | Count | Source | 49 | 1.06M | static bool not_equal(const T& a, const T& b) { | 50 | 1.06M | return a != b; | 51 | 1.06M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 49 | 1.39M | static bool not_equal(const T& a, const T& b) { | 50 | 1.39M | return a != b; | 51 | 1.39M | } |
_ZN5doris7Compare9not_equalInEEbRKT_S4_ Line | Count | Source | 49 | 1.82k | static bool not_equal(const T& a, const T& b) { | 50 | 1.82k | return a != b; | 51 | 1.82k | } |
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 | } |
_ZN5doris7Compare9not_equalIbEEbRKT_S4_ Line | Count | Source | 49 | 3.16k | static bool not_equal(const T& a, const T& b) { | 50 | 3.16k | return a != b; | 51 | 3.16k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 49 | 42 | static bool not_equal(const T& a, const T& b) { | 50 | 42 | return a != b; | 51 | 42 | } |
_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 | 261 | static bool not_equal(const T& a, const T& b) { | 50 | 261 | return a != b; | 51 | 261 | } |
_ZN5doris7Compare9not_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 49 | 66 | static bool not_equal(const T& a, const T& b) { | 50 | 66 | return a != b; | 51 | 66 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 226 | static bool not_equal(const T& a, const T& b) { | 50 | 226 | return a != b; | 51 | 226 | } |
_ZN5doris7Compare9not_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 49 | 59 | static bool not_equal(const T& a, const T& b) { | 50 | 59 | return a != b; | 51 | 59 | } |
_ZN5doris7Compare9not_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 49 | 1.71k | static bool not_equal(const T& a, const T& b) { | 50 | 1.71k | return a != b; | 51 | 1.71k | } |
|
52 | | |
53 | | template <typename T> |
54 | 534M | static int compare(const T& a, const T& b) { |
55 | 534M | return a > b ? 1 : (a < b ? -1 : 0); |
56 | 534M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 54 | 5.03M | static int compare(const T& a, const T& b) { | 55 | 5.03M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 5.03M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 54 | 15.9k | static int compare(const T& a, const T& b) { | 55 | 15.9k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 15.9k | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 54 | 102M | static int compare(const T& a, const T& b) { | 55 | 102M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 102M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 54 | 8.34M | static int compare(const T& a, const T& b) { | 55 | 8.34M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 8.34M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 54 | 304M | static int compare(const T& a, const T& b) { | 55 | 304M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 304M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 8.86M | static int compare(const T& a, const T& b) { | 55 | 8.86M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 8.86M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 54 | 53.1M | static int compare(const T& a, const T& b) { | 55 | 53.1M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 53.1M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 54 | 6.90k | static int compare(const T& a, const T& b) { | 55 | 6.90k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 6.90k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 54 | 4.95k | static int compare(const T& a, const T& b) { | 55 | 4.95k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 4.95k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 54 | 9.60M | static int compare(const T& a, const T& b) { | 55 | 9.60M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 9.60M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 54 | 9.45M | static int compare(const T& a, const T& b) { | 55 | 9.45M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 9.45M | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ 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_9StringRefEEEiRKT_S5_ Line | Count | Source | 54 | 2.42k | static int compare(const T& a, const T& b) { | 55 | 2.42k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 2.42k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 54 | 23.5k | static int compare(const T& a, const T& b) { | 55 | 23.5k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 23.5k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 54 | 439k | static int compare(const T& a, const T& b) { | 55 | 439k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 439k | } |
_ZN5doris7Compare7compareINS_14DecimalV2ValueEEEiRKT_S5_ Line | Count | Source | 54 | 164k | static int compare(const T& a, const T& b) { | 55 | 164k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 164k | } |
_ZN5doris7Compare7compareINS_12Decimal128V3EEEiRKT_S5_ Line | Count | Source | 54 | 15.9M | static int compare(const T& a, const T& b) { | 55 | 15.9M | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 15.9M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 54 | 96.3k | static int compare(const T& a, const T& b) { | 55 | 96.3k | return a > b ? 1 : (a < b ? -1 : 0); | 56 | 96.3k | } |
|
57 | | |
58 | | template <typename T> |
59 | 56.8M | static T min(const T& a, const T& b) { |
60 | 56.8M | return less(a, b) ? a : b; |
61 | 56.8M | } _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.98M | static T min(const T& a, const T& b) { | 60 | 1.98M | return less(a, b) ? a : b; | 61 | 1.98M | } |
_ZN5doris7Compare3minINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 59 | 44.0M | static T min(const T& a, const T& b) { | 60 | 44.0M | return less(a, b) ? a : b; | 61 | 44.0M | } |
_ZN5doris7Compare3minINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 59 | 2.52k | static T min(const T& a, const T& b) { | 60 | 2.52k | return less(a, b) ? a : b; | 61 | 2.52k | } |
_ZN5doris7Compare3minIdEET_RKS2_S4_ Line | Count | Source | 59 | 30.0k | static T min(const T& a, const T& b) { | 60 | 30.0k | return less(a, b) ? a : b; | 61 | 30.0k | } |
_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 | 12.8k | static T min(const T& a, const T& b) { | 60 | 12.8k | return less(a, b) ? a : b; | 61 | 12.8k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 59 | 7.62k | static T min(const T& a, const T& b) { | 60 | 7.62k | return less(a, b) ? a : b; | 61 | 7.62k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 59 | 8.15k | static T min(const T& a, const T& b) { | 60 | 8.15k | return less(a, b) ? a : b; | 61 | 8.15k | } |
_ZN5doris7Compare3minIiEET_RKS2_S4_ Line | Count | Source | 59 | 3.49M | static T min(const T& a, const T& b) { | 60 | 3.49M | return less(a, b) ? a : b; | 61 | 3.49M | } |
_ZN5doris7Compare3minIlEET_RKS2_S4_ Line | Count | Source | 59 | 104k | static T min(const T& a, const T& b) { | 60 | 104k | return less(a, b) ? a : b; | 61 | 104k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 59 | 933 | static T min(const T& a, const T& b) { | 60 | 933 | return less(a, b) ? a : b; | 61 | 933 | } |
_ZN5doris7Compare3minIfEET_RKS2_S4_ Line | Count | Source | 59 | 13.3k | static T min(const T& a, const T& b) { | 60 | 13.3k | return less(a, b) ? a : b; | 61 | 13.3k | } |
_ZN5doris7Compare3minINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 59 | 2.16M | static T min(const T& a, const T& b) { | 60 | 2.16M | return less(a, b) ? a : b; | 61 | 2.16M | } |
_ZN5doris7Compare3minINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 59 | 4.17M | static T min(const T& a, const T& b) { | 60 | 4.17M | return less(a, b) ? a : b; | 61 | 4.17M | } |
_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 | 763k | static T min(const T& a, const T& b) { | 60 | 763k | return less(a, b) ? a : b; | 61 | 763k | } |
_ZN5doris7Compare3minINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 59 | 350 | static T min(const T& a, const T& b) { | 60 | 350 | return less(a, b) ? a : b; | 61 | 350 | } |
|
62 | | |
63 | | template <typename T> |
64 | 76.0M | static T max(const T& a, const T& b) { |
65 | 76.0M | return greater(a, b) ? a : b; |
66 | 76.0M | } _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 | 13.9M | static T max(const T& a, const T& b) { | 65 | 13.9M | return greater(a, b) ? a : b; | 66 | 13.9M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 64 | 44.0M | static T max(const T& a, const T& b) { | 65 | 44.0M | return greater(a, b) ? a : b; | 66 | 44.0M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 64 | 2.52k | static T max(const T& a, const T& b) { | 65 | 2.52k | return greater(a, b) ? a : b; | 66 | 2.52k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 64 | 6.24M | static T max(const T& a, const T& b) { | 65 | 6.24M | return greater(a, b) ? a : b; | 66 | 6.24M | } |
_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 | 19.9k | static T max(const T& a, const T& b) { | 65 | 19.9k | return greater(a, b) ? a : b; | 66 | 19.9k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 64 | 15.8k | static T max(const T& a, const T& b) { | 65 | 15.8k | return greater(a, b) ? a : b; | 66 | 15.8k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 64 | 16.4k | static T max(const T& a, const T& b) { | 65 | 16.4k | return greater(a, b) ? a : b; | 66 | 16.4k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 64 | 4.34M | static T max(const T& a, const T& b) { | 65 | 4.34M | return greater(a, b) ? a : b; | 66 | 4.34M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 64 | 122k | static T max(const T& a, const T& b) { | 65 | 122k | return greater(a, b) ? a : b; | 66 | 122k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 64 | 2.18k | static T max(const T& a, const T& b) { | 65 | 2.18k | return greater(a, b) ? a : b; | 66 | 2.18k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 64 | 21.5k | static T max(const T& a, const T& b) { | 65 | 21.5k | return greater(a, b) ? a : b; | 66 | 21.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIiEEEET_RKS4_S6_ Line | Count | Source | 64 | 2.96M | static T max(const T& a, const T& b) { | 65 | 2.96M | return greater(a, b) ? a : b; | 66 | 2.96M | } |
_ZN5doris7Compare3maxINS_7DecimalIlEEEET_RKS4_S6_ Line | Count | Source | 64 | 4.18M | static T max(const T& a, const T& b) { | 65 | 4.18M | return greater(a, b) ? a : b; | 66 | 4.18M | } |
_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 | 11.5k | static T max(const T& a, const T& b) { | 65 | 11.5k | return greater(a, b) ? a : b; | 66 | 11.5k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 64 | 346 | static T max(const T& a, const T& b) { | 65 | 346 | return greater(a, b) ? a : b; | 66 | 346 | } |
|
67 | | |
68 | | template <typename T> |
69 | 1.55M | static T min_value() { |
70 | 1.55M | return type_limit<T>::min(); |
71 | 1.55M | } _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 | 14.5k | static T min_value() { | 70 | 14.5k | return type_limit<T>::min(); | 71 | 14.5k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 69 | 16.5k | static T min_value() { | 70 | 16.5k | return type_limit<T>::min(); | 71 | 16.5k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 69 | 1.81k | static T min_value() { | 70 | 1.81k | return type_limit<T>::min(); | 71 | 1.81k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 69 | 344k | static T min_value() { | 70 | 344k | return type_limit<T>::min(); | 71 | 344k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 69 | 38 | static T min_value() { | 70 | 38 | return type_limit<T>::min(); | 71 | 38 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 69 | 38 | static T min_value() { | 70 | 38 | return type_limit<T>::min(); | 71 | 38 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 69 | 338 | static T min_value() { | 70 | 338 | return type_limit<T>::min(); | 71 | 338 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 69 | 1.52k | static T min_value() { | 70 | 1.52k | return type_limit<T>::min(); | 71 | 1.52k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 69 | 2.59k | static T min_value() { | 70 | 2.59k | return type_limit<T>::min(); | 71 | 2.59k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 69 | 1.06M | static T min_value() { | 70 | 1.06M | return type_limit<T>::min(); | 71 | 1.06M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 69 | 59.7k | static T min_value() { | 70 | 59.7k | return type_limit<T>::min(); | 71 | 59.7k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 69 | 1.37k | static T min_value() { | 70 | 1.37k | return type_limit<T>::min(); | 71 | 1.37k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 69 | 15.2k | static T min_value() { | 70 | 15.2k | return type_limit<T>::min(); | 71 | 15.2k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 69 | 5.67k | static T min_value() { | 70 | 5.67k | return type_limit<T>::min(); | 71 | 5.67k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 69 | 19.7k | static T min_value() { | 70 | 19.7k | return type_limit<T>::min(); | 71 | 19.7k | } |
_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 | 939 | static T min_value() { | 70 | 939 | return type_limit<T>::min(); | 71 | 939 | } |
_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 | 275k | static T max_value() { |
75 | 275k | return type_limit<T>::max(); |
76 | 275k | } _ZN5doris7Compare9max_valueINS_16VecDateTimeValueEEET_v Line | Count | Source | 74 | 1 | static T max_value() { | 75 | 1 | return type_limit<T>::max(); | 76 | 1 | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_15DateV2ValueTypeEEEEET_v Line | Count | Source | 74 | 3.78k | static T max_value() { | 75 | 3.78k | return type_limit<T>::max(); | 76 | 3.78k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 74 | 1.05k | static T max_value() { | 75 | 1.05k | return type_limit<T>::max(); | 76 | 1.05k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 74 | 1.82k | static T max_value() { | 75 | 1.82k | return type_limit<T>::max(); | 76 | 1.82k | } |
_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 | 180 | static T max_value() { | 75 | 180 | return type_limit<T>::max(); | 76 | 180 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 74 | 666 | static T max_value() { | 75 | 666 | return type_limit<T>::max(); | 76 | 666 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 74 | 624 | static T max_value() { | 75 | 624 | return type_limit<T>::max(); | 76 | 624 | } |
_ZN5doris7Compare9max_valueIiEET_v Line | Count | Source | 74 | 211k | static T max_value() { | 75 | 211k | return type_limit<T>::max(); | 76 | 211k | } |
_ZN5doris7Compare9max_valueIlEET_v Line | Count | Source | 74 | 44.2k | static T max_value() { | 75 | 44.2k | return type_limit<T>::max(); | 76 | 44.2k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 74 | 513 | static T max_value() { | 75 | 513 | return type_limit<T>::max(); | 76 | 513 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 74 | 402 | static T max_value() { | 75 | 402 | return type_limit<T>::max(); | 76 | 402 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 74 | 5.05k | static T max_value() { | 75 | 5.05k | return type_limit<T>::max(); | 76 | 5.05k | } |
_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 | 691 | static T max_value() { | 75 | 691 | return type_limit<T>::max(); | 76 | 691 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 74 | 163 | static T max_value() { | 75 | 163 | return type_limit<T>::max(); | 76 | 163 | } |
|
77 | | }; |
78 | | |
79 | | template <typename T> |
80 | 1.30M | bool EqualsFloat(T left, T right) { |
81 | 1.30M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { |
82 | 195 | return true; |
83 | 195 | } |
84 | 1.30M | return left == right; |
85 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 80 | 1.21k | bool EqualsFloat(T left, T right) { | 81 | 1.21k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 82 | 21 | return true; | 83 | 21 | } | 84 | 1.19k | return left == right; | 85 | 1.21k | } |
_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 | 174 | return true; | 83 | 174 | } | 84 | 1.30M | return left == right; | 85 | 1.30M | } |
|
86 | | |
87 | | template <typename T> |
88 | 7.76M | bool GreaterThanFloat(T left, T right) { |
89 | | // nan is always bigger than everything else |
90 | 7.76M | bool left_is_nan = std::isnan(left); |
91 | 7.76M | bool right_is_nan = std::isnan(right); |
92 | 7.76M | if (UNLIKELY(right_is_nan)) { |
93 | 446 | return false; |
94 | 446 | } |
95 | 7.76M | if (UNLIKELY(left_is_nan)) { |
96 | 28.2k | return true; |
97 | 28.2k | } |
98 | 7.73M | return left > right; |
99 | 7.76M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 88 | 51.9k | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 51.9k | bool left_is_nan = std::isnan(left); | 91 | 51.9k | bool right_is_nan = std::isnan(right); | 92 | 51.9k | if (UNLIKELY(right_is_nan)) { | 93 | 99 | return false; | 94 | 99 | } | 95 | 51.8k | if (UNLIKELY(left_is_nan)) { | 96 | 11.4k | return true; | 97 | 11.4k | } | 98 | 40.3k | return left > right; | 99 | 51.8k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 88 | 7.71M | bool GreaterThanFloat(T left, T right) { | 89 | | // nan is always bigger than everything else | 90 | 7.71M | bool left_is_nan = std::isnan(left); | 91 | 7.71M | bool right_is_nan = std::isnan(right); | 92 | 7.71M | if (UNLIKELY(right_is_nan)) { | 93 | 347 | return false; | 94 | 347 | } | 95 | 7.71M | if (UNLIKELY(left_is_nan)) { | 96 | 16.8k | return true; | 97 | 16.8k | } | 98 | 7.69M | return left > right; | 99 | 7.71M | } |
|
100 | | |
101 | | template <typename T> |
102 | 717k | bool GreaterThanEqualsFloat(T left, T right) { |
103 | | // nan is always bigger than everything else |
104 | 717k | bool left_is_nan = std::isnan(left); |
105 | 717k | bool right_is_nan = std::isnan(right); |
106 | 717k | if (UNLIKELY(right_is_nan)) { |
107 | 353 | return left_is_nan; |
108 | 353 | } |
109 | 716k | if (UNLIKELY(left_is_nan)) { |
110 | 545 | return true; |
111 | 545 | } |
112 | 716k | return left >= right; |
113 | 716k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 102 | 1.16k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 1.16k | bool left_is_nan = std::isnan(left); | 105 | 1.16k | bool right_is_nan = std::isnan(right); | 106 | 1.16k | if (UNLIKELY(right_is_nan)) { | 107 | 48 | return left_is_nan; | 108 | 48 | } | 109 | 1.11k | if (UNLIKELY(left_is_nan)) { | 110 | 101 | return true; | 111 | 101 | } | 112 | 1.01k | return left >= right; | 113 | 1.11k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 102 | 715k | bool GreaterThanEqualsFloat(T left, T right) { | 103 | | // nan is always bigger than everything else | 104 | 715k | bool left_is_nan = std::isnan(left); | 105 | 715k | bool right_is_nan = std::isnan(right); | 106 | 715k | if (UNLIKELY(right_is_nan)) { | 107 | 305 | return left_is_nan; | 108 | 305 | } | 109 | 715k | if (UNLIKELY(left_is_nan)) { | 110 | 444 | return true; | 111 | 444 | } | 112 | 715k | return left >= right; | 113 | 715k | } |
|
114 | | |
115 | | template <typename T> |
116 | 13.0M | int CompareFloat(T left, T right) { |
117 | | // nan is always bigger than everything else |
118 | 13.0M | bool left_is_nan = std::isnan(left); |
119 | 13.0M | bool right_is_nan = std::isnan(right); |
120 | 13.0M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
121 | 5.30k | if (left_is_nan && right_is_nan) { |
122 | 1.92k | return 0; |
123 | 1.92k | } |
124 | 3.37k | if (left_is_nan) { |
125 | 951 | return 1; |
126 | 2.42k | } else { |
127 | 2.42k | return -1; |
128 | 2.42k | } |
129 | 3.37k | } |
130 | 13.0M | return left > right ? 1 : (left < right ? -1 : 0); |
131 | 13.0M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 116 | 5.35M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 5.35M | bool left_is_nan = std::isnan(left); | 119 | 5.35M | bool right_is_nan = std::isnan(right); | 120 | 5.35M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.37k | if (left_is_nan && right_is_nan) { | 122 | 849 | return 0; | 123 | 849 | } | 124 | 1.52k | if (left_is_nan) { | 125 | 419 | return 1; | 126 | 1.10k | } else { | 127 | 1.10k | return -1; | 128 | 1.10k | } | 129 | 1.52k | } | 130 | 5.34M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 5.35M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 116 | 7.66M | int CompareFloat(T left, T right) { | 117 | | // nan is always bigger than everything else | 118 | 7.66M | bool left_is_nan = std::isnan(left); | 119 | 7.66M | bool right_is_nan = std::isnan(right); | 120 | 7.66M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 121 | 2.93k | if (left_is_nan && right_is_nan) { | 122 | 1.07k | return 0; | 123 | 1.07k | } | 124 | 1.85k | if (left_is_nan) { | 125 | 532 | return 1; | 126 | 1.32k | } else { | 127 | 1.32k | return -1; | 128 | 1.32k | } | 129 | 1.85k | } | 130 | 7.66M | return left > right ? 1 : (left < right ? -1 : 0); | 131 | 7.66M | }; |
|
132 | | |
133 | | // float |
134 | | template <> |
135 | 14.6k | inline bool Compare::less(const float& a, const float& b) { |
136 | 14.6k | return GreaterThanFloat(b, a); |
137 | 14.6k | } |
138 | | template <> |
139 | 37.2k | inline bool Compare::greater(const float& a, const float& b) { |
140 | 37.2k | return GreaterThanFloat(a, b); |
141 | 37.2k | } |
142 | | template <> |
143 | 584 | inline bool Compare::less_equal(const float& a, const float& b) { |
144 | 584 | return GreaterThanEqualsFloat(b, a); |
145 | 584 | } |
146 | | template <> |
147 | 579 | inline bool Compare::greater_equal(const float& a, const float& b) { |
148 | 579 | return GreaterThanEqualsFloat(a, b); |
149 | 579 | } |
150 | | template <> |
151 | 1.03k | inline bool Compare::equal(const float& a, const float& b) { |
152 | 1.03k | return EqualsFloat(a, b); |
153 | 1.03k | } |
154 | | template <> |
155 | 183 | inline bool Compare::not_equal(const float& a, const float& b) { |
156 | 183 | return !EqualsFloat(a, b); |
157 | 183 | } |
158 | | template <> |
159 | 5.35M | inline int Compare::compare(const float& a, const float& b) { |
160 | 5.35M | return CompareFloat(a, b); |
161 | 5.35M | } |
162 | | template <> |
163 | 337 | inline float Compare::max_value<float>() { |
164 | 337 | return std::numeric_limits<float>::quiet_NaN(); |
165 | 337 | } |
166 | | |
167 | | // double |
168 | | template <> |
169 | 996k | inline bool Compare::less(const double& a, const double& b) { |
170 | 996k | return GreaterThanFloat(b, a); |
171 | 996k | } |
172 | | template <> |
173 | 6.71M | inline bool Compare::greater(const double& a, const double& b) { |
174 | 6.71M | return GreaterThanFloat(a, b); |
175 | 6.71M | } |
176 | | template <> |
177 | 277k | inline bool Compare::less_equal(const double& a, const double& b) { |
178 | 277k | return GreaterThanEqualsFloat(b, a); |
179 | 277k | } |
180 | | template <> |
181 | 438k | inline bool Compare::greater_equal(const double& a, const double& b) { |
182 | 438k | return GreaterThanEqualsFloat(a, b); |
183 | 438k | } |
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 | 536 | inline bool Compare::not_equal(const double& a, const double& b) { |
190 | 536 | return !EqualsFloat(a, b); |
191 | 536 | } |
192 | | template <> |
193 | 7.66M | inline int Compare::compare(const double& a, const double& b) { |
194 | 7.66M | return CompareFloat(a, b); |
195 | 7.66M | } |
196 | | template <> |
197 | 662 | inline double Compare::max_value<double>() { |
198 | 662 | return std::numeric_limits<double>::quiet_NaN(); |
199 | 662 | } |
200 | | |
201 | | template <class T> |
202 | | struct Less { |
203 | 1.10M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 203 | 3.02k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 203 | 4.72k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 203 | 1.04M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 203 | 8.38k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 203 | 35 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIjEclERKjS3_ Line | Count | Source | 203 | 72 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIoEclERKoS3_ Line | Count | Source | 203 | 65 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclERKS6_S9_ Line | Count | Source | 203 | 42.5k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 203 | 335 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 550 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 203 | 389 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 203 | 470 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_14DecimalV2ValueEEclERKS1_S4_ Line | Count | Source | 203 | 56 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIhEclERKhS3_ Line | Count | Source | 203 | 81 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 203 | 196 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 203 | 526 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 203 | 93 | 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 | 222 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
207 | 222 | return Compare::less(lhs, rhs); |
208 | 222 | } |
209 | | template <> |
210 | 70 | inline bool Less<float>::operator()(const float& lhs, const float& rhs) const { |
211 | 70 | return Compare::less(lhs, rhs); |
212 | 70 | } |
213 | | |
214 | | template <class T> |
215 | | struct EqualTo { |
216 | 117M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 216 | 20.9M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 216 | 5.42k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 216 | 6.02k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 216 | 13.3M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 216 | 35.7M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 216 | 111 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 216 | 70 | 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 | 2.10k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 216 | 1.41k | 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 | 59.1k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 216 | 5.53M | 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 | 115 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 216 | 40 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 216 | 778 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 216 | 111 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 216 | 603 | 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 | 15.1k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 216 | 47.7k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 216 | 42.5k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 216 | 41.1M | 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 | 95.9k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 216 | 4.09k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt104EEclERKS1_S4_ Line | Count | Source | 216 | 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 | 216 | 11.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt72EEclERKS1_S4_ Line | Count | Source | 216 | 70.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToItEclERKtS3_ Line | Count | Source | 216 | 17.3k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
217 | | }; |
218 | | template <> |
219 | 68 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
220 | 68 | return Compare::equal(lhs, rhs); |
221 | 68 | } |
222 | | template <> |
223 | 574 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
224 | 574 | return Compare::equal(lhs, rhs); |
225 | 574 | } |
226 | | |
227 | | template <typename T> |
228 | | requires(std::is_floating_point_v<T>) |
229 | 585k | void NormalizeFloat(T& val) { |
230 | 585k | if (val == (T)0.0) { |
231 | | // Turn negative zero into positive zero |
232 | 52.5k | val = (T)0.0; |
233 | 532k | } else if (std::isnan(val)) { |
234 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
235 | 156 | } |
236 | 585k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 20.6k | void NormalizeFloat(T& val) { | 230 | 20.6k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 1.39k | val = (T)0.0; | 233 | 19.2k | } else if (std::isnan(val)) { | 234 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 41 | } | 236 | 20.6k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 229 | 564k | void NormalizeFloat(T& val) { | 230 | 564k | if (val == (T)0.0) { | 231 | | // Turn negative zero into positive zero | 232 | 51.1k | val = (T)0.0; | 233 | 513k | } else if (std::isnan(val)) { | 234 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 235 | 115 | } | 236 | 564k | } |
|
237 | | |
238 | | } // namespace doris |
239 | | |
240 | | #include "common/compile_check_end.h" |