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 | 90.3M | static bool less(const T& a, const T& b) { |
28 | 90.3M | return a < b; |
29 | 90.3M | } _ZN5doris7Compare4lessIiEEbRKT_S4_ Line | Count | Source | 27 | 16.6M | static bool less(const T& a, const T& b) { | 28 | 16.6M | return a < b; | 29 | 16.6M | } |
_ZN5doris7Compare4lessIlEEbRKT_S4_ Line | Count | Source | 27 | 1.93M | static bool less(const T& a, const T& b) { | 28 | 1.93M | return a < b; | 29 | 1.93M | } |
_ZN5doris7Compare4lessInEEbRKT_S4_ Line | Count | Source | 27 | 288k | static bool less(const T& a, const T& b) { | 28 | 288k | return a < b; | 29 | 288k | } |
_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.5k | static bool less(const T& a, const T& b) { | 28 | 15.5k | return a < b; | 29 | 15.5k | } |
_ZN5doris7Compare4lessIaEEbRKT_S4_ Line | Count | Source | 27 | 31.9k | static bool less(const T& a, const T& b) { | 28 | 31.9k | return a < b; | 29 | 31.9k | } |
_ZN5doris7Compare4lessIsEEbRKT_S4_ Line | Count | Source | 27 | 30.1k | static bool less(const T& a, const T& b) { | 28 | 30.1k | return a < b; | 29 | 30.1k | } |
_ZN5doris7Compare4lessIjEEbRKT_S4_ Line | Count | Source | 27 | 2.03k | static bool less(const T& a, const T& b) { | 28 | 2.03k | return a < b; | 29 | 2.03k | } |
_ZN5doris7Compare4lessIoEEbRKT_S4_ Line | Count | Source | 27 | 2.02k | static bool less(const T& a, const T& b) { | 28 | 2.02k | return a < b; | 29 | 2.02k | } |
_ZN5doris7Compare4lessINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 27 | 2.70k | static bool less(const T& a, const T& b) { | 28 | 2.70k | return a < b; | 29 | 2.70k | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 16.7M | static bool less(const T& a, const T& b) { | 28 | 16.7M | return a < b; | 29 | 16.7M | } |
_ZN5doris7Compare4lessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 27 | 44.9M | static bool less(const T& a, const T& b) { | 28 | 44.9M | return a < b; | 29 | 44.9M | } |
_ZN5doris7Compare4lessINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 27 | 7.56k | static bool less(const T& a, const T& b) { | 28 | 7.56k | return a < b; | 29 | 7.56k | } |
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.58M | static bool less(const T& a, const T& b) { | 28 | 6.58M | return a < b; | 29 | 6.58M | } |
_ZN5doris7Compare4lessINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 27 | 4.25k | static bool less(const T& a, const T& b) { | 28 | 4.25k | return a < b; | 29 | 4.25k | } |
_ZN5doris7Compare4lessINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 27 | 768k | static bool less(const T& a, const T& b) { | 28 | 768k | return a < b; | 29 | 768k | } |
_ZN5doris7Compare4lessINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 27 | 3.12k | static bool less(const T& a, const T& b) { | 28 | 3.12k | return a < b; | 29 | 3.12k | } |
_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 | 111k | static bool less(const T& a, const T& b) { | 28 | 111k | return a < b; | 29 | 111k | } |
|
30 | | template <typename T> |
31 | 191M | static bool greater(const T& a, const T& b) { |
32 | 191M | return a > b; |
33 | 191M | } _ZN5doris7Compare7greaterIhEEbRKT_S4_ Line | Count | Source | 31 | 44.8k | static bool greater(const T& a, const T& b) { | 32 | 44.8k | return a > b; | 33 | 44.8k | } |
_ZN5doris7Compare7greaterIaEEbRKT_S4_ Line | Count | Source | 31 | 299k | static bool greater(const T& a, const T& b) { | 32 | 299k | return a > b; | 33 | 299k | } |
_ZN5doris7Compare7greaterIsEEbRKT_S4_ Line | Count | Source | 31 | 75.0k | static bool greater(const T& a, const T& b) { | 32 | 75.0k | return a > b; | 33 | 75.0k | } |
_ZN5doris7Compare7greaterIiEEbRKT_S4_ Line | Count | Source | 31 | 24.8M | static bool greater(const T& a, const T& b) { | 32 | 24.8M | return a > b; | 33 | 24.8M | } |
_ZN5doris7Compare7greaterIlEEbRKT_S4_ Line | Count | Source | 31 | 44.5M | static bool greater(const T& a, const T& b) { | 32 | 44.5M | return a > b; | 33 | 44.5M | } |
_ZN5doris7Compare7greaterInEEbRKT_S4_ Line | Count | Source | 31 | 913k | static bool greater(const T& a, const T& b) { | 32 | 913k | return a > b; | 33 | 913k | } |
_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.17k | static bool greater(const T& a, const T& b) { | 32 | 2.17k | return a > b; | 33 | 2.17k | } |
_ZN5doris7Compare7greaterINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 31 | 6.35k | static bool greater(const T& a, const T& b) { | 32 | 6.35k | return a > b; | 33 | 6.35k | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 19.2M | static bool greater(const T& a, const T& b) { | 32 | 19.2M | return a > b; | 33 | 19.2M | } |
_ZN5doris7Compare7greaterINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 31 | 90.0M | static bool greater(const T& a, const T& b) { | 32 | 90.0M | return a > b; | 33 | 90.0M | } |
_ZN5doris7Compare7greaterINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 31 | 17.5k | static bool greater(const T& a, const T& b) { | 32 | 17.5k | return a > b; | 33 | 17.5k | } |
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 | 6.75M | static bool greater(const T& a, const T& b) { | 32 | 6.75M | return a > b; | 33 | 6.75M | } |
_ZN5doris7Compare7greaterINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 31 | 5.01k | static bool greater(const T& a, const T& b) { | 32 | 5.01k | return a > b; | 33 | 5.01k | } |
_ZN5doris7Compare7greaterINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 31 | 35.5k | static bool greater(const T& a, const T& b) { | 32 | 35.5k | return a > b; | 33 | 35.5k | } |
_ZN5doris7Compare7greaterINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 31 | 2.98k | static bool greater(const T& a, const T& b) { | 32 | 2.98k | return a > b; | 33 | 2.98k | } |
_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 | 931 | static bool greater(const T& a, const T& b) { | 32 | 931 | return a > b; | 33 | 931 | } |
_ZN5doris7Compare7greaterINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 31 | 1.22M | static bool greater(const T& a, const T& b) { | 32 | 1.22M | return a > b; | 33 | 1.22M | } |
|
34 | | |
35 | | template <typename T> |
36 | 86.3M | static bool less_equal(const T& a, const T& b) { |
37 | 86.3M | return a <= b; |
38 | 86.3M | } _ZN5doris7Compare10less_equalIiEEbRKT_S4_ Line | Count | Source | 36 | 64.5M | static bool less_equal(const T& a, const T& b) { | 37 | 64.5M | return a <= b; | 38 | 64.5M | } |
_ZN5doris7Compare10less_equalIlEEbRKT_S4_ Line | Count | Source | 36 | 5.89M | static bool less_equal(const T& a, const T& b) { | 37 | 5.89M | return a <= b; | 38 | 5.89M | } |
_ZN5doris7Compare10less_equalInEEbRKT_S4_ Line | Count | Source | 36 | 356k | static bool less_equal(const T& a, const T& b) { | 37 | 356k | return a <= b; | 38 | 356k | } |
_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 | 427k | static bool less_equal(const T& a, const T& b) { | 37 | 427k | return a <= b; | 38 | 427k | } |
_ZN5doris7Compare10less_equalIaEEbRKT_S4_ Line | Count | Source | 36 | 2.22M | static bool less_equal(const T& a, const T& b) { | 37 | 2.22M | return a <= b; | 38 | 2.22M | } |
_ZN5doris7Compare10less_equalIsEEbRKT_S4_ Line | Count | Source | 36 | 454k | static bool less_equal(const T& a, const T& b) { | 37 | 454k | return a <= b; | 38 | 454k | } |
_ZN5doris7Compare10less_equalIjEEbRKT_S4_ Line | Count | Source | 36 | 199 | static bool less_equal(const T& a, const T& b) { | 37 | 199 | return a <= b; | 38 | 199 | } |
_ZN5doris7Compare10less_equalIoEEbRKT_S4_ Line | Count | Source | 36 | 103 | static bool less_equal(const T& a, const T& b) { | 37 | 103 | return a <= b; | 38 | 103 | } |
_ZN5doris7Compare10less_equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 36 | 1 | static bool less_equal(const T& a, const T& b) { | 37 | 1 | return a <= b; | 38 | 1 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 36 | 123 | static bool less_equal(const T& a, const T& b) { | 37 | 123 | return a <= b; | 38 | 123 | } |
_ZN5doris7Compare10less_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 36 | 4.74M | static bool less_equal(const T& a, const T& b) { | 37 | 4.74M | return a <= b; | 38 | 4.74M | } |
_ZN5doris7Compare10less_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 36 | 586k | static bool less_equal(const T& a, const T& b) { | 37 | 586k | return a <= b; | 38 | 586k | } |
_ZN5doris7Compare10less_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 36 | 205 | static bool less_equal(const T& a, const T& b) { | 37 | 205 | return a <= b; | 38 | 205 | } |
_ZN5doris7Compare10less_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 36 | 356k | static bool less_equal(const T& a, const T& b) { | 37 | 356k | return a <= b; | 38 | 356k | } |
_ZN5doris7Compare10less_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 36 | 532k | static bool less_equal(const T& a, const T& b) { | 37 | 532k | return a <= b; | 38 | 532k | } |
_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 | 107k | static bool less_equal(const T& a, const T& b) { | 37 | 107k | return a <= b; | 38 | 107k | } |
_ZN5doris7Compare10less_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 36 | 8.13k | static bool less_equal(const T& a, const T& b) { | 37 | 8.13k | return a <= b; | 38 | 8.13k | } |
_ZN5doris7Compare10less_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 36 | 363k | static bool less_equal(const T& a, const T& b) { | 37 | 363k | return a <= b; | 38 | 363k | } |
|
39 | | template <typename T> |
40 | 80.5M | static bool greater_equal(const T& a, const T& b) { |
41 | 80.5M | return a >= b; |
42 | 80.5M | } _ZN5doris7Compare13greater_equalIhEEbRKT_S4_ Line | Count | Source | 40 | 397k | static bool greater_equal(const T& a, const T& b) { | 41 | 397k | return a >= b; | 42 | 397k | } |
_ZN5doris7Compare13greater_equalIaEEbRKT_S4_ Line | Count | Source | 40 | 2.17M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.17M | return a >= b; | 42 | 2.17M | } |
_ZN5doris7Compare13greater_equalIsEEbRKT_S4_ Line | Count | Source | 40 | 337k | static bool greater_equal(const T& a, const T& b) { | 41 | 337k | return a >= b; | 42 | 337k | } |
_ZN5doris7Compare13greater_equalIiEEbRKT_S4_ Line | Count | Source | 40 | 54.8M | static bool greater_equal(const T& a, const T& b) { | 41 | 54.8M | return a >= b; | 42 | 54.8M | } |
_ZN5doris7Compare13greater_equalIlEEbRKT_S4_ Line | Count | Source | 40 | 518k | static bool greater_equal(const T& a, const T& b) { | 41 | 518k | return a >= b; | 42 | 518k | } |
_ZN5doris7Compare13greater_equalInEEbRKT_S4_ Line | Count | Source | 40 | 548k | static bool greater_equal(const T& a, const T& b) { | 41 | 548k | return a >= b; | 42 | 548k | } |
_ZN5doris7Compare13greater_equalIjEEbRKT_S4_ Line | Count | Source | 40 | 290 | static bool greater_equal(const T& a, const T& b) { | 41 | 290 | return a >= b; | 42 | 290 | } |
_ZN5doris7Compare13greater_equalIoEEbRKT_S4_ Line | Count | Source | 40 | 205 | static bool greater_equal(const T& a, const T& b) { | 41 | 205 | return a >= b; | 42 | 205 | } |
_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 | 1 | static bool greater_equal(const T& a, const T& b) { | 41 | 1 | return a >= b; | 42 | 1 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 40 | 165 | static bool greater_equal(const T& a, const T& b) { | 41 | 165 | return a >= b; | 42 | 165 | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 40 | 2.37M | static bool greater_equal(const T& a, const T& b) { | 41 | 2.37M | return a >= b; | 42 | 2.37M | } |
_ZN5doris7Compare13greater_equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 40 | 752k | static bool greater_equal(const T& a, const T& b) { | 41 | 752k | return a >= b; | 42 | 752k | } |
_ZN5doris7Compare13greater_equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 40 | 192 | static bool greater_equal(const T& a, const T& b) { | 41 | 192 | return a >= b; | 42 | 192 | } |
_ZN5doris7Compare13greater_equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 40 | 352k | static bool greater_equal(const T& a, const T& b) { | 41 | 352k | return a >= b; | 42 | 352k | } |
_ZN5doris7Compare13greater_equalINS_16VecDateTimeValueEEEbRKT_S5_ Line | Count | Source | 40 | 528k | static bool greater_equal(const T& a, const T& b) { | 41 | 528k | return a >= b; | 42 | 528k | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 17.1M | static bool greater_equal(const T& a, const T& b) { | 41 | 17.1M | return a >= b; | 42 | 17.1M | } |
_ZN5doris7Compare13greater_equalINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 40 | 151k | static bool greater_equal(const T& a, const T& b) { | 41 | 151k | return a >= b; | 42 | 151k | } |
_ZN5doris7Compare13greater_equalINS_16TimestampTzValueEEEbRKT_S5_ Line | Count | Source | 40 | 5.68k | static bool greater_equal(const T& a, const T& b) { | 41 | 5.68k | return a >= b; | 42 | 5.68k | } |
_ZN5doris7Compare13greater_equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 40 | 444k | static bool greater_equal(const T& a, const T& b) { | 41 | 444k | return a >= b; | 42 | 444k | } |
|
43 | | template <typename T> |
44 | 126M | static bool equal(const T& a, const T& b) { |
45 | 126M | return a == b; |
46 | 126M | } _ZN5doris7Compare5equalIiEEbRKT_S4_ Line | Count | Source | 44 | 47.2M | static bool equal(const T& a, const T& b) { | 45 | 47.2M | return a == b; | 46 | 47.2M | } |
_ZN5doris7Compare5equalIlEEbRKT_S4_ Line | Count | Source | 44 | 4.00M | static bool equal(const T& a, const T& b) { | 45 | 4.00M | return a == b; | 46 | 4.00M | } |
_ZN5doris7Compare5equalInEEbRKT_S4_ Line | Count | Source | 44 | 814k | static bool equal(const T& a, const T& b) { | 45 | 814k | return a == b; | 46 | 814k | } |
_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 | 402k | static bool equal(const T& a, const T& b) { | 45 | 402k | return a == b; | 46 | 402k | } |
_ZN5doris7Compare5equalINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEbRKT_S7_ Line | Count | Source | 44 | 524k | static bool equal(const T& a, const T& b) { | 45 | 524k | return a == b; | 46 | 524k | } |
_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 | 5.86k | static bool equal(const T& a, const T& b) { | 45 | 5.86k | return a == b; | 46 | 5.86k | } |
_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 | 830 | static bool equal(const T& a, const T& b) { | 45 | 830 | return a == b; | 46 | 830 | } |
_ZN5doris7Compare5equalIhEEbRKT_S4_ Line | Count | Source | 44 | 3.73k | static bool equal(const T& a, const T& b) { | 45 | 3.73k | return a == b; | 46 | 3.73k | } |
_ZN5doris7Compare5equalIaEEbRKT_S4_ Line | Count | Source | 44 | 68.5M | static bool equal(const T& a, const T& b) { | 45 | 68.5M | return a == b; | 46 | 68.5M | } |
_ZN5doris7Compare5equalIsEEbRKT_S4_ Line | Count | Source | 44 | 438k | static bool equal(const T& a, const T& b) { | 45 | 438k | return a == b; | 46 | 438k | } |
_ZN5doris7Compare5equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 44 | 433 | static bool equal(const T& a, const T& b) { | 45 | 433 | return a == b; | 46 | 433 | } |
_ZN5doris7Compare5equalINS_7DecimalIlEEEEbRKT_S6_ Line | Count | Source | 44 | 817 | static bool equal(const T& a, const T& b) { | 45 | 817 | return a == b; | 46 | 817 | } |
_ZN5doris7Compare5equalINS_14DecimalV2ValueEEEbRKT_S5_ Line | Count | Source | 44 | 9 | static bool equal(const T& a, const T& b) { | 45 | 9 | return a == b; | 46 | 9 | } |
_ZN5doris7Compare5equalINS_12Decimal128V3EEEbRKT_S5_ Line | Count | Source | 44 | 693k | static bool equal(const T& a, const T& b) { | 45 | 693k | return a == b; | 46 | 693k | } |
_ZN5doris7Compare5equalINS_7DecimalIN4wide7integerILm256EiEEEEEEbRKT_S9_ Line | Count | Source | 44 | 385 | static bool equal(const T& a, const T& b) { | 45 | 385 | return a == b; | 46 | 385 | } |
_ZN5doris7Compare5equalIbEEbRKT_S4_ Line | Count | Source | 44 | 1.81M | static bool equal(const T& a, const T& b) { | 45 | 1.81M | return a == b; | 46 | 1.81M | } |
_ZN5doris7Compare5equalINS_9StringRefEEEbRKT_S5_ Line | Count | Source | 44 | 1.80M | static bool equal(const T& a, const T& b) { | 45 | 1.80M | return a == b; | 46 | 1.80M | } |
_ZN5doris7Compare5equalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKT_SA_ Line | Count | Source | 44 | 69.1k | static bool equal(const T& a, const T& b) { | 45 | 69.1k | return a == b; | 46 | 69.1k | } |
|
47 | | template <typename T> |
48 | 1.61M | static bool not_equal(const T& a, const T& b) { |
49 | 1.61M | return a != b; |
50 | 1.61M | } 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.10M | static bool not_equal(const T& a, const T& b) { | 49 | 1.10M | return a != b; | 50 | 1.10M | } |
_ZN5doris7Compare9not_equalIlEEbRKT_S4_ Line | Count | Source | 48 | 500k | static bool not_equal(const T& a, const T& b) { | 49 | 500k | return a != b; | 50 | 500k | } |
_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.99k | static bool not_equal(const T& a, const T& b) { | 49 | 2.99k | return a != b; | 50 | 2.99k | } |
Unexecuted instantiation: _ZN5doris7Compare9not_equalINS_14DecimalV2ValueEEEbRKT_S5_ _ZN5doris7Compare9not_equalINS_7DecimalIiEEEEbRKT_S6_ Line | Count | Source | 48 | 41 | static bool not_equal(const T& a, const T& b) { | 49 | 41 | return a != b; | 50 | 41 | } |
_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 | 278 | static bool not_equal(const T& a, const T& b) { | 49 | 278 | return a != b; | 50 | 278 | } |
_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.88k | static bool not_equal(const T& a, const T& b) { | 49 | 1.88k | return a != b; | 50 | 1.88k | } |
|
51 | | |
52 | | template <typename T> |
53 | 519M | static int compare(const T& a, const T& b) { |
54 | 519M | return a > b ? 1 : (a < b ? -1 : 0); |
55 | 519M | } _ZN5doris7Compare7compareIhEEiRKT_S4_ Line | Count | Source | 53 | 4.65M | static int compare(const T& a, const T& b) { | 54 | 4.65M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.65M | } |
_ZN5doris7Compare7compareINS_16TimestampTzValueEEEiRKT_S5_ Line | Count | Source | 53 | 472k | static int compare(const T& a, const T& b) { | 54 | 472k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 472k | } |
_ZN5doris7Compare7compareINS_16VecDateTimeValueEEEiRKT_S5_ Line | Count | Source | 53 | 12.8M | static int compare(const T& a, const T& b) { | 54 | 12.8M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 12.8M | } |
_ZN5doris7Compare7compareIlEEiRKT_S4_ Line | Count | Source | 53 | 106M | static int compare(const T& a, const T& b) { | 54 | 106M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 106M | } |
_ZN5doris7Compare7compareIaEEiRKT_S4_ Line | Count | Source | 53 | 8.31M | static int compare(const T& a, const T& b) { | 54 | 8.31M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 8.31M | } |
_ZN5doris7Compare7compareIiEEiRKT_S4_ Line | Count | Source | 53 | 299M | static int compare(const T& a, const T& b) { | 54 | 299M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 299M | } |
Unexecuted instantiation: _ZN5doris7Compare7compareImEEiRKT_S4_ _ZN5doris7Compare7compareINS_11DateV2ValueINS_15DateV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 7.50M | static int compare(const T& a, const T& b) { | 54 | 7.50M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.50M | } |
_ZN5doris7Compare7compareINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEEiRKT_S7_ Line | Count | Source | 53 | 49.6M | static int compare(const T& a, const T& b) { | 54 | 49.6M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 49.6M | } |
_ZN5doris7Compare7compareIjEEiRKT_S4_ Line | Count | Source | 53 | 6.69k | static int compare(const T& a, const T& b) { | 54 | 6.69k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 6.69k | } |
_ZN5doris7Compare7compareIoEEiRKT_S4_ Line | Count | Source | 53 | 4.70k | static int compare(const T& a, const T& b) { | 54 | 4.70k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 4.70k | } |
_ZN5doris7Compare7compareIsEEiRKT_S4_ Line | Count | Source | 53 | 7.12M | static int compare(const T& a, const T& b) { | 54 | 7.12M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.12M | } |
_ZN5doris7Compare7compareInEEiRKT_S4_ Line | Count | Source | 53 | 7.61M | static int compare(const T& a, const T& b) { | 54 | 7.61M | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 7.61M | } |
_ZN5doris7Compare7compareINS_9StringRefEEEiRKT_S5_ Line | Count | Source | 53 | 2.81k | static int compare(const T& a, const T& b) { | 54 | 2.81k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 2.81k | } |
_ZN5doris7Compare7compareINS_7DecimalIiEEEEiRKT_S6_ Line | Count | Source | 53 | 23.6k | static int compare(const T& a, const T& b) { | 54 | 23.6k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 23.6k | } |
_ZN5doris7Compare7compareINS_7DecimalIlEEEEiRKT_S6_ Line | Count | Source | 53 | 341k | static int compare(const T& a, const T& b) { | 54 | 341k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 341k | } |
_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 | 14.7M | static int compare(const T& a, const T& b) { | 54 | 18.4E | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 14.7M | } |
_ZN5doris7Compare7compareINS_7DecimalIN4wide7integerILm256EiEEEEEEiRKT_S9_ Line | Count | Source | 53 | 98.1k | static int compare(const T& a, const T& b) { | 54 | 98.1k | return a > b ? 1 : (a < b ? -1 : 0); | 55 | 98.1k | } |
|
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.57k | static T min(const T& a, const T& b) { | 59 | 2.57k | return less(a, b) ? a : b; | 60 | 2.57k | } |
_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.8k | static T min(const T& a, const T& b) { | 59 | 12.8k | return less(a, b) ? a : b; | 60 | 12.8k | } |
_ZN5doris7Compare3minIaEET_RKS2_S4_ Line | Count | Source | 58 | 7.63k | static T min(const T& a, const T& b) { | 59 | 7.63k | return less(a, b) ? a : b; | 60 | 7.63k | } |
_ZN5doris7Compare3minIsEET_RKS2_S4_ Line | Count | Source | 58 | 8.15k | static T min(const T& a, const T& b) { | 59 | 8.15k | return less(a, b) ? a : b; | 60 | 8.15k | } |
_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 | 104k | static T min(const T& a, const T& b) { | 59 | 104k | return less(a, b) ? a : b; | 60 | 104k | } |
_ZN5doris7Compare3minInEET_RKS2_S4_ Line | Count | Source | 58 | 893 | static T min(const T& a, const T& b) { | 59 | 893 | return less(a, b) ? a : b; | 60 | 893 | } |
_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.20M | static T min(const T& a, const T& b) { | 59 | 4.20M | return less(a, b) ? a : b; | 60 | 4.20M | } |
_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 | 767k | static T min(const T& a, const T& b) { | 59 | 767k | return less(a, b) ? a : b; | 60 | 767k | } |
_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 | 126M | static T max(const T& a, const T& b) { |
64 | 126M | return greater(a, b) ? a : b; |
65 | 126M | } _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 | 15.6M | static T max(const T& a, const T& b) { | 64 | 15.6M | return greater(a, b) ? a : b; | 65 | 15.6M | } |
_ZN5doris7Compare3maxINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_RKS5_S7_ Line | Count | Source | 63 | 87.4M | static T max(const T& a, const T& b) { | 64 | 87.4M | return greater(a, b) ? a : b; | 65 | 87.4M | } |
_ZN5doris7Compare3maxINS_16TimestampTzValueEEET_RKS3_S5_ Line | Count | Source | 63 | 2.56k | static T max(const T& a, const T& b) { | 64 | 2.56k | return greater(a, b) ? a : b; | 65 | 2.56k | } |
_ZN5doris7Compare3maxIdEET_RKS2_S4_ Line | Count | Source | 63 | 6.19M | static T max(const T& a, const T& b) { | 64 | 6.19M | return greater(a, b) ? a : b; | 65 | 6.19M | } |
_ZN5doris7Compare3maxIjEET_RKS2_S4_ Line | Count | Source | 63 | 37 | static T max(const T& a, const T& b) { | 64 | 37 | return greater(a, b) ? a : b; | 65 | 37 | } |
_ZN5doris7Compare3maxIoEET_RKS2_S4_ Line | Count | Source | 63 | 37 | static T max(const T& a, const T& b) { | 64 | 37 | return greater(a, b) ? a : b; | 65 | 37 | } |
_ZN5doris7Compare3maxIhEET_RKS2_S4_ Line | Count | Source | 63 | 32.5k | static T max(const T& a, const T& b) { | 64 | 32.5k | return greater(a, b) ? a : b; | 65 | 32.5k | } |
_ZN5doris7Compare3maxIaEET_RKS2_S4_ Line | Count | Source | 63 | 22.6k | static T max(const T& a, const T& b) { | 64 | 22.6k | return greater(a, b) ? a : b; | 65 | 22.6k | } |
_ZN5doris7Compare3maxIsEET_RKS2_S4_ Line | Count | Source | 63 | 23.3k | static T max(const T& a, const T& b) { | 64 | 23.3k | return greater(a, b) ? a : b; | 65 | 23.3k | } |
_ZN5doris7Compare3maxIiEET_RKS2_S4_ Line | Count | Source | 63 | 7.34M | static T max(const T& a, const T& b) { | 64 | 7.34M | return greater(a, b) ? a : b; | 65 | 7.34M | } |
_ZN5doris7Compare3maxIlEET_RKS2_S4_ Line | Count | Source | 63 | 168k | static T max(const T& a, const T& b) { | 64 | 168k | return greater(a, b) ? a : b; | 65 | 168k | } |
_ZN5doris7Compare3maxInEET_RKS2_S4_ Line | Count | Source | 63 | 2.51k | static T max(const T& a, const T& b) { | 64 | 2.51k | return greater(a, b) ? a : b; | 65 | 2.51k | } |
_ZN5doris7Compare3maxIfEET_RKS2_S4_ Line | Count | Source | 63 | 34.2k | static T max(const T& a, const T& b) { | 64 | 34.2k | return greater(a, b) ? a : b; | 65 | 34.2k | } |
_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 | 6.67M | static T max(const T& a, const T& b) { | 64 | 6.67M | return greater(a, b) ? a : b; | 65 | 6.67M | } |
_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 | 20.3k | static T max(const T& a, const T& b) { | 64 | 20.3k | return greater(a, b) ? a : b; | 65 | 20.3k | } |
_ZN5doris7Compare3maxINS_7DecimalIN4wide7integerILm256EiEEEEEET_RKS7_S9_ Line | Count | Source | 63 | 374 | static T max(const T& a, const T& b) { | 64 | 374 | return greater(a, b) ? a : b; | 65 | 374 | } |
|
66 | | |
67 | | template <typename T> |
68 | 3.44M | static T min_value() { |
69 | 3.44M | return type_limit<T>::min(); |
70 | 3.44M | } _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 | 40.4k | static T min_value() { | 69 | 40.4k | return type_limit<T>::min(); | 70 | 40.4k | } |
_ZN5doris7Compare9min_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 68 | 786k | static T min_value() { | 69 | 786k | return type_limit<T>::min(); | 70 | 786k | } |
_ZN5doris7Compare9min_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 68 | 1.81k | static T min_value() { | 69 | 1.81k | return type_limit<T>::min(); | 70 | 1.81k | } |
_ZN5doris7Compare9min_valueIdEET_v Line | Count | Source | 68 | 369k | static T min_value() { | 69 | 369k | return type_limit<T>::min(); | 70 | 369k | } |
_ZN5doris7Compare9min_valueIjEET_v Line | Count | Source | 68 | 49 | static T min_value() { | 69 | 49 | return type_limit<T>::min(); | 70 | 49 | } |
_ZN5doris7Compare9min_valueIoEET_v Line | Count | Source | 68 | 47 | static T min_value() { | 69 | 47 | return type_limit<T>::min(); | 70 | 47 | } |
_ZN5doris7Compare9min_valueIhEET_v Line | Count | Source | 68 | 434 | static T min_value() { | 69 | 434 | return type_limit<T>::min(); | 70 | 434 | } |
_ZN5doris7Compare9min_valueIaEET_v Line | Count | Source | 68 | 1.96k | static T min_value() { | 69 | 1.96k | return type_limit<T>::min(); | 70 | 1.96k | } |
_ZN5doris7Compare9min_valueIsEET_v Line | Count | Source | 68 | 3.34k | static T min_value() { | 69 | 3.34k | return type_limit<T>::min(); | 70 | 3.34k | } |
_ZN5doris7Compare9min_valueIiEET_v Line | Count | Source | 68 | 1.66M | static T min_value() { | 69 | 1.66M | return type_limit<T>::min(); | 70 | 1.66M | } |
_ZN5doris7Compare9min_valueIlEET_v Line | Count | Source | 68 | 111k | static T min_value() { | 69 | 111k | return type_limit<T>::min(); | 70 | 111k | } |
_ZN5doris7Compare9min_valueInEET_v Line | Count | Source | 68 | 1.74k | static T min_value() { | 69 | 1.74k | return type_limit<T>::min(); | 70 | 1.74k | } |
_ZN5doris7Compare9min_valueIfEET_v Line | Count | Source | 68 | 40.5k | static T min_value() { | 69 | 40.5k | return type_limit<T>::min(); | 70 | 40.5k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIiEEEET_v Line | Count | Source | 68 | 5.80k | static T min_value() { | 69 | 5.80k | return type_limit<T>::min(); | 70 | 5.80k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIlEEEET_v Line | Count | Source | 68 | 406k | static T min_value() { | 69 | 406k | return type_limit<T>::min(); | 70 | 406k | } |
_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 | 10.1k | static T min_value() { | 69 | 10.1k | return type_limit<T>::min(); | 70 | 10.1k | } |
_ZN5doris7Compare9min_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 68 | 210 | static T min_value() { | 69 | 210 | return type_limit<T>::min(); | 70 | 210 | } |
|
71 | | |
72 | | template <typename T> |
73 | 274k | static T max_value() { |
74 | 274k | return type_limit<T>::max(); |
75 | 274k | } _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.79k | static T max_value() { | 74 | 3.79k | return type_limit<T>::max(); | 75 | 3.79k | } |
_ZN5doris7Compare9max_valueINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEET_v Line | Count | Source | 73 | 1.04k | static T max_value() { | 74 | 1.04k | return type_limit<T>::max(); | 75 | 1.04k | } |
_ZN5doris7Compare9max_valueINS_16TimestampTzValueEEET_v Line | Count | Source | 73 | 1.81k | static T max_value() { | 74 | 1.81k | return type_limit<T>::max(); | 75 | 1.81k | } |
_ZN5doris7Compare9max_valueIjEET_v Line | Count | Source | 73 | 38 | static T max_value() { | 74 | 38 | return type_limit<T>::max(); | 75 | 38 | } |
_ZN5doris7Compare9max_valueIoEET_v Line | Count | Source | 73 | 38 | static T max_value() { | 74 | 38 | return type_limit<T>::max(); | 75 | 38 | } |
_ZN5doris7Compare9max_valueIhEET_v Line | Count | Source | 73 | 199 | static T max_value() { | 74 | 199 | return type_limit<T>::max(); | 75 | 199 | } |
_ZN5doris7Compare9max_valueIaEET_v Line | Count | Source | 73 | 681 | static T max_value() { | 74 | 681 | return type_limit<T>::max(); | 75 | 681 | } |
_ZN5doris7Compare9max_valueIsEET_v Line | Count | Source | 73 | 629 | static T max_value() { | 74 | 629 | return type_limit<T>::max(); | 75 | 629 | } |
_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 | 43.5k | static T max_value() { | 74 | 43.5k | return type_limit<T>::max(); | 75 | 43.5k | } |
_ZN5doris7Compare9max_valueInEET_v Line | Count | Source | 73 | 477 | static T max_value() { | 74 | 477 | return type_limit<T>::max(); | 75 | 477 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIiEEEET_v Line | Count | Source | 73 | 421 | static T max_value() { | 74 | 421 | return type_limit<T>::max(); | 75 | 421 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIlEEEET_v Line | Count | Source | 73 | 5.13k | static T max_value() { | 74 | 5.13k | return type_limit<T>::max(); | 75 | 5.13k | } |
_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 | 710 | static T max_value() { | 74 | 710 | return type_limit<T>::max(); | 75 | 710 | } |
_ZN5doris7Compare9max_valueINS_7DecimalIN4wide7integerILm256EiEEEEEET_v Line | Count | Source | 73 | 183 | static T max_value() { | 74 | 183 | return type_limit<T>::max(); | 75 | 183 | } |
|
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 | 214 | return true; |
82 | 214 | } |
83 | 1.30M | return left == right; |
84 | 1.30M | } _ZN5doris11EqualsFloatIfEEbT_S1_ Line | Count | Source | 79 | 1.33k | bool EqualsFloat(T left, T right) { | 80 | 1.33k | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 26 | return true; | 82 | 26 | } | 83 | 1.30k | return left == right; | 84 | 1.33k | } |
_ZN5doris11EqualsFloatIdEEbT_S1_ Line | Count | Source | 79 | 1.29M | bool EqualsFloat(T left, T right) { | 80 | 1.29M | if (UNLIKELY(std::isnan(left) && std::isnan(right))) { | 81 | 188 | return true; | 82 | 188 | } | 83 | 1.29M | return left == right; | 84 | 1.29M | } |
|
85 | | |
86 | | template <typename T> |
87 | 7.61M | bool GreaterThanFloat(T left, T right) { |
88 | | // nan is always bigger than everything else |
89 | 7.61M | bool left_is_nan = std::isnan(left); |
90 | 7.61M | bool right_is_nan = std::isnan(right); |
91 | 7.61M | if (UNLIKELY(right_is_nan)) { |
92 | 550 | return false; |
93 | 550 | } |
94 | 7.61M | if (UNLIKELY(left_is_nan)) { |
95 | 27.2k | return true; |
96 | 27.2k | } |
97 | 7.58M | return left > right; |
98 | 7.61M | } _ZN5doris16GreaterThanFloatIfEEbT_S1_ Line | Count | Source | 87 | 64.2k | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 64.2k | bool left_is_nan = std::isnan(left); | 90 | 64.2k | bool right_is_nan = std::isnan(right); | 91 | 64.2k | if (UNLIKELY(right_is_nan)) { | 92 | 111 | return false; | 93 | 111 | } | 94 | 64.1k | if (UNLIKELY(left_is_nan)) { | 95 | 11.0k | return true; | 96 | 11.0k | } | 97 | 53.1k | return left > right; | 98 | 64.1k | } |
_ZN5doris16GreaterThanFloatIdEEbT_S1_ Line | Count | Source | 87 | 7.54M | bool GreaterThanFloat(T left, T right) { | 88 | | // nan is always bigger than everything else | 89 | 7.54M | bool left_is_nan = std::isnan(left); | 90 | 7.54M | bool right_is_nan = std::isnan(right); | 91 | 7.54M | if (UNLIKELY(right_is_nan)) { | 92 | 439 | return false; | 93 | 439 | } | 94 | 7.54M | if (UNLIKELY(left_is_nan)) { | 95 | 16.2k | return true; | 96 | 16.2k | } | 97 | 7.53M | return left > right; | 98 | 7.54M | } |
|
99 | | |
100 | | template <typename T> |
101 | 555k | bool GreaterThanEqualsFloat(T left, T right) { |
102 | | // nan is always bigger than everything else |
103 | 555k | bool left_is_nan = std::isnan(left); |
104 | 555k | bool right_is_nan = std::isnan(right); |
105 | 555k | if (UNLIKELY(right_is_nan)) { |
106 | 369 | return left_is_nan; |
107 | 369 | } |
108 | 555k | if (UNLIKELY(left_is_nan)) { |
109 | 596 | return true; |
110 | 596 | } |
111 | 554k | return left >= right; |
112 | 555k | } _ZN5doris22GreaterThanEqualsFloatIfEEbT_S1_ Line | Count | Source | 101 | 1.13k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 1.13k | bool left_is_nan = std::isnan(left); | 104 | 1.13k | bool right_is_nan = std::isnan(right); | 105 | 1.13k | if (UNLIKELY(right_is_nan)) { | 106 | 48 | return left_is_nan; | 107 | 48 | } | 108 | 1.08k | if (UNLIKELY(left_is_nan)) { | 109 | 107 | return true; | 110 | 107 | } | 111 | 978 | return left >= right; | 112 | 1.08k | } |
_ZN5doris22GreaterThanEqualsFloatIdEEbT_S1_ Line | Count | Source | 101 | 554k | bool GreaterThanEqualsFloat(T left, T right) { | 102 | | // nan is always bigger than everything else | 103 | 554k | bool left_is_nan = std::isnan(left); | 104 | 554k | bool right_is_nan = std::isnan(right); | 105 | 554k | if (UNLIKELY(right_is_nan)) { | 106 | 321 | return left_is_nan; | 107 | 321 | } | 108 | 554k | if (UNLIKELY(left_is_nan)) { | 109 | 489 | return true; | 110 | 489 | } | 111 | 553k | return left >= right; | 112 | 554k | } |
|
113 | | |
114 | | template <typename T> |
115 | 10.3M | int CompareFloat(T left, T right) { |
116 | | // nan is always bigger than everything else |
117 | 10.3M | bool left_is_nan = std::isnan(left); |
118 | 10.3M | bool right_is_nan = std::isnan(right); |
119 | 10.3M | if (UNLIKELY(left_is_nan || right_is_nan)) { |
120 | 5.21k | if (left_is_nan && right_is_nan) { |
121 | 1.91k | return 0; |
122 | 1.91k | } |
123 | 3.30k | if (left_is_nan) { |
124 | 913 | return 1; |
125 | 2.39k | } else { |
126 | 2.39k | return -1; |
127 | 2.39k | } |
128 | 3.30k | } |
129 | 10.3M | return left > right ? 1 : (left < right ? -1 : 0); |
130 | 10.3M | }; _ZN5doris12CompareFloatIfEEiT_S1_ Line | Count | Source | 115 | 4.71M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 4.71M | bool left_is_nan = std::isnan(left); | 118 | 4.71M | bool right_is_nan = std::isnan(right); | 119 | 4.71M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.35k | if (left_is_nan && right_is_nan) { | 121 | 848 | return 0; | 122 | 848 | } | 123 | 1.50k | if (left_is_nan) { | 124 | 411 | return 1; | 125 | 1.09k | } else { | 126 | 1.09k | return -1; | 127 | 1.09k | } | 128 | 1.50k | } | 129 | 4.71M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 4.71M | }; |
_ZN5doris12CompareFloatIdEEiT_S1_ Line | Count | Source | 115 | 5.62M | int CompareFloat(T left, T right) { | 116 | | // nan is always bigger than everything else | 117 | 5.62M | bool left_is_nan = std::isnan(left); | 118 | 5.62M | bool right_is_nan = std::isnan(right); | 119 | 5.62M | if (UNLIKELY(left_is_nan || right_is_nan)) { | 120 | 2.86k | if (left_is_nan && right_is_nan) { | 121 | 1.06k | return 0; | 122 | 1.06k | } | 123 | 1.79k | if (left_is_nan) { | 124 | 502 | return 1; | 125 | 1.29k | } else { | 126 | 1.29k | return -1; | 127 | 1.29k | } | 128 | 1.79k | } | 129 | 5.61M | return left > right ? 1 : (left < right ? -1 : 0); | 130 | 5.62M | }; |
|
131 | | |
132 | | // float |
133 | | template <> |
134 | 14.7k | inline bool Compare::less(const float& a, const float& b) { |
135 | 14.7k | return GreaterThanFloat(b, a); |
136 | 14.7k | } |
137 | | template <> |
138 | 49.5k | inline bool Compare::greater(const float& a, const float& b) { |
139 | 49.5k | return GreaterThanFloat(a, b); |
140 | 49.5k | } |
141 | | template <> |
142 | 573 | inline bool Compare::less_equal(const float& a, const float& b) { |
143 | 573 | return GreaterThanEqualsFloat(b, a); |
144 | 573 | } |
145 | | template <> |
146 | 561 | inline bool Compare::greater_equal(const float& a, const float& b) { |
147 | 561 | return GreaterThanEqualsFloat(a, b); |
148 | 561 | } |
149 | | template <> |
150 | 1.14k | inline bool Compare::equal(const float& a, const float& b) { |
151 | 1.14k | return EqualsFloat(a, b); |
152 | 1.14k | } |
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 | 4.71M | inline int Compare::compare(const float& a, const float& b) { |
159 | 4.71M | return CompareFloat(a, b); |
160 | 4.71M | } |
161 | | template <> |
162 | 356 | inline float Compare::max_value<float>() { |
163 | 356 | return std::numeric_limits<float>::quiet_NaN(); |
164 | 356 | } |
165 | | |
166 | | // double |
167 | | template <> |
168 | 991k | inline bool Compare::less(const double& a, const double& b) { |
169 | 991k | return GreaterThanFloat(b, a); |
170 | 991k | } |
171 | | template <> |
172 | 6.55M | inline bool Compare::greater(const double& a, const double& b) { |
173 | 6.55M | return GreaterThanFloat(a, b); |
174 | 6.55M | } |
175 | | template <> |
176 | 276k | inline bool Compare::less_equal(const double& a, const double& b) { |
177 | 276k | return GreaterThanEqualsFloat(b, a); |
178 | 276k | } |
179 | | template <> |
180 | 277k | inline bool Compare::greater_equal(const double& a, const double& b) { |
181 | 277k | return GreaterThanEqualsFloat(a, b); |
182 | 277k | } |
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 | 5.62M | inline int Compare::compare(const double& a, const double& b) { |
193 | 5.62M | return CompareFloat(a, b); |
194 | 5.62M | } |
195 | | template <> |
196 | 717 | inline double Compare::max_value<double>() { |
197 | 717 | return std::numeric_limits<double>::quiet_NaN(); |
198 | 717 | } |
199 | | |
200 | | template <class T> |
201 | | struct Less { |
202 | 1.86M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); }_ZNK5doris4LessIaEclERKaS3_ Line | Count | Source | 202 | 1.71k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIsEclERKsS3_ Line | Count | Source | 202 | 2.98k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIiEclERKiS3_ Line | Count | Source | 202 | 1.83M | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessIlEclERKlS3_ Line | Count | Source | 202 | 5.83k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessInEclERKnS3_ Line | Count | Source | 202 | 24 | 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 | 8.69k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16VecDateTimeValueEEclERKS1_S4_ Line | Count | Source | 202 | 410 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_15DateV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 815 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEEEclERKS3_S6_ Line | Count | Source | 202 | 313 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 202 | 321 | 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 | 63 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 202 | 102 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 202 | 1.01k | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 202 | 66 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
_ZNK5doris4LessINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 202 | 76 | bool operator()(const T& lhs, const T& rhs) const { return std::less<T> {}(lhs, rhs); } |
|
203 | | }; |
204 | | template <> |
205 | 321 | inline bool Less<double>::operator()(const double& lhs, const double& rhs) const { |
206 | 321 | return Compare::less(lhs, rhs); |
207 | 321 | } |
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 | 159M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); }_ZNK5doris7EqualToImEclERKmS3_ Line | Count | Source | 215 | 71.6M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIaEclERKaS3_ Line | Count | Source | 215 | 4.48k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIsEclERKsS3_ Line | Count | Source | 215 | 4.30k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIiEclERKiS3_ Line | Count | Source | 215 | 23.4M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIlEclERKlS3_ Line | Count | Source | 215 | 35.9M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToInEclERKnS3_ Line | Count | Source | 215 | 395 | 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.64k | 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.67k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_16TimestampTzValueEEclERKS1_S4_ Line | Count | Source | 215 | 643 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIhEclERKhS3_ Line | Count | Source | 215 | 88.0k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIjEclERKjS3_ Line | Count | Source | 215 | 10.3M | 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 | 86 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIiEEEclERKS2_S5_ Line | Count | Source | 215 | 250 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIlEEEclERKS2_S5_ Line | Count | Source | 215 | 896 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_12Decimal128V3EEclERKS1_S4_ Line | Count | Source | 215 | 254 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7DecimalIN4wide7integerILm256EiEEEEEclERKS5_S8_ Line | Count | Source | 215 | 952 | 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 | 10.9k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIN4wide7integerILm128EjEEEclERKS3_S6_ Line | Count | Source | 215 | 66.4k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToIPcEclERKS1_S4_ Line | Count | Source | 215 | 873 | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_9StringRefEEclERKS1_S4_ Line | Count | Source | 215 | 17.6M | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_5FieldEEclERKS1_S4_ Line | Count | Source | 215 | 605 | 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 | 160k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_7UInt136EEclERKS1_S4_ Line | Count | Source | 215 | 3.78k | 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.69k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
_ZNK5doris7EqualToINS_6UInt96EEclERKS1_S4_ Line | Count | Source | 215 | 13.7k | 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 | 24.1k | inline bool operator()(const T& a, const T& b) const { return std::equal_to<T>()(a, b); } |
|
216 | | }; |
217 | | template <> |
218 | 232 | inline bool EqualTo<double>::operator()(const double& lhs, const double& rhs) const { |
219 | 232 | return Compare::equal(lhs, rhs); |
220 | 232 | } |
221 | | template <> |
222 | 640 | inline bool EqualTo<float>::operator()(const float& lhs, const float& rhs) const { |
223 | 640 | return Compare::equal(lhs, rhs); |
224 | 640 | } |
225 | | |
226 | | template <typename T> |
227 | | requires(std::is_floating_point_v<T>) |
228 | 604k | void NormalizeFloat(T& val) { |
229 | 604k | if (val == (T)0.0) { |
230 | | // Turn negative zero into positive zero |
231 | 49.7k | val = (T)0.0; |
232 | 554k | } else if (std::isnan(val)) { |
233 | 156 | val = std::numeric_limits<T>::quiet_NaN(); |
234 | 156 | } |
235 | 604k | } _ZN5doris14NormalizeFloatIfQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 46.2k | void NormalizeFloat(T& val) { | 229 | 46.2k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 1.44k | val = (T)0.0; | 232 | 44.7k | } else if (std::isnan(val)) { | 233 | 41 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 41 | } | 235 | 46.2k | } |
_ZN5doris14NormalizeFloatIdQsr3stdE19is_floating_point_vIT_EEEvRS1_ Line | Count | Source | 228 | 558k | void NormalizeFloat(T& val) { | 229 | 558k | if (val == (T)0.0) { | 230 | | // Turn negative zero into positive zero | 231 | 48.3k | val = (T)0.0; | 232 | 509k | } else if (std::isnan(val)) { | 233 | 115 | val = std::numeric_limits<T>::quiet_NaN(); | 234 | 115 | } | 235 | 558k | } |
|
236 | | |
237 | | } // namespace doris |