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 | | // This file is copied from |
18 | | // https://github.com/ClickHouse/ClickHouse/blob/master/src/Common/PODArray.h |
19 | | // and modified by Doris |
20 | | |
21 | | #pragma once |
22 | | |
23 | | #include <stdint.h> |
24 | | #include <string.h> |
25 | | #include <sys/types.h> |
26 | | |
27 | | #include <algorithm> |
28 | | #include <boost/core/noncopyable.hpp> |
29 | | #include <cassert> |
30 | | #include <cstddef> |
31 | | #include <initializer_list> |
32 | | #include <utility> |
33 | | |
34 | | #include "common/compiler_util.h" |
35 | | #include "common/compiler_util.h" // IWYU pragma: keep |
36 | | #include "core/allocator.h" // IWYU pragma: keep |
37 | | #include "core/memcpy_small.h" |
38 | | #include "runtime/thread_context.h" |
39 | | |
40 | | #ifndef NDEBUG |
41 | | #include <sys/mman.h> |
42 | | #endif |
43 | | |
44 | | #include "core/pod_array_fwd.h" |
45 | | |
46 | | namespace doris { |
47 | | #include "common/compile_check_avoid_begin.h" |
48 | | /** For zero argument, result is zero. |
49 | | * For arguments with most significand bit set, result is zero. |
50 | | * For other arguments, returns value, rounded up to power of two. |
51 | | */ |
52 | 1.95M | inline size_t round_up_to_power_of_two_or_zero(size_t n) { |
53 | 1.95M | --n; |
54 | 1.95M | n |= n >> 1; |
55 | 1.95M | n |= n >> 2; |
56 | 1.95M | n |= n >> 4; |
57 | 1.95M | n |= n >> 8; |
58 | 1.95M | n |= n >> 16; |
59 | 1.95M | n |= n >> 32; |
60 | 1.95M | ++n; |
61 | | |
62 | 1.95M | return n; |
63 | 1.95M | } |
64 | | |
65 | | /** A dynamic array for POD types. |
66 | | * Designed for a small number of large arrays (rather than a lot of small ones). |
67 | | * To be more precise - for use in ColumnVector. |
68 | | * It differs from std::vector in that it does not initialize the elements. |
69 | | * |
70 | | * Made noncopyable so that there are no accidential copies. You can copy the data using `assign` method. |
71 | | * |
72 | | * Only part of the std::vector interface is supported. |
73 | | * |
74 | | * The default constructor creates an empty object that does not allocate memory. |
75 | | * Then the memory is allocated at least initial_bytes bytes. |
76 | | * |
77 | | * If you insert elements with push_back, without making a `reserve`, then PODArray is about 2.5 times faster than std::vector. |
78 | | * |
79 | | * The template parameter `pad_right` - always allocate at the end of the array as many unused bytes. |
80 | | * Can be used to make optimistic reading, writing, copying with unaligned SIMD instructions. |
81 | | * |
82 | | * The template parameter `pad_left` - always allocate memory before 0th element of the array (rounded up to the whole number of elements) |
83 | | * and zero initialize -1th element. It allows to use -1th element that will have value 0. |
84 | | * This gives performance benefits when converting an array of offsets to array of sizes. |
85 | | * |
86 | | * If reserve 4096 bytes, used 512 bytes, pad_left = 16, pad_right = 15, the structure of PODArray is as follows: |
87 | | * |
88 | | * 16 bytes 512 bytes 3553 bytes 15 bytes |
89 | | * pad_left ----- c_start -------------c_end ---------------------------- c_end_of_storage ------------- pad_right |
90 | | * ^ ^ ^ |
91 | | * | | | |
92 | | * | c_res_mem (>= c_end && <= c_end_of_storage) | |
93 | | * | | |
94 | | * +-------------------------------------- allocated_bytes (4096 bytes) -----------------------------------+ |
95 | | * |
96 | | * Some methods using allocator have TAllocatorParams variadic arguments. |
97 | | * These arguments will be passed to corresponding methods of TAllocator. |
98 | | * Example: pointer to Arena, that is used for allocations. |
99 | | * |
100 | | * Why Allocator is not passed through constructor, as it is done in C++ standard library? |
101 | | * Because sometimes we have many small objects, that share same allocator with same parameters, |
102 | | * and we must avoid larger object size due to storing the same parameters in each object. |
103 | | * This is required for states of aggregate functions. |
104 | | * |
105 | | * PODArray does not have memset 0 when allocating memory, therefore, the query mem tracker is virtual memory, |
106 | | * which will cause the query memory statistics to be higher than the actual physical memory. |
107 | | * |
108 | | * TODO Pass alignment to Allocator. |
109 | | * TODO Allow greater alignment than alignof(T). Example: array of char aligned to page size. |
110 | | */ |
111 | | static constexpr size_t EmptyPODArraySize = 1024; |
112 | | static constexpr size_t TrackingGrowthMinSize = (1ULL << 18); // 256K |
113 | | extern const char empty_pod_array[EmptyPODArraySize]; |
114 | | |
115 | | /** Base class that depend only on size of element, not on element itself. |
116 | | * You can static_cast to this class if you want to insert some data regardless to the actual type T. |
117 | | */ |
118 | | template <size_t ELEMENT_SIZE, size_t initial_bytes, typename TAllocator, size_t pad_right_, |
119 | | size_t pad_left_> |
120 | | class PODArrayBase : private boost::noncopyable, |
121 | | private TAllocator /// empty base optimization |
122 | | { |
123 | | protected: |
124 | | /// Round padding up to an whole number of elements to simplify arithmetic. |
125 | | static constexpr size_t pad_right = integerRoundUp(pad_right_, ELEMENT_SIZE); |
126 | | /// pad_left is also rounded up to 16 bytes to maintain alignment of allocated memory. |
127 | | static constexpr size_t pad_left = integerRoundUp(integerRoundUp(pad_left_, ELEMENT_SIZE), 16); |
128 | | /// Empty array will point to this static memory as padding. |
129 | | static constexpr char* null = const_cast<char*>(empty_pod_array) + pad_left; |
130 | | |
131 | | static_assert(pad_left <= EmptyPODArraySize && |
132 | | "Left Padding exceeds EmptyPODArraySize. Is the element size too large?"); |
133 | | |
134 | | char* c_start = null; /// Does not include pad_left. |
135 | | char* c_end = null; |
136 | | char* c_end_of_storage = null; /// Does not include pad_right. |
137 | | char* c_res_mem = null; |
138 | | |
139 | | /// The amount of memory occupied by the num_elements of the elements. |
140 | 488M | static size_t byte_size(size_t num_elements) { |
141 | 488M | #ifndef NDEBUG |
142 | 488M | size_t amount; |
143 | 488M | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { |
144 | 0 | DCHECK(false) |
145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " |
146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; |
147 | 0 | } |
148 | 488M | return amount; |
149 | | #else |
150 | | return num_elements * ELEMENT_SIZE; |
151 | | #endif |
152 | 488M | } _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 136M | static size_t byte_size(size_t num_elements) { | 141 | 136M | #ifndef NDEBUG | 142 | 136M | size_t amount; | 143 | 136M | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 136M | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 136M | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 201M | static size_t byte_size(size_t num_elements) { | 141 | 201M | #ifndef NDEBUG | 142 | 201M | size_t amount; | 143 | 201M | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 201M | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 201M | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 137M | static size_t byte_size(size_t num_elements) { | 141 | 137M | #ifndef NDEBUG | 142 | 137M | size_t amount; | 143 | 137M | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 137M | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 137M | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 4.68M | static size_t byte_size(size_t num_elements) { | 141 | 4.68M | #ifndef NDEBUG | 142 | 4.68M | size_t amount; | 143 | 4.68M | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 4.68M | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 4.68M | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 7.04M | static size_t byte_size(size_t num_elements) { | 141 | 7.04M | #ifndef NDEBUG | 142 | 7.04M | size_t amount; | 143 | 7.04M | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 7.04M | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 7.04M | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 1.20M | static size_t byte_size(size_t num_elements) { | 141 | 1.20M | #ifndef NDEBUG | 142 | 1.20M | size_t amount; | 143 | 1.20M | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 1.20M | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 1.20M | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE9byte_sizeEm Line | Count | Source | 140 | 140 | static size_t byte_size(size_t num_elements) { | 141 | 140 | #ifndef NDEBUG | 142 | 140 | size_t amount; | 143 | 140 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 140 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 140 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9byte_sizeEm Line | Count | Source | 140 | 22 | static size_t byte_size(size_t num_elements) { | 141 | 22 | #ifndef NDEBUG | 142 | 22 | size_t amount; | 143 | 22 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 22 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 22 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9byte_sizeEm Line | Count | Source | 140 | 466 | static size_t byte_size(size_t num_elements) { | 141 | 466 | #ifndef NDEBUG | 142 | 466 | size_t amount; | 143 | 466 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 466 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 466 | } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 240k | static size_t byte_size(size_t num_elements) { | 141 | 240k | #ifndef NDEBUG | 142 | 240k | size_t amount; | 143 | 240k | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 240k | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 240k | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 14 | static size_t byte_size(size_t num_elements) { | 141 | 14 | #ifndef NDEBUG | 142 | 14 | size_t amount; | 143 | 14 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 14 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 14 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE9byte_sizeEm Line | Count | Source | 140 | 7 | static size_t byte_size(size_t num_elements) { | 141 | 7 | #ifndef NDEBUG | 142 | 7 | size_t amount; | 143 | 7 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 7 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 7 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9byte_sizeEm Line | Count | Source | 140 | 7 | static size_t byte_size(size_t num_elements) { | 141 | 7 | #ifndef NDEBUG | 142 | 7 | size_t amount; | 143 | 7 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 7 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 7 | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9byte_sizeEm Line | Count | Source | 140 | 8 | static size_t byte_size(size_t num_elements) { | 141 | 8 | #ifndef NDEBUG | 142 | 8 | size_t amount; | 143 | 8 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 8 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 8 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9byte_sizeEm Line | Count | Source | 140 | 119 | static size_t byte_size(size_t num_elements) { | 141 | 119 | #ifndef NDEBUG | 142 | 119 | size_t amount; | 143 | 119 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 119 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 119 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9byte_sizeEm _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE9byte_sizeEm Line | Count | Source | 140 | 56 | static size_t byte_size(size_t num_elements) { | 141 | 56 | #ifndef NDEBUG | 142 | 56 | size_t amount; | 143 | 56 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 56 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 56 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE9byte_sizeEm _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 10 | static size_t byte_size(size_t num_elements) { | 141 | 10 | #ifndef NDEBUG | 142 | 10 | size_t amount; | 143 | 10 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 10 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 10 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9byte_sizeEm Line | Count | Source | 140 | 6 | static size_t byte_size(size_t num_elements) { | 141 | 6 | #ifndef NDEBUG | 142 | 6 | size_t amount; | 143 | 6 | if (__builtin_mul_overflow(num_elements, ELEMENT_SIZE, &amount)) { | 144 | 0 | DCHECK(false) | 145 | 0 | << "Amount of memory requested to allocate is more than allowed, num_elements " | 146 | 0 | << num_elements << ", ELEMENT_SIZE " << ELEMENT_SIZE; | 147 | 0 | } | 148 | 6 | return amount; | 149 | | #else | 150 | | return num_elements * ELEMENT_SIZE; | 151 | | #endif | 152 | 6 | } |
|
153 | | |
154 | | /// Minimum amount of memory to allocate for num_elements, including padding. |
155 | 2.32M | static size_t minimum_memory_for_elements(size_t num_elements) { |
156 | 2.32M | return byte_size(num_elements) + pad_right + pad_left; |
157 | 2.32M | } _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 330k | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 330k | return byte_size(num_elements) + pad_right + pad_left; | 157 | 330k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 1.21M | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 1.21M | return byte_size(num_elements) + pad_right + pad_left; | 157 | 1.21M | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 570k | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 570k | return byte_size(num_elements) + pad_right + pad_left; | 157 | 570k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 154k | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 154k | return byte_size(num_elements) + pad_right + pad_left; | 157 | 154k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 28.7k | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 28.7k | return byte_size(num_elements) + pad_right + pad_left; | 157 | 28.7k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 26.0k | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 26.0k | return byte_size(num_elements) + pad_right + pad_left; | 157 | 26.0k | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 18 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 18 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 18 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 9 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 9 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 9 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 45 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 45 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 45 | } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 2 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 2 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 6 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 6 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 6 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 3 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 3 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 3 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 3 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 3 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 3 | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 4 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 4 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 4 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 48 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 48 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 48 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE27minimum_memory_for_elementsEm _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 12 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 12 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 12 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE27minimum_memory_for_elementsEm _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 4 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 4 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 4 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE27minimum_memory_for_elementsEm Line | Count | Source | 155 | 2 | static size_t minimum_memory_for_elements(size_t num_elements) { | 156 | 2 | return byte_size(num_elements) + pad_right + pad_left; | 157 | 2 | } |
|
158 | | |
159 | 2.14M | inline void check_memory(int64_t size) { |
160 | 2.14M | std::string err_msg; |
161 | 2.14M | if (TAllocator::sys_memory_exceed(size, &err_msg) || |
162 | 2.14M | TAllocator::memory_tracker_exceed(size, &err_msg)) { |
163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); |
164 | 0 | if (doris::enable_thread_catch_bad_alloc) { |
165 | 0 | LOG(WARNING) << err_msg; |
166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); |
167 | 0 | } else { |
168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; |
169 | 0 | } |
170 | 0 | } |
171 | 2.14M | } _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 259k | inline void check_memory(int64_t size) { | 160 | 259k | std::string err_msg; | 161 | 259k | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 259k | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 259k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 1.17M | inline void check_memory(int64_t size) { | 160 | 1.17M | std::string err_msg; | 161 | 1.17M | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 1.17M | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 1.17M | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 539k | inline void check_memory(int64_t size) { | 160 | 539k | std::string err_msg; | 161 | 539k | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 539k | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 539k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 129k | inline void check_memory(int64_t size) { | 160 | 129k | std::string err_msg; | 161 | 129k | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 129k | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 129k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 13.1k | inline void check_memory(int64_t size) { | 160 | 13.1k | std::string err_msg; | 161 | 13.1k | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 13.1k | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 13.1k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 28.7k | inline void check_memory(int64_t size) { | 160 | 28.7k | std::string err_msg; | 161 | 28.7k | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 28.7k | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 28.7k | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE12check_memoryEl Line | Count | Source | 159 | 32 | inline void check_memory(int64_t size) { | 160 | 32 | std::string err_msg; | 161 | 32 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 32 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 32 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12check_memoryEl Line | Count | Source | 159 | 11 | inline void check_memory(int64_t size) { | 160 | 11 | std::string err_msg; | 161 | 11 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 11 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 11 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12check_memoryEl Line | Count | Source | 159 | 51 | inline void check_memory(int64_t size) { | 160 | 51 | std::string err_msg; | 161 | 51 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 51 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 51 | } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 58 | inline void check_memory(int64_t size) { | 160 | 58 | std::string err_msg; | 161 | 58 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 58 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 58 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 7 | inline void check_memory(int64_t size) { | 160 | 7 | std::string err_msg; | 161 | 7 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 7 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 7 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE12check_memoryEl Line | Count | Source | 159 | 4 | inline void check_memory(int64_t size) { | 160 | 4 | std::string err_msg; | 161 | 4 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 4 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 4 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12check_memoryEl Line | Count | Source | 159 | 4 | inline void check_memory(int64_t size) { | 160 | 4 | std::string err_msg; | 161 | 4 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 4 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 4 | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12check_memoryEl Line | Count | Source | 159 | 4 | inline void check_memory(int64_t size) { | 160 | 4 | std::string err_msg; | 161 | 4 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 4 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 4 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12check_memoryEl Line | Count | Source | 159 | 32 | inline void check_memory(int64_t size) { | 160 | 32 | std::string err_msg; | 161 | 32 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 32 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 32 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12check_memoryEl _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12check_memoryEl Line | Count | Source | 159 | 12 | inline void check_memory(int64_t size) { | 160 | 12 | std::string err_msg; | 161 | 12 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 12 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 12 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12check_memoryEl _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 4 | inline void check_memory(int64_t size) { | 160 | 4 | std::string err_msg; | 161 | 4 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 4 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 4 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12check_memoryEl Line | Count | Source | 159 | 2 | inline void check_memory(int64_t size) { | 160 | 2 | std::string err_msg; | 161 | 2 | if (TAllocator::sys_memory_exceed(size, &err_msg) || | 162 | 2 | TAllocator::memory_tracker_exceed(size, &err_msg)) { | 163 | 0 | err_msg = fmt::format("PODArray reserve memory failed, {}.", err_msg); | 164 | 0 | if (doris::enable_thread_catch_bad_alloc) { | 165 | 0 | LOG(WARNING) << err_msg; | 166 | 0 | throw doris::Exception(doris::ErrorCode::MEM_ALLOC_FAILED, err_msg); | 167 | 0 | } else { | 168 | 0 | LOG_EVERY_N(WARNING, 1024) << err_msg; | 169 | 0 | } | 170 | 0 | } | 171 | 2 | } |
|
172 | | |
173 | 1.88M | inline void reset_resident_memory_impl(const char* c_end_new) { |
174 | 1.88M | static_assert(!TAllocator::need_check_and_tracking_memory(), |
175 | 1.88M | "TAllocator should `check_and_tracking_memory` is false"); |
176 | | // Premise conditions: |
177 | | // - c_res_mem <= c_end_of_storage |
178 | | // - c_end_new > c_res_mem |
179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. |
180 | | // |
181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. |
182 | | // |
183 | | // If capacity >= 512K: |
184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. |
185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, |
186 | | // which is also the minimum tracking size of this time, |
187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, |
188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, |
189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` |
190 | | // must be greater than `c_end_new - c_res_mem`. |
191 | | // |
192 | | // For example: |
193 | | // - 256K < capacity <= 512K, |
194 | | // it will only tracking twice, |
195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, |
196 | | // so it will tracking to c_end_of_storage. |
197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased |
198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, |
199 | | // so `reset_resident_memory` is tracking an additional 2M, |
200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. |
201 | | // |
202 | | // so, when PODArray is expanded by power of 2, |
203 | | // the memory is checked and tracked up to 8 times between each expansion, |
204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. |
205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; |
206 | 1.88M | int64_t res_mem_growth = |
207 | 1.88M | c_end_of_storage - c_res_mem < TrackingGrowthMinSize |
208 | 1.88M | ? c_end_of_storage - c_res_mem |
209 | 1.88M | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), |
210 | 13.9k | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + |
211 | 13.9k | (allocated_bytes() >> 3))); |
212 | 18.4E | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) |
213 | 18.4E | << ", c_res_mem: " << (c_res_mem - c_start) |
214 | 18.4E | << ", c_end_of_storage: " << (c_end_of_storage - c_start) |
215 | 18.4E | << ", allocated_bytes: " << allocated_bytes() |
216 | 18.4E | << ", res_mem_growth: " << res_mem_growth; |
217 | 1.88M | check_memory(res_mem_growth); |
218 | 1.88M | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); |
219 | 0 | c_res_mem = c_res_mem + res_mem_growth; |
220 | 1.88M | } _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 209k | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 209k | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 209k | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 209k | int64_t res_mem_growth = | 207 | 209k | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 209k | ? c_end_of_storage - c_res_mem | 209 | 209k | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 1.77k | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 1.77k | (allocated_bytes() >> 3))); | 212 | 209k | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 209k | check_memory(res_mem_growth); | 218 | 209k | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 209k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 1.06M | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 1.06M | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 1.06M | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 1.06M | int64_t res_mem_growth = | 207 | 1.06M | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 1.06M | ? c_end_of_storage - c_res_mem | 209 | 1.06M | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 8.57k | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 8.57k | (allocated_bytes() >> 3))); | 212 | 1.06M | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 1.06M | check_memory(res_mem_growth); | 218 | 1.06M | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 1.06M | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 501k | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 501k | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 501k | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 501k | int64_t res_mem_growth = | 207 | 501k | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 501k | ? c_end_of_storage - c_res_mem | 209 | 501k | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 3.41k | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 3.41k | (allocated_bytes() >> 3))); | 212 | 18.4E | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 18.4E | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 18.4E | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 18.4E | << ", allocated_bytes: " << allocated_bytes() | 216 | 18.4E | << ", res_mem_growth: " << res_mem_growth; | 217 | 501k | check_memory(res_mem_growth); | 218 | 501k | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 501k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 78.1k | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 78.1k | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 78.1k | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 78.1k | int64_t res_mem_growth = | 207 | 78.1k | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 78.1k | ? c_end_of_storage - c_res_mem | 209 | 78.1k | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 84 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 84 | (allocated_bytes() >> 3))); | 212 | 78.1k | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 78.1k | check_memory(res_mem_growth); | 218 | 78.1k | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 78.1k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 12.8k | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 12.8k | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 12.8k | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 12.8k | int64_t res_mem_growth = | 207 | 12.8k | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 12.8k | ? c_end_of_storage - c_res_mem | 209 | 12.8k | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 32 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 32 | (allocated_bytes() >> 3))); | 212 | 12.8k | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 12.8k | check_memory(res_mem_growth); | 218 | 12.8k | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 12.8k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 15.1k | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 15.1k | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 15.1k | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 15.1k | int64_t res_mem_growth = | 207 | 15.1k | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 15.1k | ? c_end_of_storage - c_res_mem | 209 | 15.1k | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 24 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 24 | (allocated_bytes() >> 3))); | 212 | 15.1k | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 15.1k | check_memory(res_mem_growth); | 218 | 15.1k | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 15.1k | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 25 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 25 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 25 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 25 | int64_t res_mem_growth = | 207 | 25 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 25 | ? c_end_of_storage - c_res_mem | 209 | 25 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 0 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 0 | (allocated_bytes() >> 3))); | 212 | 25 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 25 | check_memory(res_mem_growth); | 218 | 25 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 25 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 9 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 9 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 9 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 9 | int64_t res_mem_growth = | 207 | 9 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 9 | ? c_end_of_storage - c_res_mem | 209 | 9 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 1 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 1 | (allocated_bytes() >> 3))); | 212 | 9 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 9 | check_memory(res_mem_growth); | 218 | 9 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 9 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 45 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 45 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 45 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 45 | int64_t res_mem_growth = | 207 | 45 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 45 | ? c_end_of_storage - c_res_mem | 209 | 45 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 1 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 1 | (allocated_bytes() >> 3))); | 212 | 45 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 45 | check_memory(res_mem_growth); | 218 | 45 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 45 | } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 38 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 38 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 38 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 38 | int64_t res_mem_growth = | 207 | 38 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 38 | ? c_end_of_storage - c_res_mem | 209 | 38 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 20 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 20 | (allocated_bytes() >> 3))); | 212 | 38 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 38 | check_memory(res_mem_growth); | 218 | 38 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 38 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 6 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 6 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 6 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 6 | int64_t res_mem_growth = | 207 | 6 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 6 | ? c_end_of_storage - c_res_mem | 209 | 6 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 4 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 4 | (allocated_bytes() >> 3))); | 212 | 6 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 6 | check_memory(res_mem_growth); | 218 | 6 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 6 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 3 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 3 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 3 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 3 | int64_t res_mem_growth = | 207 | 3 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 3 | ? c_end_of_storage - c_res_mem | 209 | 3 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 1 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 1 | (allocated_bytes() >> 3))); | 212 | 3 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 3 | check_memory(res_mem_growth); | 218 | 3 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 3 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 3 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 3 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 3 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 3 | int64_t res_mem_growth = | 207 | 3 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 3 | ? c_end_of_storage - c_res_mem | 209 | 3 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 2 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 2 | (allocated_bytes() >> 3))); | 212 | 3 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 3 | check_memory(res_mem_growth); | 218 | 3 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 3 | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 4 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 4 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 4 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 4 | int64_t res_mem_growth = | 207 | 4 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 4 | ? c_end_of_storage - c_res_mem | 209 | 4 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 0 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 0 | (allocated_bytes() >> 3))); | 212 | 4 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 4 | check_memory(res_mem_growth); | 218 | 4 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 4 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 32 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 32 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 32 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 32 | int64_t res_mem_growth = | 207 | 32 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 32 | ? c_end_of_storage - c_res_mem | 209 | 32 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 0 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 0 | (allocated_bytes() >> 3))); | 212 | 32 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 32 | check_memory(res_mem_growth); | 218 | 32 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 32 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE26reset_resident_memory_implEPKc _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 12 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 12 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 12 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 12 | int64_t res_mem_growth = | 207 | 12 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 12 | ? c_end_of_storage - c_res_mem | 209 | 12 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 0 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 0 | (allocated_bytes() >> 3))); | 212 | 12 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 12 | check_memory(res_mem_growth); | 218 | 12 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 12 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE26reset_resident_memory_implEPKc _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 4 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 4 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 4 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 4 | int64_t res_mem_growth = | 207 | 4 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 4 | ? c_end_of_storage - c_res_mem | 209 | 4 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 0 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 0 | (allocated_bytes() >> 3))); | 212 | 4 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 4 | check_memory(res_mem_growth); | 218 | 4 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 4 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE26reset_resident_memory_implEPKc Line | Count | Source | 173 | 2 | inline void reset_resident_memory_impl(const char* c_end_new) { | 174 | 2 | static_assert(!TAllocator::need_check_and_tracking_memory(), | 175 | 2 | "TAllocator should `check_and_tracking_memory` is false"); | 176 | | // Premise conditions: | 177 | | // - c_res_mem <= c_end_of_storage | 178 | | // - c_end_new > c_res_mem | 179 | | // - If padding is not a power of 2, such as 24, allocated_bytes() will also not be a power of 2. | 180 | | // | 181 | | // If allocated_bytes <= 256K, res_mem_growth = c_end_of_storage - c_res_mem. | 182 | | // | 183 | | // If capacity >= 512K: | 184 | | // - If `c_end_of_storage - c_res_mem < TrackingGrowthMinSize`, then tracking to c_end_of_storage. | 185 | | // - `c_end_new - c_res_mem` is the size of the physical memory growth, | 186 | | // which is also the minimum tracking size of this time, | 187 | | // `(((c_end_new - c_res_mem) >> 16) << 16)` is aligned down to 64K, | 188 | | // assuming `allocated_bytes >= 512K`, so `(allocated_bytes >> 3)` is at least 64K, | 189 | | // so `(((c_end_new - c_res_mem) >> 16) << 16) + (allocated_bytes() >> 3)` | 190 | | // must be greater than `c_end_new - c_res_mem`. | 191 | | // | 192 | | // For example: | 193 | | // - 256K < capacity <= 512K, | 194 | | // it will only tracking twice, | 195 | | // the second time `c_end_of_storage - c_res_mem < TrackingGrowthMinSize` is true, | 196 | | // so it will tracking to c_end_of_storage. | 197 | | // - capacity > 32M, `(((c_end_new - c_res_mem) >> 16) << 16)` align the increased | 198 | | // physical memory size down to 64k, then add `(allocated_bytes() >> 3)` equals 2M, | 199 | | // so `reset_resident_memory` is tracking an additional 2M, | 200 | | // after that, physical memory growth within 2M does not need to reset_resident_memory again. | 201 | | // | 202 | | // so, when PODArray is expanded by power of 2, | 203 | | // the memory is checked and tracked up to 8 times between each expansion, | 204 | | // because each time additional tracking `(allocated_bytes() >> 3)`. | 205 | | // after each reset_resident_memory, tracking_res_memory >= used_bytes; | 206 | 2 | int64_t res_mem_growth = | 207 | 2 | c_end_of_storage - c_res_mem < TrackingGrowthMinSize | 208 | 2 | ? c_end_of_storage - c_res_mem | 209 | 2 | : std::min(static_cast<size_t>(c_end_of_storage - c_res_mem), | 210 | 0 | static_cast<size_t>((((c_end_new - c_res_mem) >> 16) << 16) + | 211 | 0 | (allocated_bytes() >> 3))); | 212 | 2 | DCHECK(res_mem_growth > 0) << ", c_end_new: " << (c_end_new - c_start) | 213 | 0 | << ", c_res_mem: " << (c_res_mem - c_start) | 214 | 0 | << ", c_end_of_storage: " << (c_end_of_storage - c_start) | 215 | 0 | << ", allocated_bytes: " << allocated_bytes() | 216 | 0 | << ", res_mem_growth: " << res_mem_growth; | 217 | 2 | check_memory(res_mem_growth); | 218 | 2 | CONSUME_THREAD_MEM_TRACKER(res_mem_growth); | 219 | 0 | c_res_mem = c_res_mem + res_mem_growth; | 220 | 2 | } |
|
221 | | |
222 | 128M | inline void reset_resident_memory(const char* c_end_new) { |
223 | 128M | if (UNLIKELY(c_end_new > c_res_mem)) { |
224 | 1.15M | reset_resident_memory_impl(c_end_new); |
225 | 1.15M | } |
226 | 128M | } _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 121M | inline void reset_resident_memory(const char* c_end_new) { | 223 | 121M | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 869k | reset_resident_memory_impl(c_end_new); | 225 | 869k | } | 226 | 121M | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 368k | inline void reset_resident_memory(const char* c_end_new) { | 223 | 368k | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 66.5k | reset_resident_memory_impl(c_end_new); | 225 | 66.5k | } | 226 | 368k | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 6.74M | inline void reset_resident_memory(const char* c_end_new) { | 223 | 6.74M | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 167k | reset_resident_memory_impl(c_end_new); | 225 | 167k | } | 226 | 6.74M | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 102k | inline void reset_resident_memory(const char* c_end_new) { | 223 | 102k | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 39.0k | reset_resident_memory_impl(c_end_new); | 225 | 39.0k | } | 226 | 102k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 13.1k | inline void reset_resident_memory(const char* c_end_new) { | 223 | 13.1k | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 6.21k | reset_resident_memory_impl(c_end_new); | 225 | 6.21k | } | 226 | 13.1k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 19.5k | inline void reset_resident_memory(const char* c_end_new) { | 223 | 19.5k | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 7.58k | reset_resident_memory_impl(c_end_new); | 225 | 7.58k | } | 226 | 19.5k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 10 | inline void reset_resident_memory(const char* c_end_new) { | 223 | 10 | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 9 | reset_resident_memory_impl(c_end_new); | 225 | 9 | } | 226 | 10 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 54 | inline void reset_resident_memory(const char* c_end_new) { | 223 | 54 | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 43 | reset_resident_memory_impl(c_end_new); | 225 | 43 | } | 226 | 54 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 4 | inline void reset_resident_memory(const char* c_end_new) { | 223 | 4 | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 4 | reset_resident_memory_impl(c_end_new); | 225 | 4 | } | 226 | 4 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 2 | inline void reset_resident_memory(const char* c_end_new) { | 223 | 2 | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 2 | reset_resident_memory_impl(c_end_new); | 225 | 2 | } | 226 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 2 | inline void reset_resident_memory(const char* c_end_new) { | 223 | 2 | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 2 | reset_resident_memory_impl(c_end_new); | 225 | 2 | } | 226 | 2 | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 4 | inline void reset_resident_memory(const char* c_end_new) { | 223 | 4 | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 4 | reset_resident_memory_impl(c_end_new); | 225 | 4 | } | 226 | 4 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 46 | inline void reset_resident_memory(const char* c_end_new) { | 223 | 46 | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 32 | reset_resident_memory_impl(c_end_new); | 225 | 32 | } | 226 | 46 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEPKc Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE21reset_resident_memoryEPKc _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 6 | inline void reset_resident_memory(const char* c_end_new) { | 223 | 6 | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 4 | reset_resident_memory_impl(c_end_new); | 225 | 4 | } | 226 | 6 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEPKc Line | Count | Source | 222 | 4 | inline void reset_resident_memory(const char* c_end_new) { | 223 | 4 | if (UNLIKELY(c_end_new > c_res_mem)) { | 224 | 2 | reset_resident_memory_impl(c_end_new); | 225 | 2 | } | 226 | 4 | } |
|
227 | | |
228 | 55.9M | inline void reset_resident_memory() { reset_resident_memory(c_end); }_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEv Line | Count | Source | 228 | 49.0M | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEv Line | Count | Source | 228 | 327k | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEv Line | Count | Source | 228 | 6.49M | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEv Line | Count | Source | 228 | 90.2k | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEv Line | Count | Source | 228 | 12.8k | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEv Line | Count | Source | 228 | 19.3k | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEv Line | Count | Source | 228 | 52 | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEv Line | Count | Source | 228 | 7 | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEv Line | Count | Source | 228 | 4 | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEv Line | Count | Source | 228 | 21 | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reset_resident_memoryEv Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE21reset_resident_memoryEv _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEv Line | Count | Source | 228 | 6 | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reset_resident_memoryEv Line | Count | Source | 228 | 4 | inline void reset_resident_memory() { reset_resident_memory(c_end); } |
|
229 | | |
230 | 278k | void alloc_for_num_elements(size_t num_elements) { |
231 | 278k | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); |
232 | 278k | } _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22alloc_for_num_elementsEm Line | Count | Source | 230 | 106k | void alloc_for_num_elements(size_t num_elements) { | 231 | 106k | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); | 232 | 106k | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22alloc_for_num_elementsEm Line | Count | Source | 230 | 81.1k | void alloc_for_num_elements(size_t num_elements) { | 231 | 81.1k | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); | 232 | 81.1k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22alloc_for_num_elementsEm Line | Count | Source | 230 | 47.0k | void alloc_for_num_elements(size_t num_elements) { | 231 | 47.0k | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); | 232 | 47.0k | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22alloc_for_num_elementsEm Line | Count | Source | 230 | 30.1k | void alloc_for_num_elements(size_t num_elements) { | 231 | 30.1k | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); | 232 | 30.1k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22alloc_for_num_elementsEm Line | Count | Source | 230 | 707 | void alloc_for_num_elements(size_t num_elements) { | 231 | 707 | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); | 232 | 707 | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22alloc_for_num_elementsEm Line | Count | Source | 230 | 12.7k | void alloc_for_num_elements(size_t num_elements) { | 231 | 12.7k | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); | 232 | 12.7k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22alloc_for_num_elementsEm Line | Count | Source | 230 | 3 | void alloc_for_num_elements(size_t num_elements) { | 231 | 3 | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); | 232 | 3 | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22alloc_for_num_elementsEm Line | Count | Source | 230 | 4 | void alloc_for_num_elements(size_t num_elements) { | 231 | 4 | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); | 232 | 4 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22alloc_for_num_elementsEm Line | Count | Source | 230 | 21 | void alloc_for_num_elements(size_t num_elements) { | 231 | 21 | alloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(num_elements))); | 232 | 21 | } |
|
233 | | |
234 | | template <typename... TAllocatorParams> |
235 | 2.06M | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { |
236 | 2.06M | char* allocated = reinterpret_cast<char*>( |
237 | 2.06M | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); |
238 | | |
239 | 2.06M | c_start = allocated + pad_left; |
240 | 2.06M | c_end = c_start; |
241 | 2.06M | c_res_mem = c_start; |
242 | 2.06M | c_end_of_storage = allocated + bytes - pad_right; |
243 | 2.06M | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); |
244 | | |
245 | 2.06M | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); |
246 | 2.06M | } _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 283k | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 283k | char* allocated = reinterpret_cast<char*>( | 237 | 283k | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 283k | c_start = allocated + pad_left; | 240 | 283k | c_end = c_start; | 241 | 283k | c_res_mem = c_start; | 242 | 283k | c_end_of_storage = allocated + bytes - pad_right; | 243 | 283k | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 283k | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 283k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 1.09M | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 1.09M | char* allocated = reinterpret_cast<char*>( | 237 | 1.09M | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 1.09M | c_start = allocated + pad_left; | 240 | 1.09M | c_end = c_start; | 241 | 1.09M | c_res_mem = c_start; | 242 | 1.09M | c_end_of_storage = allocated + bytes - pad_right; | 243 | 1.09M | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 1.09M | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 1.09M | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 539k | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 539k | char* allocated = reinterpret_cast<char*>( | 237 | 539k | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 539k | c_start = allocated + pad_left; | 240 | 539k | c_end = c_start; | 241 | 539k | c_res_mem = c_start; | 242 | 539k | c_end_of_storage = allocated + bytes - pad_right; | 243 | 539k | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 539k | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 539k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 103k | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 103k | char* allocated = reinterpret_cast<char*>( | 237 | 103k | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 103k | c_start = allocated + pad_left; | 240 | 103k | c_end = c_start; | 241 | 103k | c_res_mem = c_start; | 242 | 103k | c_end_of_storage = allocated + bytes - pad_right; | 243 | 103k | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 103k | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 103k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 28.6k | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 28.6k | char* allocated = reinterpret_cast<char*>( | 237 | 28.6k | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 28.6k | c_start = allocated + pad_left; | 240 | 28.6k | c_end = c_start; | 241 | 28.6k | c_res_mem = c_start; | 242 | 28.6k | c_end_of_storage = allocated + bytes - pad_right; | 243 | 28.6k | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 28.6k | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 28.6k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 12.7k | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 12.7k | char* allocated = reinterpret_cast<char*>( | 237 | 12.7k | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 12.7k | c_start = allocated + pad_left; | 240 | 12.7k | c_end = c_start; | 241 | 12.7k | c_res_mem = c_start; | 242 | 12.7k | c_end_of_storage = allocated + bytes - pad_right; | 243 | 12.7k | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 12.7k | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 12.7k | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 26 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 26 | char* allocated = reinterpret_cast<char*>( | 237 | 26 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 26 | c_start = allocated + pad_left; | 240 | 26 | c_end = c_start; | 241 | 26 | c_res_mem = c_start; | 242 | 26 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 26 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 26 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 26 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 7 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 7 | char* allocated = reinterpret_cast<char*>( | 237 | 7 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 7 | c_start = allocated + pad_left; | 240 | 7 | c_end = c_start; | 241 | 7 | c_res_mem = c_start; | 242 | 7 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 7 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 7 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 7 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 39 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 39 | char* allocated = reinterpret_cast<char*>( | 237 | 39 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 39 | c_start = allocated + pad_left; | 240 | 39 | c_end = c_start; | 241 | 39 | c_res_mem = c_start; | 242 | 39 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 39 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 39 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 39 | } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 2 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 2 | char* allocated = reinterpret_cast<char*>( | 237 | 2 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 2 | c_start = allocated + pad_left; | 240 | 2 | c_end = c_start; | 241 | 2 | c_res_mem = c_start; | 242 | 2 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 2 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 2 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 5 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 5 | char* allocated = reinterpret_cast<char*>( | 237 | 5 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 5 | c_start = allocated + pad_left; | 240 | 5 | c_end = c_start; | 241 | 5 | c_res_mem = c_start; | 242 | 5 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 5 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 5 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 5 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 2 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 2 | char* allocated = reinterpret_cast<char*>( | 237 | 2 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 2 | c_start = allocated + pad_left; | 240 | 2 | c_end = c_start; | 241 | 2 | c_res_mem = c_start; | 242 | 2 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 2 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 2 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 2 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 2 | char* allocated = reinterpret_cast<char*>( | 237 | 2 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 2 | c_start = allocated + pad_left; | 240 | 2 | c_end = c_start; | 241 | 2 | c_res_mem = c_start; | 242 | 2 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 2 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 2 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 2 | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 4 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 4 | char* allocated = reinterpret_cast<char*>( | 237 | 4 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 4 | c_start = allocated + pad_left; | 240 | 4 | c_end = c_start; | 241 | 4 | c_res_mem = c_start; | 242 | 4 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 4 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 4 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 4 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 48 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 48 | char* allocated = reinterpret_cast<char*>( | 237 | 48 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 48 | c_start = allocated + pad_left; | 240 | 48 | c_end = c_start; | 241 | 48 | c_res_mem = c_start; | 242 | 48 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 48 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 48 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 48 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5allocIJEEEvmDpOT_ _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 12 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 12 | char* allocated = reinterpret_cast<char*>( | 237 | 12 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 12 | c_start = allocated + pad_left; | 240 | 12 | c_end = c_start; | 241 | 12 | c_res_mem = c_start; | 242 | 12 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 12 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 12 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 12 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5allocIJEEEvmDpOT_ _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 4 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 4 | char* allocated = reinterpret_cast<char*>( | 237 | 4 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 4 | c_start = allocated + pad_left; | 240 | 4 | c_end = c_start; | 241 | 4 | c_res_mem = c_start; | 242 | 4 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 4 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 4 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 4 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5allocIJEEEvmDpOT_ Line | Count | Source | 235 | 2 | void alloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 236 | 2 | char* allocated = reinterpret_cast<char*>( | 237 | 2 | TAllocator::alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...)); | 238 | | | 239 | 2 | c_start = allocated + pad_left; | 240 | 2 | c_end = c_start; | 241 | 2 | c_res_mem = c_start; | 242 | 2 | c_end_of_storage = allocated + bytes - pad_right; | 243 | 2 | CONSUME_THREAD_MEM_TRACKER(pad_left + pad_right); | 244 | | | 245 | 2 | if (pad_left) memset(c_start - ELEMENT_SIZE, 0, ELEMENT_SIZE); | 246 | 2 | } |
|
247 | | |
248 | 2.51M | void dealloc() { |
249 | 2.51M | if (c_start == null) return; |
250 | 2.06M | unprotect(); |
251 | 2.06M | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); |
252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); |
253 | 2.06M | } _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 1.32M | void dealloc() { | 249 | 1.32M | if (c_start == null) return; | 250 | 1.09M | unprotect(); | 251 | 1.09M | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 1.09M | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 120k | void dealloc() { | 249 | 120k | if (c_start == null) return; | 250 | 103k | unprotect(); | 251 | 103k | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 103k | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 686k | void dealloc() { | 249 | 686k | if (c_start == null) return; | 250 | 539k | unprotect(); | 251 | 539k | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 539k | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 335k | void dealloc() { | 249 | 335k | if (c_start == null) return; | 250 | 283k | unprotect(); | 251 | 283k | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 283k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 36.9k | void dealloc() { | 249 | 36.9k | if (c_start == null) return; | 250 | 28.6k | unprotect(); | 251 | 28.6k | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 28.6k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 12.7k | void dealloc() { | 249 | 12.7k | if (c_start == null) return; | 250 | 12.7k | unprotect(); | 251 | 12.7k | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 12.7k | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE7deallocEv Line | Count | Source | 248 | 35 | void dealloc() { | 249 | 35 | if (c_start == null) return; | 250 | 18 | unprotect(); | 251 | 18 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 18 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7deallocEv Line | Count | Source | 248 | 7 | void dealloc() { | 249 | 7 | if (c_start == null) return; | 250 | 7 | unprotect(); | 251 | 7 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 7 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7deallocEv Line | Count | Source | 248 | 88 | void dealloc() { | 249 | 88 | if (c_start == null) return; | 250 | 39 | unprotect(); | 251 | 39 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 39 | } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 2 | void dealloc() { | 249 | 2 | if (c_start == null) return; | 250 | 2 | unprotect(); | 251 | 2 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 5 | void dealloc() { | 249 | 5 | if (c_start == null) return; | 250 | 5 | unprotect(); | 251 | 5 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 5 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE7deallocEv Line | Count | Source | 248 | 2 | void dealloc() { | 249 | 2 | if (c_start == null) return; | 250 | 2 | unprotect(); | 251 | 2 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7deallocEv Line | Count | Source | 248 | 2 | void dealloc() { | 249 | 2 | if (c_start == null) return; | 250 | 2 | unprotect(); | 251 | 2 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 2 | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7deallocEv Line | Count | Source | 248 | 4 | void dealloc() { | 249 | 4 | if (c_start == null) return; | 250 | 4 | unprotect(); | 251 | 4 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 4 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7deallocEv Line | Count | Source | 248 | 52 | void dealloc() { | 249 | 52 | if (c_start == null) return; | 250 | 48 | unprotect(); | 251 | 48 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 48 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7deallocEv _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7deallocEv Line | Count | Source | 248 | 14 | void dealloc() { | 249 | 14 | if (c_start == null) return; | 250 | 12 | unprotect(); | 251 | 12 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 12 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7deallocEv _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 4 | void dealloc() { | 249 | 4 | if (c_start == null) return; | 250 | 4 | unprotect(); | 251 | 4 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 4 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7deallocEv Line | Count | Source | 248 | 2 | void dealloc() { | 249 | 2 | if (c_start == null) return; | 250 | 2 | unprotect(); | 251 | 2 | RELEASE_THREAD_MEM_TRACKER((c_res_mem - c_start + pad_right + pad_left)); | 252 | 0 | TAllocator::free(c_start - pad_left, allocated_bytes()); | 253 | 2 | } |
|
254 | | |
255 | | template <typename... TAllocatorParams> |
256 | 2.05M | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { |
257 | 2.05M | if (c_start == null) { |
258 | 1.79M | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); |
259 | 1.79M | return; |
260 | 1.79M | } |
261 | | |
262 | 268k | unprotect(); |
263 | | |
264 | 268k | ptrdiff_t end_diff = c_end - c_start; |
265 | 268k | ptrdiff_t res_mem_diff = c_res_mem - c_start; |
266 | | |
267 | | // Realloc can do 2 possible things: |
268 | | // - expand existing memory region |
269 | | // - allocate new memory block and free the old one |
270 | | // Because we don't know which option will be picked we need to make sure there is enough |
271 | | // memory for all options. |
272 | 268k | check_memory(res_mem_diff); |
273 | 268k | char* allocated = reinterpret_cast<char*>( |
274 | 268k | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, |
275 | 268k | std::forward<TAllocatorParams>(allocator_params)...)); |
276 | | |
277 | 268k | c_start = allocated + pad_left; |
278 | 268k | c_end = c_start + end_diff; |
279 | 268k | c_res_mem = c_start + res_mem_diff; |
280 | 268k | c_end_of_storage = allocated + bytes - pad_right; |
281 | 268k | } _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 252k | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 252k | if (c_start == null) { | 258 | 202k | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 202k | return; | 260 | 202k | } | 261 | | | 262 | 49.9k | unprotect(); | 263 | | | 264 | 49.9k | ptrdiff_t end_diff = c_end - c_start; | 265 | 49.9k | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 49.9k | check_memory(res_mem_diff); | 273 | 49.9k | char* allocated = reinterpret_cast<char*>( | 274 | 49.9k | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 49.9k | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 49.9k | c_start = allocated + pad_left; | 278 | 49.9k | c_end = c_start + end_diff; | 279 | 49.9k | c_res_mem = c_start + res_mem_diff; | 280 | 49.9k | c_end_of_storage = allocated + bytes - pad_right; | 281 | 49.9k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 1.10M | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 1.10M | if (c_start == null) { | 258 | 993k | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 993k | return; | 260 | 993k | } | 261 | | | 262 | 115k | unprotect(); | 263 | | | 264 | 115k | ptrdiff_t end_diff = c_end - c_start; | 265 | 115k | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 115k | check_memory(res_mem_diff); | 273 | 115k | char* allocated = reinterpret_cast<char*>( | 274 | 115k | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 115k | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 115k | c_start = allocated + pad_left; | 278 | 115k | c_end = c_start + end_diff; | 279 | 115k | c_res_mem = c_start + res_mem_diff; | 280 | 115k | c_end_of_storage = allocated + bytes - pad_right; | 281 | 115k | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 547k | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 547k | if (c_start == null) { | 258 | 509k | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 509k | return; | 260 | 509k | } | 261 | | | 262 | 37.9k | unprotect(); | 263 | | | 264 | 37.9k | ptrdiff_t end_diff = c_end - c_start; | 265 | 37.9k | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 37.9k | check_memory(res_mem_diff); | 273 | 37.9k | char* allocated = reinterpret_cast<char*>( | 274 | 37.9k | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 37.9k | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 37.9k | c_start = allocated + pad_left; | 278 | 37.9k | c_end = c_start + end_diff; | 279 | 37.9k | c_res_mem = c_start + res_mem_diff; | 280 | 37.9k | c_end_of_storage = allocated + bytes - pad_right; | 281 | 37.9k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 107k | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 107k | if (c_start == null) { | 258 | 56.9k | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 56.9k | return; | 260 | 56.9k | } | 261 | | | 262 | 51.0k | unprotect(); | 263 | | | 264 | 51.0k | ptrdiff_t end_diff = c_end - c_start; | 265 | 51.0k | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 51.0k | check_memory(res_mem_diff); | 273 | 51.0k | char* allocated = reinterpret_cast<char*>( | 274 | 51.0k | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 51.0k | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 51.0k | c_start = allocated + pad_left; | 278 | 51.0k | c_end = c_start + end_diff; | 279 | 51.0k | c_res_mem = c_start + res_mem_diff; | 280 | 51.0k | c_end_of_storage = allocated + bytes - pad_right; | 281 | 51.0k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 28.2k | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 28.2k | if (c_start == null) { | 258 | 27.9k | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 27.9k | return; | 260 | 27.9k | } | 261 | | | 262 | 349 | unprotect(); | 263 | | | 264 | 349 | ptrdiff_t end_diff = c_end - c_start; | 265 | 349 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 349 | check_memory(res_mem_diff); | 273 | 349 | char* allocated = reinterpret_cast<char*>( | 274 | 349 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 349 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 349 | c_start = allocated + pad_left; | 278 | 349 | c_end = c_start + end_diff; | 279 | 349 | c_res_mem = c_start + res_mem_diff; | 280 | 349 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 349 | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 13.5k | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 13.5k | if (c_start == null) { | 258 | 1 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 1 | return; | 260 | 1 | } | 261 | | | 262 | 13.5k | unprotect(); | 263 | | | 264 | 13.5k | ptrdiff_t end_diff = c_end - c_start; | 265 | 13.5k | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 13.5k | check_memory(res_mem_diff); | 273 | 13.5k | char* allocated = reinterpret_cast<char*>( | 274 | 13.5k | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 13.5k | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 13.5k | c_start = allocated + pad_left; | 278 | 13.5k | c_end = c_start + end_diff; | 279 | 13.5k | c_res_mem = c_start + res_mem_diff; | 280 | 13.5k | c_end_of_storage = allocated + bytes - pad_right; | 281 | 13.5k | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 25 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 25 | if (c_start == null) { | 258 | 18 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 18 | return; | 260 | 18 | } | 261 | | | 262 | 7 | unprotect(); | 263 | | | 264 | 7 | ptrdiff_t end_diff = c_end - c_start; | 265 | 7 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 7 | check_memory(res_mem_diff); | 273 | 7 | char* allocated = reinterpret_cast<char*>( | 274 | 7 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 7 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 7 | c_start = allocated + pad_left; | 278 | 7 | c_end = c_start + end_diff; | 279 | 7 | c_res_mem = c_start + res_mem_diff; | 280 | 7 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 7 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 6 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 6 | if (c_start == null) { | 258 | 4 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 4 | return; | 260 | 4 | } | 261 | | | 262 | 2 | unprotect(); | 263 | | | 264 | 2 | ptrdiff_t end_diff = c_end - c_start; | 265 | 2 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 2 | check_memory(res_mem_diff); | 273 | 2 | char* allocated = reinterpret_cast<char*>( | 274 | 2 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 2 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 2 | c_start = allocated + pad_left; | 278 | 2 | c_end = c_start + end_diff; | 279 | 2 | c_res_mem = c_start + res_mem_diff; | 280 | 2 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 45 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 45 | if (c_start == null) { | 258 | 39 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 39 | return; | 260 | 39 | } | 261 | | | 262 | 6 | unprotect(); | 263 | | | 264 | 6 | ptrdiff_t end_diff = c_end - c_start; | 265 | 6 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 6 | check_memory(res_mem_diff); | 273 | 6 | char* allocated = reinterpret_cast<char*>( | 274 | 6 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 6 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 6 | c_start = allocated + pad_left; | 278 | 6 | c_end = c_start + end_diff; | 279 | 6 | c_res_mem = c_start + res_mem_diff; | 280 | 6 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 6 | } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 22 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 22 | if (c_start == null) { | 258 | 2 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 2 | return; | 260 | 2 | } | 261 | | | 262 | 20 | unprotect(); | 263 | | | 264 | 20 | ptrdiff_t end_diff = c_end - c_start; | 265 | 20 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 20 | check_memory(res_mem_diff); | 273 | 20 | char* allocated = reinterpret_cast<char*>( | 274 | 20 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 20 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 20 | c_start = allocated + pad_left; | 278 | 20 | c_end = c_start + end_diff; | 279 | 20 | c_res_mem = c_start + res_mem_diff; | 280 | 20 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 20 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 6 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 6 | if (c_start == null) { | 258 | 5 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 5 | return; | 260 | 5 | } | 261 | | | 262 | 1 | unprotect(); | 263 | | | 264 | 1 | ptrdiff_t end_diff = c_end - c_start; | 265 | 1 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 1 | check_memory(res_mem_diff); | 273 | 1 | char* allocated = reinterpret_cast<char*>( | 274 | 1 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 1 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 1 | c_start = allocated + pad_left; | 278 | 1 | c_end = c_start + end_diff; | 279 | 1 | c_res_mem = c_start + res_mem_diff; | 280 | 1 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 1 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 3 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 3 | if (c_start == null) { | 258 | 2 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 2 | return; | 260 | 2 | } | 261 | | | 262 | 1 | unprotect(); | 263 | | | 264 | 1 | ptrdiff_t end_diff = c_end - c_start; | 265 | 1 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 1 | check_memory(res_mem_diff); | 273 | 1 | char* allocated = reinterpret_cast<char*>( | 274 | 1 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 1 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 1 | c_start = allocated + pad_left; | 278 | 1 | c_end = c_start + end_diff; | 279 | 1 | c_res_mem = c_start + res_mem_diff; | 280 | 1 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 1 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 3 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 3 | if (c_start == null) { | 258 | 2 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 2 | return; | 260 | 2 | } | 261 | | | 262 | 1 | unprotect(); | 263 | | | 264 | 1 | ptrdiff_t end_diff = c_end - c_start; | 265 | 1 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 1 | check_memory(res_mem_diff); | 273 | 1 | char* allocated = reinterpret_cast<char*>( | 274 | 1 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 1 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | | | 277 | 1 | c_start = allocated + pad_left; | 278 | 1 | c_end = c_start + end_diff; | 279 | 1 | c_res_mem = c_start + res_mem_diff; | 280 | 1 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 1 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reallocIJEEEvmDpOT_ _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 27 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 27 | if (c_start == null) { | 258 | 27 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 27 | return; | 260 | 27 | } | 261 | | | 262 | 0 | unprotect(); | 263 | |
| 264 | 0 | ptrdiff_t end_diff = c_end - c_start; | 265 | 0 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 0 | check_memory(res_mem_diff); | 273 | 0 | char* allocated = reinterpret_cast<char*>( | 274 | 0 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 0 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | |
| 277 | 0 | c_start = allocated + pad_left; | 278 | 0 | c_end = c_start + end_diff; | 279 | 0 | c_res_mem = c_start + res_mem_diff; | 280 | 0 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 0 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reallocIJEEEvmDpOT_ _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 12 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 12 | if (c_start == null) { | 258 | 12 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 12 | return; | 260 | 12 | } | 261 | | | 262 | 0 | unprotect(); | 263 | |
| 264 | 0 | ptrdiff_t end_diff = c_end - c_start; | 265 | 0 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 0 | check_memory(res_mem_diff); | 273 | 0 | char* allocated = reinterpret_cast<char*>( | 274 | 0 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 0 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | |
| 277 | 0 | c_start = allocated + pad_left; | 278 | 0 | c_end = c_start + end_diff; | 279 | 0 | c_res_mem = c_start + res_mem_diff; | 280 | 0 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 0 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7reallocIJEEEvmDpOT_ _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 4 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 4 | if (c_start == null) { | 258 | 4 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 4 | return; | 260 | 4 | } | 261 | | | 262 | 0 | unprotect(); | 263 | |
| 264 | 0 | ptrdiff_t end_diff = c_end - c_start; | 265 | 0 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 0 | check_memory(res_mem_diff); | 273 | 0 | char* allocated = reinterpret_cast<char*>( | 274 | 0 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 0 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | |
| 277 | 0 | c_start = allocated + pad_left; | 278 | 0 | c_end = c_start + end_diff; | 279 | 0 | c_res_mem = c_start + res_mem_diff; | 280 | 0 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 0 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reallocIJEEEvmDpOT_ Line | Count | Source | 256 | 2 | void realloc(size_t bytes, TAllocatorParams&&... allocator_params) { | 257 | 2 | if (c_start == null) { | 258 | 2 | alloc(bytes, std::forward<TAllocatorParams>(allocator_params)...); | 259 | 2 | return; | 260 | 2 | } | 261 | | | 262 | 0 | unprotect(); | 263 | |
| 264 | 0 | ptrdiff_t end_diff = c_end - c_start; | 265 | 0 | ptrdiff_t res_mem_diff = c_res_mem - c_start; | 266 | | | 267 | | // Realloc can do 2 possible things: | 268 | | // - expand existing memory region | 269 | | // - allocate new memory block and free the old one | 270 | | // Because we don't know which option will be picked we need to make sure there is enough | 271 | | // memory for all options. | 272 | 0 | check_memory(res_mem_diff); | 273 | 0 | char* allocated = reinterpret_cast<char*>( | 274 | 0 | TAllocator::realloc(c_start - pad_left, allocated_bytes(), bytes, | 275 | 0 | std::forward<TAllocatorParams>(allocator_params)...)); | 276 | |
| 277 | 0 | c_start = allocated + pad_left; | 278 | 0 | c_end = c_start + end_diff; | 279 | 0 | c_res_mem = c_start + res_mem_diff; | 280 | 0 | c_end_of_storage = allocated + bytes - pad_right; | 281 | 0 | } |
|
282 | | |
283 | 2.02k | bool is_initialized() const { |
284 | 2.02k | return (c_start != null) && (c_end != null) && (c_end_of_storage != null); |
285 | 2.02k | } _ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14is_initializedEv Line | Count | Source | 283 | 1.19k | bool is_initialized() const { | 284 | 1.19k | return (c_start != null) && (c_end != null) && (c_end_of_storage != null); | 285 | 1.19k | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE14is_initializedEv Line | Count | Source | 283 | 88 | bool is_initialized() const { | 284 | 88 | return (c_start != null) && (c_end != null) && (c_end_of_storage != null); | 285 | 88 | } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14is_initializedEv Line | Count | Source | 283 | 584 | bool is_initialized() const { | 284 | 584 | return (c_start != null) && (c_end != null) && (c_end_of_storage != null); | 285 | 584 | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE14is_initializedEv Line | Count | Source | 283 | 4 | bool is_initialized() const { | 284 | 4 | return (c_start != null) && (c_end != null) && (c_end_of_storage != null); | 285 | 4 | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14is_initializedEv Line | Count | Source | 283 | 4 | bool is_initialized() const { | 284 | 4 | return (c_start != null) && (c_end != null) && (c_end_of_storage != null); | 285 | 4 | } |
_ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14is_initializedEv Line | Count | Source | 283 | 122 | bool is_initialized() const { | 284 | 122 | return (c_start != null) && (c_end != null) && (c_end_of_storage != null); | 285 | 122 | } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14is_initializedEv Line | Count | Source | 283 | 28 | bool is_initialized() const { | 284 | 28 | return (c_start != null) && (c_end != null) && (c_end_of_storage != null); | 285 | 28 | } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14is_initializedEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14is_initializedEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14is_initializedEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14is_initializedEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE14is_initializedEv |
286 | | |
287 | 932 | bool is_allocated_from_stack() const { |
288 | 932 | constexpr size_t stack_threshold = TAllocator::get_stack_threshold(); |
289 | 932 | return (stack_threshold > 0) && (allocated_bytes() <= stack_threshold); |
290 | 932 | } _ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE23is_allocated_from_stackEv Line | Count | Source | 287 | 282 | bool is_allocated_from_stack() const { | 288 | 282 | constexpr size_t stack_threshold = TAllocator::get_stack_threshold(); | 289 | 282 | return (stack_threshold > 0) && (allocated_bytes() <= stack_threshold); | 290 | 282 | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE23is_allocated_from_stackEv Line | Count | Source | 287 | 40 | bool is_allocated_from_stack() const { | 288 | 40 | constexpr size_t stack_threshold = TAllocator::get_stack_threshold(); | 289 | 40 | return (stack_threshold > 0) && (allocated_bytes() <= stack_threshold); | 290 | 40 | } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE23is_allocated_from_stackEv Line | Count | Source | 287 | 566 | bool is_allocated_from_stack() const { | 288 | 566 | constexpr size_t stack_threshold = TAllocator::get_stack_threshold(); | 289 | 566 | return (stack_threshold > 0) && (allocated_bytes() <= stack_threshold); | 290 | 566 | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE23is_allocated_from_stackEv Line | Count | Source | 287 | 4 | bool is_allocated_from_stack() const { | 288 | 4 | constexpr size_t stack_threshold = TAllocator::get_stack_threshold(); | 289 | 4 | return (stack_threshold > 0) && (allocated_bytes() <= stack_threshold); | 290 | 4 | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE23is_allocated_from_stackEv Line | Count | Source | 287 | 4 | bool is_allocated_from_stack() const { | 288 | 4 | constexpr size_t stack_threshold = TAllocator::get_stack_threshold(); | 289 | 4 | return (stack_threshold > 0) && (allocated_bytes() <= stack_threshold); | 290 | 4 | } |
_ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE23is_allocated_from_stackEv Line | Count | Source | 287 | 29 | bool is_allocated_from_stack() const { | 288 | 29 | constexpr size_t stack_threshold = TAllocator::get_stack_threshold(); | 289 | 29 | return (stack_threshold > 0) && (allocated_bytes() <= stack_threshold); | 290 | 29 | } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE23is_allocated_from_stackEv Line | Count | Source | 287 | 7 | bool is_allocated_from_stack() const { | 288 | 7 | constexpr size_t stack_threshold = TAllocator::get_stack_threshold(); | 289 | 7 | return (stack_threshold > 0) && (allocated_bytes() <= stack_threshold); | 290 | 7 | } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE23is_allocated_from_stackEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE23is_allocated_from_stackEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE23is_allocated_from_stackEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE23is_allocated_from_stackEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE23is_allocated_from_stackEv |
291 | | |
292 | | template <typename... TAllocatorParams> |
293 | 531k | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { |
294 | 531k | if (size() == 0) { |
295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, |
296 | | // memory issue such as corruption could appear in edge case. |
297 | 517k | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), |
298 | 517k | minimum_memory_for_elements(1)), |
299 | 517k | std::forward<TAllocatorParams>(allocator_params)...); |
300 | 517k | } else |
301 | 14.2k | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); |
302 | 531k | } _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 109k | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 109k | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 106k | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 106k | minimum_memory_for_elements(1)), | 299 | 106k | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 106k | } else | 301 | 2.82k | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 109k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 114k | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 114k | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 110k | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 110k | minimum_memory_for_elements(1)), | 299 | 110k | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 110k | } else | 301 | 3.23k | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 114k | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 268k | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 268k | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 261k | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 261k | minimum_memory_for_elements(1)), | 299 | 261k | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 261k | } else | 301 | 6.84k | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 268k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 31.7k | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 31.7k | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 31.0k | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 31.0k | minimum_memory_for_elements(1)), | 299 | 31.0k | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 31.0k | } else | 301 | 678 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 31.7k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 4.95k | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 4.95k | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 4.71k | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 4.71k | minimum_memory_for_elements(1)), | 299 | 4.71k | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 4.71k | } else | 301 | 233 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 4.95k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 3.14k | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 3.14k | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 2.76k | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 2.76k | minimum_memory_for_elements(1)), | 299 | 2.76k | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 2.76k | } else | 301 | 384 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 3.14k | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 25 | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 25 | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 18 | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 18 | minimum_memory_for_elements(1)), | 299 | 18 | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 18 | } else | 301 | 7 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 25 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 2 | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 2 | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 2 | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 2 | minimum_memory_for_elements(1)), | 299 | 2 | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 2 | } else | 301 | 0 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 2 | } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 22 | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 22 | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 2 | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 2 | minimum_memory_for_elements(1)), | 299 | 2 | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 2 | } else | 301 | 20 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 22 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 2 | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 2 | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 2 | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 2 | minimum_memory_for_elements(1)), | 299 | 2 | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 2 | } else | 301 | 0 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 1 | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 1 | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 1 | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 1 | minimum_memory_for_elements(1)), | 299 | 1 | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 1 | } else | 301 | 0 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 1 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 1 | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 1 | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 1 | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 1 | minimum_memory_for_elements(1)), | 299 | 1 | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 1 | } else | 301 | 0 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 1 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ Line | Count | Source | 293 | 12 | void reserve_for_next_size(TAllocatorParams&&... allocator_params) { | 294 | 12 | if (size() == 0) { | 295 | | // The allocated memory should be multiplication of ELEMENT_SIZE to hold the element, otherwise, | 296 | | // memory issue such as corruption could appear in edge case. | 297 | 12 | realloc(std::max(integerRoundUp(initial_bytes, ELEMENT_SIZE), | 298 | 12 | minimum_memory_for_elements(1)), | 299 | 12 | std::forward<TAllocatorParams>(allocator_params)...); | 300 | 12 | } else | 301 | 0 | realloc(allocated_bytes() * 2, std::forward<TAllocatorParams>(allocator_params)...); | 302 | 12 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE21reserve_for_next_sizeIJEEEvDpOT_ |
303 | | |
304 | | #ifndef NDEBUG |
305 | | /// Make memory region readonly with mprotect if it is large enough. |
306 | | /// The operation is slow and performed only for debug builds. |
307 | 0 | void protect_impl(int prot) { |
308 | 0 | static constexpr size_t PROTECT_PAGE_SIZE = 4096; |
309 | |
|
310 | 0 | char* left_rounded_up = reinterpret_cast<char*>( |
311 | 0 | (reinterpret_cast<intptr_t>(c_start) - pad_left + PROTECT_PAGE_SIZE - 1) / |
312 | 0 | PROTECT_PAGE_SIZE * PROTECT_PAGE_SIZE); |
313 | 0 | char* right_rounded_down = |
314 | 0 | reinterpret_cast<char*>((reinterpret_cast<intptr_t>(c_end_of_storage) + pad_right) / |
315 | 0 | PROTECT_PAGE_SIZE * PROTECT_PAGE_SIZE); |
316 | |
|
317 | 0 | if (right_rounded_down > left_rounded_up) { |
318 | 0 | size_t length = right_rounded_down - left_rounded_up; |
319 | 0 | if (0 != mprotect(left_rounded_up, length, prot)) throw std::exception(); |
320 | 0 | } |
321 | 0 | } Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi Unexecuted instantiation: _ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12protect_implEi |
322 | | |
323 | | /// Restore memory protection in destructor or realloc for further reuse by allocator. |
324 | | bool mprotected = false; |
325 | | #endif |
326 | | |
327 | | public: |
328 | 153k | bool empty() const { return c_end == c_start; }_ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5emptyEv Line | Count | Source | 328 | 127k | bool empty() const { return c_end == c_start; } |
_ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5emptyEv Line | Count | Source | 328 | 9 | bool empty() const { return c_end == c_start; } |
_ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5emptyEv Line | Count | Source | 328 | 1.19k | bool empty() const { return c_end == c_start; } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5emptyEv Line | Count | Source | 328 | 24.9k | bool empty() const { return c_end == c_start; } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE5emptyEv Line | Count | Source | 328 | 6 | bool empty() const { return c_end == c_start; } |
_ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5emptyEv Line | Count | Source | 328 | 6 | bool empty() const { return c_end == c_start; } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5emptyEv _ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5emptyEv Line | Count | Source | 328 | 9 | bool empty() const { return c_end == c_start; } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5emptyEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5emptyEv _ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5emptyEv Line | Count | Source | 328 | 8 | bool empty() const { return c_end == c_start; } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5emptyEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5emptyEv |
329 | 1.59G | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; }_ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4sizeEv Line | Count | Source | 329 | 514M | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4sizeEv Line | Count | Source | 329 | 230M | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4sizeEv Line | Count | Source | 329 | 803M | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4sizeEv Line | Count | Source | 329 | 6.47M | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4sizeEv Line | Count | Source | 329 | 33.0M | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4sizeEv Line | Count | Source | 329 | 1.13M | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE4sizeEv Line | Count | Source | 329 | 242 | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4sizeEv Line | Count | Source | 329 | 3.14M | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4sizeEv Line | Count | Source | 329 | 127 | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4sizeEv Line | Count | Source | 329 | 24 | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4sizeEv Line | Count | Source | 329 | 6 | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE4sizeEv Line | Count | Source | 329 | 10 | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4sizeEv Line | Count | Source | 329 | 10 | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4sizeEv Line | Count | Source | 329 | 4 | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4sizeEv Line | Count | Source | 329 | 297 | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4sizeEv _ZNK5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE4sizeEv Line | Count | Source | 329 | 12 | size_t size() const { return (c_end - c_start) / ELEMENT_SIZE; } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE4sizeEv |
330 | 129M | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; }_ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8capacityEv Line | Count | Source | 330 | 122M | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8capacityEv Line | Count | Source | 330 | 394k | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8capacityEv Line | Count | Source | 330 | 96.5k | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8capacityEv Line | Count | Source | 330 | 6.90M | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8capacityEv Line | Count | Source | 330 | 34.2k | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8capacityEv Line | Count | Source | 330 | 11.2k | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE8capacityEv Line | Count | Source | 330 | 11 | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE8capacityEv Line | Count | Source | 330 | 54 | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8capacityEv Line | Count | Source | 330 | 4 | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE8capacityEv Line | Count | Source | 330 | 4 | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE8capacityEv Line | Count | Source | 330 | 4 | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE8capacityEv _ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE8capacityEv Line | Count | Source | 330 | 52 | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE8capacityEv Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE8capacityEv _ZNK5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8capacityEv Line | Count | Source | 330 | 6 | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
_ZNK5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8capacityEv Line | Count | Source | 330 | 4 | size_t capacity() const { return (c_end_of_storage - c_start) / ELEMENT_SIZE; } |
|
331 | | |
332 | | /// This method is safe to use only for information about memory usage. |
333 | 3.31M | size_t allocated_bytes() const { |
334 | 3.31M | if (c_end_of_storage == null) { |
335 | 94.3k | return 0; |
336 | 94.3k | } |
337 | 3.22M | return c_end_of_storage - c_start + pad_right + pad_left; |
338 | 3.31M | } _ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 574k | size_t allocated_bytes() const { | 334 | 574k | if (c_end_of_storage == null) { | 335 | 11 | return 0; | 336 | 11 | } | 337 | 574k | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 574k | } |
_ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 1.65M | size_t allocated_bytes() const { | 334 | 1.65M | if (c_end_of_storage == null) { | 335 | 94.1k | return 0; | 336 | 94.1k | } | 337 | 1.55M | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 1.65M | } |
_ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 777k | size_t allocated_bytes() const { | 334 | 777k | if (c_end_of_storage == null) { | 335 | 60 | return 0; | 336 | 60 | } | 337 | 777k | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 777k | } |
_ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 226k | size_t allocated_bytes() const { | 334 | 226k | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 226k | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 226k | } |
_ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 60.2k | size_t allocated_bytes() const { | 334 | 60.2k | if (c_end_of_storage == null) { | 335 | 97 | return 0; | 336 | 97 | } | 337 | 60.1k | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 60.2k | } |
_ZNK5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 26.7k | size_t allocated_bytes() const { | 334 | 26.7k | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 26.7k | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 26.7k | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE15allocated_bytesEv Line | Count | Source | 333 | 93 | size_t allocated_bytes() const { | 334 | 93 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 93 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 93 | } |
_ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE15allocated_bytesEv Line | Count | Source | 333 | 10 | size_t allocated_bytes() const { | 334 | 10 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 10 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 10 | } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE15allocated_bytesEv Line | Count | Source | 333 | 46 | size_t allocated_bytes() const { | 334 | 46 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 46 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 46 | } |
_ZNK5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 62 | size_t allocated_bytes() const { | 334 | 62 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 62 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 62 | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 11 | size_t allocated_bytes() const { | 334 | 11 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 11 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 11 | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE15allocated_bytesEv Line | Count | Source | 333 | 9 | size_t allocated_bytes() const { | 334 | 9 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 9 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 9 | } |
_ZNK5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE15allocated_bytesEv Line | Count | Source | 333 | 6 | size_t allocated_bytes() const { | 334 | 6 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 6 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 6 | } |
_ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE15allocated_bytesEv Line | Count | Source | 333 | 4 | size_t allocated_bytes() const { | 334 | 4 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 4 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 4 | } |
_ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE15allocated_bytesEv Line | Count | Source | 333 | 48 | size_t allocated_bytes() const { | 334 | 48 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 48 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 48 | } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE15allocated_bytesEv _ZNK5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE15allocated_bytesEv Line | Count | Source | 333 | 12 | size_t allocated_bytes() const { | 334 | 12 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 12 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 12 | } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE15allocated_bytesEv _ZNK5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 4 | size_t allocated_bytes() const { | 334 | 4 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 4 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 4 | } |
_ZNK5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE15allocated_bytesEv Line | Count | Source | 333 | 2 | size_t allocated_bytes() const { | 334 | 2 | if (c_end_of_storage == null) { | 335 | 0 | return 0; | 336 | 0 | } | 337 | 2 | return c_end_of_storage - c_start + pad_right + pad_left; | 338 | 2 | } |
|
339 | | |
340 | 135k | void clear() { c_end = c_start; }_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5clearEv Line | Count | Source | 340 | 37.5k | void clear() { c_end = c_start; } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5clearEv Line | Count | Source | 340 | 6.24k | void clear() { c_end = c_start; } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5clearEv Line | Count | Source | 340 | 700 | void clear() { c_end = c_start; } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5clearEv Line | Count | Source | 340 | 90.4k | void clear() { c_end = c_start; } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5clearEv Line | Count | Source | 340 | 238 | void clear() { c_end = c_start; } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5clearEv Line | Count | Source | 340 | 129 | void clear() { c_end = c_start; } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5clearEv Line | Count | Source | 340 | 1 | void clear() { c_end = c_start; } |
_ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5clearEv Line | Count | Source | 340 | 26 | void clear() { c_end = c_start; } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5clearEv _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5clearEv Line | Count | Source | 340 | 19 | void clear() { c_end = c_start; } |
|
341 | | |
342 | | template <typename... TAllocatorParams> |
343 | 56.9M | void reserve(size_t n, TAllocatorParams&&... allocator_params) { |
344 | 56.9M | if (n > capacity()) |
345 | 1.52M | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), |
346 | 1.52M | std::forward<TAllocatorParams>(allocator_params)...); |
347 | 56.9M | } _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 385k | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 385k | if (n > capacity()) | 345 | 143k | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 143k | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 385k | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 6.82M | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 6.82M | if (n > capacity()) | 345 | 278k | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 278k | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 6.82M | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 49.6M | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 49.6M | if (n > capacity()) | 345 | 995k | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 995k | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 49.6M | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 95.5k | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 95.5k | if (n > capacity()) | 345 | 76.2k | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 76.2k | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 95.5k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 34.0k | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 34.0k | if (n > capacity()) | 345 | 23.3k | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 23.3k | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 34.0k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 11.0k | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 11.0k | if (n > capacity()) | 345 | 10.4k | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 10.4k | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 11.0k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 7 | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 7 | if (n > capacity()) | 345 | 6 | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 6 | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 7 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 52 | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 52 | if (n > capacity()) | 345 | 43 | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 43 | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 52 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 4 | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 4 | if (n > capacity()) | 345 | 4 | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 4 | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 4 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 2 | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 2 | if (n > capacity()) | 345 | 2 | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 2 | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 2 | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 2 | if (n > capacity()) | 345 | 2 | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 2 | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 2 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reserveIJEEEvmDpOT_ _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 27 | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 27 | if (n > capacity()) | 345 | 27 | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 27 | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 27 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7reserveIJEEEvmDpOT_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7reserveIJEEEvmDpOT_ _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 6 | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 6 | if (n > capacity()) | 345 | 4 | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 4 | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 6 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7reserveIJEEEvmDpOT_ Line | Count | Source | 343 | 4 | void reserve(size_t n, TAllocatorParams&&... allocator_params) { | 344 | 4 | if (n > capacity()) | 345 | 2 | realloc(round_up_to_power_of_two_or_zero(minimum_memory_for_elements(n)), | 346 | 2 | std::forward<TAllocatorParams>(allocator_params)...); | 347 | 4 | } |
|
348 | | |
349 | | template <typename... TAllocatorParams> |
350 | 55.7M | void resize(size_t n, TAllocatorParams&&... allocator_params) { |
351 | 55.7M | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); |
352 | 55.7M | resize_assume_reserved(n); |
353 | 55.7M | } _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 48.9M | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 48.9M | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 48.9M | resize_assume_reserved(n); | 353 | 48.9M | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 246k | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 246k | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 246k | resize_assume_reserved(n); | 353 | 246k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 43.6k | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 43.6k | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 43.6k | resize_assume_reserved(n); | 353 | 43.6k | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 6.45M | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 6.45M | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 6.45M | resize_assume_reserved(n); | 353 | 6.45M | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 12.3k | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 12.3k | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 12.3k | resize_assume_reserved(n); | 353 | 12.3k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 6.60k | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 6.60k | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 6.60k | resize_assume_reserved(n); | 353 | 6.60k | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 52 | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 52 | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 52 | resize_assume_reserved(n); | 353 | 52 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 4 | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 4 | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 4 | resize_assume_reserved(n); | 353 | 4 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6resizeIJEEEvmDpOT_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6resizeIJEEEvmDpOT_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6resizeIJEEEvmDpOT_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE6resizeIJEEEvmDpOT_ _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 6 | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 6 | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 6 | resize_assume_reserved(n); | 353 | 6 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6resizeIJEEEvmDpOT_ Line | Count | Source | 350 | 4 | void resize(size_t n, TAllocatorParams&&... allocator_params) { | 351 | 4 | reserve(n, std::forward<TAllocatorParams>(allocator_params)...); | 352 | 4 | resize_assume_reserved(n); | 353 | 4 | } |
|
354 | | |
355 | 55.7M | void resize_assume_reserved(const size_t n) { |
356 | 55.7M | c_end = c_start + byte_size(n); |
357 | 55.7M | reset_resident_memory(); |
358 | 55.7M | } _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22resize_assume_reservedEm Line | Count | Source | 355 | 49.0M | void resize_assume_reserved(const size_t n) { | 356 | 49.0M | c_end = c_start + byte_size(n); | 357 | 49.0M | reset_resident_memory(); | 358 | 49.0M | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22resize_assume_reservedEm Line | Count | Source | 355 | 247k | void resize_assume_reserved(const size_t n) { | 356 | 247k | c_end = c_start + byte_size(n); | 357 | 247k | reset_resident_memory(); | 358 | 247k | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22resize_assume_reservedEm Line | Count | Source | 355 | 6.48M | void resize_assume_reserved(const size_t n) { | 356 | 6.48M | c_end = c_start + byte_size(n); | 357 | 6.48M | reset_resident_memory(); | 358 | 6.48M | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22resize_assume_reservedEm Line | Count | Source | 355 | 43.7k | void resize_assume_reserved(const size_t n) { | 356 | 43.7k | c_end = c_start + byte_size(n); | 357 | 43.7k | reset_resident_memory(); | 358 | 43.7k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22resize_assume_reservedEm Line | Count | Source | 355 | 12.3k | void resize_assume_reserved(const size_t n) { | 356 | 12.3k | c_end = c_start + byte_size(n); | 357 | 12.3k | reset_resident_memory(); | 358 | 12.3k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22resize_assume_reservedEm Line | Count | Source | 355 | 6.62k | void resize_assume_reserved(const size_t n) { | 356 | 6.62k | c_end = c_start + byte_size(n); | 357 | 6.62k | reset_resident_memory(); | 358 | 6.62k | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22resize_assume_reservedEm Line | Count | Source | 355 | 52 | void resize_assume_reserved(const size_t n) { | 356 | 52 | c_end = c_start + byte_size(n); | 357 | 52 | reset_resident_memory(); | 358 | 52 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22resize_assume_reservedEm Line | Count | Source | 355 | 4 | void resize_assume_reserved(const size_t n) { | 356 | 4 | c_end = c_start + byte_size(n); | 357 | 4 | reset_resident_memory(); | 358 | 4 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22resize_assume_reservedEm Unexecuted instantiation: _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22resize_assume_reservedEm Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22resize_assume_reservedEm Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE22resize_assume_reservedEm _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22resize_assume_reservedEm Line | Count | Source | 355 | 6 | void resize_assume_reserved(const size_t n) { | 356 | 6 | c_end = c_start + byte_size(n); | 357 | 6 | reset_resident_memory(); | 358 | 6 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22resize_assume_reservedEm Line | Count | Source | 355 | 4 | void resize_assume_reserved(const size_t n) { | 356 | 4 | c_end = c_start + byte_size(n); | 357 | 4 | reset_resident_memory(); | 358 | 4 | } |
|
359 | | |
360 | 8.08k | const char* raw_data() const { return c_start; }_ZNK5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8raw_dataEv Line | Count | Source | 360 | 8.05k | const char* raw_data() const { return c_start; } |
_ZNK5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8raw_dataEv Line | Count | Source | 360 | 1 | const char* raw_data() const { return c_start; } |
_ZNK5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8raw_dataEv Line | Count | Source | 360 | 5 | const char* raw_data() const { return c_start; } |
_ZNK5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8raw_dataEv Line | Count | Source | 360 | 24 | const char* raw_data() const { return c_start; } |
_ZNK5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8raw_dataEv Line | Count | Source | 360 | 4 | const char* raw_data() const { return c_start; } |
Unexecuted instantiation: _ZNK5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8raw_dataEv |
361 | | |
362 | | template <typename... TAllocatorParams> |
363 | | void push_back_raw(const char* ptr, TAllocatorParams&&... allocator_params) { |
364 | | if (UNLIKELY(c_end + ELEMENT_SIZE > c_res_mem)) { // c_res_mem <= c_end_of_storage |
365 | | if (UNLIKELY(c_end + ELEMENT_SIZE > c_end_of_storage)) { |
366 | | reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); |
367 | | } |
368 | | reset_resident_memory_impl(c_end + ELEMENT_SIZE); |
369 | | } |
370 | | |
371 | | memcpy(c_end, ptr, ELEMENT_SIZE); |
372 | | c_end += byte_size(1); |
373 | | } |
374 | | |
375 | | void protect() { |
376 | | #ifndef NDEBUG |
377 | | protect_impl(PROT_READ); |
378 | | mprotected = true; |
379 | | #endif |
380 | | } |
381 | | |
382 | 2.33M | void unprotect() { |
383 | 2.33M | #ifndef NDEBUG |
384 | 2.33M | if (mprotected) protect_impl(PROT_WRITE); |
385 | 2.33M | mprotected = false; |
386 | 2.33M | #endif |
387 | 2.33M | } _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 334k | void unprotect() { | 383 | 334k | #ifndef NDEBUG | 384 | 334k | if (mprotected) protect_impl(PROT_WRITE); | 385 | 334k | mprotected = false; | 386 | 334k | #endif | 387 | 334k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 1.21M | void unprotect() { | 383 | 1.21M | #ifndef NDEBUG | 384 | 1.21M | if (mprotected) protect_impl(PROT_WRITE); | 385 | 1.21M | mprotected = false; | 386 | 1.21M | #endif | 387 | 1.21M | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 577k | void unprotect() { | 383 | 577k | #ifndef NDEBUG | 384 | 577k | if (mprotected) protect_impl(PROT_WRITE); | 385 | 577k | mprotected = false; | 386 | 577k | #endif | 387 | 577k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 154k | void unprotect() { | 383 | 154k | #ifndef NDEBUG | 384 | 154k | if (mprotected) protect_impl(PROT_WRITE); | 385 | 154k | mprotected = false; | 386 | 154k | #endif | 387 | 154k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 28.9k | void unprotect() { | 383 | 28.9k | #ifndef NDEBUG | 384 | 28.9k | if (mprotected) protect_impl(PROT_WRITE); | 385 | 28.9k | mprotected = false; | 386 | 28.9k | #endif | 387 | 28.9k | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 26.3k | void unprotect() { | 383 | 26.3k | #ifndef NDEBUG | 384 | 26.3k | if (mprotected) protect_impl(PROT_WRITE); | 385 | 26.3k | mprotected = false; | 386 | 26.3k | #endif | 387 | 26.3k | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE9unprotectEv Line | Count | Source | 382 | 73 | void unprotect() { | 383 | 73 | #ifndef NDEBUG | 384 | 73 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 73 | mprotected = false; | 386 | 73 | #endif | 387 | 73 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9unprotectEv Line | Count | Source | 382 | 9 | void unprotect() { | 383 | 9 | #ifndef NDEBUG | 384 | 9 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 9 | mprotected = false; | 386 | 9 | #endif | 387 | 9 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9unprotectEv Line | Count | Source | 382 | 59 | void unprotect() { | 383 | 59 | #ifndef NDEBUG | 384 | 59 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 59 | mprotected = false; | 386 | 59 | #endif | 387 | 59 | } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 22 | void unprotect() { | 383 | 22 | #ifndef NDEBUG | 384 | 22 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 22 | mprotected = false; | 386 | 22 | #endif | 387 | 22 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 6 | void unprotect() { | 383 | 6 | #ifndef NDEBUG | 384 | 6 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 6 | mprotected = false; | 386 | 6 | #endif | 387 | 6 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE9unprotectEv Line | Count | Source | 382 | 5 | void unprotect() { | 383 | 5 | #ifndef NDEBUG | 384 | 5 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 5 | mprotected = false; | 386 | 5 | #endif | 387 | 5 | } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9unprotectEv Line | Count | Source | 382 | 5 | void unprotect() { | 383 | 5 | #ifndef NDEBUG | 384 | 5 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 5 | mprotected = false; | 386 | 5 | #endif | 387 | 5 | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9unprotectEv Line | Count | Source | 382 | 4 | void unprotect() { | 383 | 4 | #ifndef NDEBUG | 384 | 4 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 4 | mprotected = false; | 386 | 4 | #endif | 387 | 4 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9unprotectEv Line | Count | Source | 382 | 48 | void unprotect() { | 383 | 48 | #ifndef NDEBUG | 384 | 48 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 48 | mprotected = false; | 386 | 48 | #endif | 387 | 48 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9unprotectEv _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE9unprotectEv Line | Count | Source | 382 | 12 | void unprotect() { | 383 | 12 | #ifndef NDEBUG | 384 | 12 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 12 | mprotected = false; | 386 | 12 | #endif | 387 | 12 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE9unprotectEv _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 4 | void unprotect() { | 383 | 4 | #ifndef NDEBUG | 384 | 4 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 4 | mprotected = false; | 386 | 4 | #endif | 387 | 4 | } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9unprotectEv Line | Count | Source | 382 | 2 | void unprotect() { | 383 | 2 | #ifndef NDEBUG | 384 | 2 | if (mprotected) protect_impl(PROT_WRITE); | 385 | 2 | mprotected = false; | 386 | 2 | #endif | 387 | 2 | } |
|
388 | | |
389 | | template <typename It1, typename It2> |
390 | 143M | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { |
391 | 143M | #ifndef NDEBUG |
392 | 143M | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); |
393 | 143M | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); |
394 | | |
395 | | /// Also it's safe if the range is empty. |
396 | 143M | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || |
397 | 143M | (ptr_end > c_start && ptr_end <= c_end)) || |
398 | 143M | (ptr_begin == ptr_end)); |
399 | 143M | #endif |
400 | 143M | } _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKhS7_EEvT_T0_ Line | Count | Source | 390 | 63.0k | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 63.0k | #ifndef NDEBUG | 392 | 63.0k | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 63.0k | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 63.0k | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 63.0k | (ptr_begin == ptr_end)); | 399 | 63.0k | #endif | 400 | 63.0k | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKcS7_EEvT_T0_ Line | Count | Source | 390 | 143M | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 143M | #ifndef NDEBUG | 392 | 143M | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 143M | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 143M | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 143M | (ptr_begin == ptr_end)); | 399 | 143M | #endif | 400 | 143M | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPcS6_EEvT_T0_ Line | Count | Source | 390 | 1.78k | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 1.78k | #ifndef NDEBUG | 392 | 1.78k | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 1.78k | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 1.78k | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 1.78k | (ptr_begin == ptr_end)); | 399 | 1.78k | #endif | 400 | 1.78k | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_10StringViewES8_EEvT_T0_ _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKjS7_EEvT_T0_ Line | Count | Source | 390 | 39.1k | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 39.1k | #ifndef NDEBUG | 392 | 39.1k | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 39.1k | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 39.1k | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 39.1k | (ptr_begin == ptr_end)); | 399 | 39.1k | #endif | 400 | 39.1k | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKmS7_EEvT_T0_ Line | Count | Source | 390 | 5.42k | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 5.42k | #ifndef NDEBUG | 392 | 5.42k | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 5.42k | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 5.42k | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 5.42k | (ptr_begin == ptr_end)); | 399 | 5.42k | #endif | 400 | 5.42k | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_16TimestampTzValueES8_EEvT_T0_ _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKdS7_EEvT_T0_ Line | Count | Source | 390 | 3.16k | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 3.16k | #ifndef NDEBUG | 392 | 3.16k | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 3.16k | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 3.16k | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 3.16k | (ptr_begin == ptr_end)); | 399 | 3.16k | #endif | 400 | 3.16k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKoS7_EEvT_T0_ Line | Count | Source | 390 | 472 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 472 | #ifndef NDEBUG | 392 | 472 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 472 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 472 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 472 | (ptr_begin == ptr_end)); | 399 | 472 | #endif | 400 | 472 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_11DateV2ValueINS_19DateTimeV2ValueTypeEEESA_EEvT_T0_ Line | Count | Source | 390 | 594 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 594 | #ifndef NDEBUG | 392 | 594 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 594 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 594 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 594 | (ptr_begin == ptr_end)); | 399 | 594 | #endif | 400 | 594 | } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKaS7_EEvT_T0_ Line | Count | Source | 390 | 3.22k | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 3.22k | #ifndef NDEBUG | 392 | 3.22k | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 3.22k | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 3.22k | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 3.22k | (ptr_begin == ptr_end)); | 399 | 3.22k | #endif | 400 | 3.22k | } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKsS7_EEvT_T0_ Line | Count | Source | 390 | 440 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 440 | #ifndef NDEBUG | 392 | 440 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 440 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 440 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 440 | (ptr_begin == ptr_end)); | 399 | 440 | #endif | 400 | 440 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKiS7_EEvT_T0_ Line | Count | Source | 390 | 81.6k | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 81.6k | #ifndef NDEBUG | 392 | 81.6k | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 81.6k | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 81.6k | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 81.6k | (ptr_begin == ptr_end)); | 399 | 81.6k | #endif | 400 | 81.6k | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKlS7_EEvT_T0_ Line | Count | Source | 390 | 3.20k | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 3.20k | #ifndef NDEBUG | 392 | 3.20k | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 3.20k | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 3.20k | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 3.20k | (ptr_begin == ptr_end)); | 399 | 3.20k | #endif | 400 | 3.20k | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKnS7_EEvT_T0_ Line | Count | Source | 390 | 930 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 930 | #ifndef NDEBUG | 392 | 930 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 930 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 930 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 930 | (ptr_begin == ptr_end)); | 399 | 930 | #endif | 400 | 930 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKfS7_EEvT_T0_ Line | Count | Source | 390 | 532 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 532 | #ifndef NDEBUG | 392 | 532 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 532 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 532 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 532 | (ptr_begin == ptr_end)); | 399 | 532 | #endif | 400 | 532 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_16VecDateTimeValueES8_EEvT_T0_ Line | Count | Source | 390 | 118 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 118 | #ifndef NDEBUG | 392 | 118 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 118 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 118 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 118 | (ptr_begin == ptr_end)); | 399 | 118 | #endif | 400 | 118 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_11DateV2ValueINS_15DateV2ValueTypeEEESA_EEvT_T0_ Line | Count | Source | 390 | 466 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 466 | #ifndef NDEBUG | 392 | 466 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 466 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 466 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 466 | (ptr_begin == ptr_end)); | 399 | 466 | #endif | 400 | 466 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_9StringRefES8_EEvT_T0_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESF_EEvT_T0_ _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_7DecimalIiEES9_EEvT_T0_ Line | Count | Source | 390 | 658 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 658 | #ifndef NDEBUG | 392 | 658 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 658 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 658 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 658 | (ptr_begin == ptr_end)); | 399 | 658 | #endif | 400 | 658 | } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_14DecimalV2ValueES8_EEvT_T0_ Line | Count | Source | 390 | 204 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 204 | #ifndef NDEBUG | 392 | 204 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 204 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 204 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 204 | (ptr_begin == ptr_end)); | 399 | 204 | #endif | 400 | 204 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_7DecimalIlEES9_EEvT_T0_ Line | Count | Source | 390 | 552 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 552 | #ifndef NDEBUG | 392 | 552 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 552 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 552 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 552 | (ptr_begin == ptr_end)); | 399 | 552 | #endif | 400 | 552 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEESC_EEvT_T0_ _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_12Decimal128V3ES8_EEvT_T0_ Line | Count | Source | 390 | 370 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 370 | #ifndef NDEBUG | 392 | 370 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 370 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 370 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 370 | (ptr_begin == ptr_end)); | 399 | 370 | #endif | 400 | 370 | } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKNS_7DecimalIN4wide7integerILm256EiEEEESC_EEvT_T0_ Line | Count | Source | 390 | 332 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 332 | #ifndef NDEBUG | 392 | 332 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 332 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 332 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 332 | (ptr_begin == ptr_end)); | 399 | 332 | #endif | 400 | 332 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPhS6_EEvT_T0_ _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21assert_not_intersectsIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESF_EEvT_T0_ Line | Count | Source | 390 | 3 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 3 | #ifndef NDEBUG | 392 | 3 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 3 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 3 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 3 | (ptr_begin == ptr_end)); | 399 | 3 | #endif | 400 | 3 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21assert_not_intersectsIPmS6_EEvT_T0_ Line | Count | Source | 390 | 2 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 2 | #ifndef NDEBUG | 392 | 2 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 2 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 2 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 2 | (ptr_begin == ptr_end)); | 399 | 2 | #endif | 400 | 2 | } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPmS6_EEvT_T0_ Line | Count | Source | 390 | 7 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 7 | #ifndef NDEBUG | 392 | 7 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 7 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 7 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 7 | (ptr_begin == ptr_end)); | 399 | 7 | #endif | 400 | 7 | } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPjS6_EEvT_T0_ Line | Count | Source | 390 | 56 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 56 | #ifndef NDEBUG | 392 | 56 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 56 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 56 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 56 | (ptr_begin == ptr_end)); | 399 | 56 | #endif | 400 | 56 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKmS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE21assert_not_intersectsIPKjS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21assert_not_intersectsIPKaS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21assert_not_intersectsIPKsS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21assert_not_intersectsIPKiS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21assert_not_intersectsIPKlS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21assert_not_intersectsIPKnS7_EEvT_T0_ _ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21assert_not_intersectsIPKfS7_EEvT_T0_ Line | Count | Source | 390 | 25 | void assert_not_intersects(It1 from_begin [[maybe_unused]], It2 from_end [[maybe_unused]]) { | 391 | 25 | #ifndef NDEBUG | 392 | 25 | const char* ptr_begin = reinterpret_cast<const char*>(&*from_begin); | 393 | 25 | const char* ptr_end = reinterpret_cast<const char*>(&*from_end); | 394 | | | 395 | | /// Also it's safe if the range is empty. | 396 | | assert(!((ptr_begin >= c_start && ptr_begin < c_end) || | 397 | 25 | (ptr_end > c_start && ptr_end <= c_end)) || | 398 | 25 | (ptr_begin == ptr_end)); | 399 | 25 | #endif | 400 | 25 | } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE21assert_not_intersectsIPKdS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE21assert_not_intersectsIPKdS9_EEvT_T0_ |
401 | | |
402 | 2.51M | ~PODArrayBase() { dealloc(); }_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 686k | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 1.32M | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 335k | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 120k | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm32ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 12.7k | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 36.9k | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EED2Ev Line | Count | Source | 402 | 30 | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm1ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EED2Ev Line | Count | Source | 402 | 7 | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm8ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EED2Ev Line | Count | Source | 402 | 88 | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm24ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 2 | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 5 | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EED2Ev Line | Count | Source | 402 | 2 | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm8ELm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EED2Ev Line | Count | Source | 402 | 2 | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm2ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EED2Ev Line | Count | Source | 402 | 4 | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm4ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EED2Ev Line | Count | Source | 402 | 52 | ~PODArrayBase() { dealloc(); } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm16ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EED2Ev _ZN5doris12PODArrayBaseILm16ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EED2Ev Line | Count | Source | 402 | 14 | ~PODArrayBase() { dealloc(); } |
Unexecuted instantiation: _ZN5doris12PODArrayBaseILm8ELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EED2Ev _ZN5doris12PODArrayBaseILm3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 4 | ~PODArrayBase() { dealloc(); } |
_ZN5doris12PODArrayBaseILm12ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EED2Ev Line | Count | Source | 402 | 2 | ~PODArrayBase() { dealloc(); } |
|
403 | | }; |
404 | | |
405 | | template <typename T, size_t initial_bytes, typename TAllocator, size_t pad_right_, |
406 | | size_t pad_left_> |
407 | | class PODArray : public PODArrayBase<sizeof(T), initial_bytes, TAllocator, pad_right_, pad_left_> { |
408 | | protected: |
409 | | using Base = PODArrayBase<sizeof(T), initial_bytes, TAllocator, pad_right_, pad_left_>; |
410 | | |
411 | | static_assert(std::is_trivially_destructible_v<T>, |
412 | | "PODArray can only be used with POD types or types with trivial destructor"); |
413 | | static_assert(std::is_trivially_copyable_v<T>, |
414 | | "PODArray can only be used with POD types or types with trivial copy"); |
415 | | |
416 | 144M | T* t_start() { return reinterpret_cast<T*>(this->c_start); }_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 96.4M | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 9.49M | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 139 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 67.3k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 9.65M | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 14.6k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 12.7M | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 53.9k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 89.4k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 362k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 697k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 134k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 53.0k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 37.6k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 83.0k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 223k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 89.3k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 107k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 208k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 162k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 105k | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 10.5M | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_7DecimalInEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 100 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE7t_startEv Line | Count | Source | 416 | 138 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Line | Count | Source | 416 | 5 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Line | Count | Source | 416 | 6 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 6 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
Unexecuted instantiation: _ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE7t_startEv Unexecuted instantiation: _ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv _ZN5doris8PODArrayIPcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Line | Count | Source | 416 | 109 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Line | Count | Source | 416 | 3.14M | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Line | Count | Source | 416 | 22 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 84 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_5SliceELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 4 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Line | Count | Source | 416 | 43 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
Unexecuted instantiation: _ZN5doris8PODArrayIN4wide7integerILm128EjEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Line | Count | Source | 416 | 222 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 170 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Line | Count | Source | 416 | 38 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE7t_startEv Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7t_startEv _ZN5doris8PODArrayINS_8uint24_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 4 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
_ZN5doris8PODArrayINS_11decimal12_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 416 | 2 | T* t_start() { return reinterpret_cast<T*>(this->c_start); } |
|
417 | 560M | T* t_end() { return reinterpret_cast<T*>(this->c_end); }_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 28.9M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 75.1M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 207M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 133 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 9.19k | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 48.9M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 10.3k | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 143M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 1.10M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 1.04M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 3.48M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 2.18M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 1.22M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 2.07M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 1.09M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 1.11M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 3.09M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 59.1k | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 2.07M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 28.1M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 1.12M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 1.15M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 5.89M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_7DecimalInEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 100 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 68 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 4 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 367 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 1.00M | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayINS_12ItemWithSizeILm24EEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 240k | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 417 | 16 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 5 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 5 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 8 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 3 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 5 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 50 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5t_endEv _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 16 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv Line | Count | Source | 417 | 16 | T* t_end() { return reinterpret_cast<T*>(this->c_end); } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv |
418 | | |
419 | 1.05G | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); }_ZNK5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 269M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 162M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 510M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 257 | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 116k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 261k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 6.38k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 57.2M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 5.27k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 234k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 21.2M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 1.09M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 224k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 58.0k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 1.55M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 201k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 355k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 296k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 328k | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 22.3M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 2.06M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 1.01M | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
Unexecuted instantiation: _ZNK5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Unexecuted instantiation: _ZNK5doris8PODArrayIN4wide7integerILm128EjEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_7DecimalInEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7t_startEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7t_startEv _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7t_startEv Line | Count | Source | 419 | 11 | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7t_startEv Unexecuted instantiation: _ZNK5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE7t_startEv _ZNK5doris8PODArrayINS_5SliceELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 4 | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_8uint24_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 11 | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
_ZNK5doris8PODArrayINS_11decimal12_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE7t_startEv Line | Count | Source | 419 | 4 | const T* t_start() const { return reinterpret_cast<const T*>(this->c_start); } |
|
420 | 26.8k | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); }_ZNK5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 1.39k | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv _ZNK5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 899 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 7.44k | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv _ZNK5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 280 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 192 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 297 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 1.58k | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 210 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 12.8k | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 259 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 213 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 258 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 57 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 233 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv _ZNK5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 308 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 22 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 144 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 53 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
_ZNK5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5t_endEv Line | Count | Source | 420 | 55 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv Line | Count | Source | 420 | 11 | const T* t_end() const { return reinterpret_cast<const T*>(this->c_end); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv Unexecuted instantiation: _ZNK5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5t_endEv |
421 | | |
422 | | public: |
423 | | using value_type = T; |
424 | | |
425 | | /// We cannot use boost::iterator_adaptor, because it defeats loop vectorization, |
426 | | /// see https://github.com/ClickHouse/ClickHouse/pull/9442 |
427 | | |
428 | | using iterator = T*; |
429 | | using const_iterator = const T*; |
430 | | |
431 | 2.23M | PODArray() = default; _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 517k | PODArray() = default; |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 1.17M | PODArray() = default; |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 44.3k | PODArray() = default; |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 78.1k | PODArray() = default; |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 57.5k | PODArray() = default; |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 65.6k | PODArray() = default; |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 33.9k | PODArray() = default; |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 54.1k | PODArray() = default; |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 25.9k | PODArray() = default; |
_ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 4.02k | PODArray() = default; |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 16.9k | PODArray() = default; |
_ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 7.76k | PODArray() = default; |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 37.9k | PODArray() = default; |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 36.1k | PODArray() = default; |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 44.9k | PODArray() = default; |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 33.1k | PODArray() = default; |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 98 | PODArray() = default; |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 5 | PODArray() = default; |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 1 | PODArray() = default; |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 1 | PODArray() = default; |
_ZN5doris8PODArrayINS_7DecimalInEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 1 | PODArray() = default; |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 1 | PODArray() = default; |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 1 | PODArray() = default; |
_ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 52 | PODArray() = default; |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 27 | PODArray() = default; |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 1 | PODArray() = default; |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 2 | PODArray() = default; |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 136 | PODArray() = default; |
_ZN5doris8PODArrayINS_12ItemWithSizeILm24EEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 2 | PODArray() = default; |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 5 | PODArray() = default; |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 2 | PODArray() = default; |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 2 | PODArray() = default; |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 3 | PODArray() = default; |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 5 | PODArray() = default; |
_ZN5doris8PODArrayIPcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 78 | PODArray() = default; |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 31 | PODArray() = default; |
Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Ev _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 7 | PODArray() = default; |
Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EEC2Ev _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EEC2Ev Line | Count | Source | 431 | 7 | PODArray() = default; |
Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EEC2Ev Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EEC2Ev _ZN5doris8PODArrayINS_5SliceELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 2 | PODArray() = default; |
_ZN5doris8PODArrayINS_8uint24_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 4 | PODArray() = default; |
_ZN5doris8PODArrayINS_11decimal12_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Ev Line | Count | Source | 431 | 2 | PODArray() = default; |
|
432 | | |
433 | 156k | PODArray(size_t n) { |
434 | 156k | this->alloc_for_num_elements(n); |
435 | 156k | this->c_end += this->byte_size(n); |
436 | 156k | this->reset_resident_memory(); |
437 | 156k | } _ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 13.3k | PODArray(size_t n) { | 434 | 13.3k | this->alloc_for_num_elements(n); | 435 | 13.3k | this->c_end += this->byte_size(n); | 436 | 13.3k | this->reset_resident_memory(); | 437 | 13.3k | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 1.02k | PODArray(size_t n) { | 434 | 1.02k | this->alloc_for_num_elements(n); | 435 | 1.02k | this->c_end += this->byte_size(n); | 436 | 1.02k | this->reset_resident_memory(); | 437 | 1.02k | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 77.9k | PODArray(size_t n) { | 434 | 77.9k | this->alloc_for_num_elements(n); | 435 | 77.9k | this->c_end += this->byte_size(n); | 436 | 77.9k | this->reset_resident_memory(); | 437 | 77.9k | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 870 | PODArray(size_t n) { | 434 | 870 | this->alloc_for_num_elements(n); | 435 | 870 | this->c_end += this->byte_size(n); | 436 | 870 | this->reset_resident_memory(); | 437 | 870 | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 33.2k | PODArray(size_t n) { | 434 | 33.2k | this->alloc_for_num_elements(n); | 435 | 33.2k | this->c_end += this->byte_size(n); | 436 | 33.2k | this->reset_resident_memory(); | 437 | 33.2k | } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 12.9k | PODArray(size_t n) { | 434 | 12.9k | this->alloc_for_num_elements(n); | 435 | 12.9k | this->c_end += this->byte_size(n); | 436 | 12.9k | this->reset_resident_memory(); | 437 | 12.9k | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 12.7k | PODArray(size_t n) { | 434 | 12.7k | this->alloc_for_num_elements(n); | 435 | 12.7k | this->c_end += this->byte_size(n); | 436 | 12.7k | this->reset_resident_memory(); | 437 | 12.7k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 300 | PODArray(size_t n) { | 434 | 300 | this->alloc_for_num_elements(n); | 435 | 300 | this->c_end += this->byte_size(n); | 436 | 300 | this->reset_resident_memory(); | 437 | 300 | } |
_ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 1 | PODArray(size_t n) { | 434 | 1 | this->alloc_for_num_elements(n); | 435 | 1 | this->c_end += this->byte_size(n); | 436 | 1 | this->reset_resident_memory(); | 437 | 1 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 323 | PODArray(size_t n) { | 434 | 323 | this->alloc_for_num_elements(n); | 435 | 323 | this->c_end += this->byte_size(n); | 436 | 323 | this->reset_resident_memory(); | 437 | 323 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 1.16k | PODArray(size_t n) { | 434 | 1.16k | this->alloc_for_num_elements(n); | 435 | 1.16k | this->c_end += this->byte_size(n); | 436 | 1.16k | this->reset_resident_memory(); | 437 | 1.16k | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Em Line | Count | Source | 433 | 3 | PODArray(size_t n) { | 434 | 3 | this->alloc_for_num_elements(n); | 435 | 3 | this->c_end += this->byte_size(n); | 436 | 3 | this->reset_resident_memory(); | 437 | 3 | } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Em Line | Count | Source | 433 | 4 | PODArray(size_t n) { | 434 | 4 | this->alloc_for_num_elements(n); | 435 | 4 | this->c_end += this->byte_size(n); | 436 | 4 | this->reset_resident_memory(); | 437 | 4 | } |
_ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 5 | PODArray(size_t n) { | 434 | 5 | this->alloc_for_num_elements(n); | 435 | 5 | this->c_end += this->byte_size(n); | 436 | 5 | this->reset_resident_memory(); | 437 | 5 | } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 502 | PODArray(size_t n) { | 434 | 502 | this->alloc_for_num_elements(n); | 435 | 502 | this->c_end += this->byte_size(n); | 436 | 502 | this->reset_resident_memory(); | 437 | 502 | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 494 | PODArray(size_t n) { | 434 | 494 | this->alloc_for_num_elements(n); | 435 | 494 | this->c_end += this->byte_size(n); | 436 | 494 | this->reset_resident_memory(); | 437 | 494 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 745 | PODArray(size_t n) { | 434 | 745 | this->alloc_for_num_elements(n); | 435 | 745 | this->c_end += this->byte_size(n); | 436 | 745 | this->reset_resident_memory(); | 437 | 745 | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 356 | PODArray(size_t n) { | 434 | 356 | this->alloc_for_num_elements(n); | 435 | 356 | this->c_end += this->byte_size(n); | 436 | 356 | this->reset_resident_memory(); | 437 | 356 | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 277 | PODArray(size_t n) { | 434 | 277 | this->alloc_for_num_elements(n); | 435 | 277 | this->c_end += this->byte_size(n); | 436 | 277 | this->reset_resident_memory(); | 437 | 277 | } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 389 | PODArray(size_t n) { | 434 | 389 | this->alloc_for_num_elements(n); | 435 | 389 | this->c_end += this->byte_size(n); | 436 | 389 | this->reset_resident_memory(); | 437 | 389 | } |
_ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 2 | PODArray(size_t n) { | 434 | 2 | this->alloc_for_num_elements(n); | 435 | 2 | this->c_end += this->byte_size(n); | 436 | 2 | this->reset_resident_memory(); | 437 | 2 | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 1 | PODArray(size_t n) { | 434 | 1 | this->alloc_for_num_elements(n); | 435 | 1 | this->c_end += this->byte_size(n); | 436 | 1 | this->reset_resident_memory(); | 437 | 1 | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 45 | PODArray(size_t n) { | 434 | 45 | this->alloc_for_num_elements(n); | 435 | 45 | this->c_end += this->byte_size(n); | 436 | 45 | this->reset_resident_memory(); | 437 | 45 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2Em Line | Count | Source | 433 | 27 | PODArray(size_t n) { | 434 | 27 | this->alloc_for_num_elements(n); | 435 | 27 | this->c_end += this->byte_size(n); | 436 | 27 | this->reset_resident_memory(); | 437 | 27 | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2Em Line | Count | Source | 433 | 21 | PODArray(size_t n) { | 434 | 21 | this->alloc_for_num_elements(n); | 435 | 21 | this->c_end += this->byte_size(n); | 436 | 21 | this->reset_resident_memory(); | 437 | 21 | } |
|
438 | | |
439 | 102k | PODArray(size_t n, const T& x) { |
440 | 102k | this->alloc_for_num_elements(n); |
441 | 102k | assign(n, x); |
442 | 102k | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKh Line | Count | Source | 439 | 101k | PODArray(size_t n, const T& x) { | 440 | 101k | this->alloc_for_num_elements(n); | 441 | 101k | assign(n, x); | 442 | 101k | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKi Line | Count | Source | 439 | 37 | PODArray(size_t n, const T& x) { | 440 | 37 | this->alloc_for_num_elements(n); | 441 | 37 | assign(n, x); | 442 | 37 | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKo Line | Count | Source | 439 | 2 | PODArray(size_t n, const T& x) { | 440 | 2 | this->alloc_for_num_elements(n); | 441 | 2 | assign(n, x); | 442 | 2 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKa _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKs Line | Count | Source | 439 | 4 | PODArray(size_t n, const T& x) { | 440 | 4 | this->alloc_for_num_elements(n); | 441 | 4 | assign(n, x); | 442 | 4 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKl Line | Count | Source | 439 | 21 | PODArray(size_t n, const T& x) { | 440 | 21 | this->alloc_for_num_elements(n); | 441 | 21 | assign(n, x); | 442 | 21 | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKn Line | Count | Source | 439 | 32 | PODArray(size_t n, const T& x) { | 440 | 32 | this->alloc_for_num_elements(n); | 441 | 32 | assign(n, x); | 442 | 32 | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKf Line | Count | Source | 439 | 1 | PODArray(size_t n, const T& x) { | 440 | 1 | this->alloc_for_num_elements(n); | 441 | 1 | assign(n, x); | 442 | 1 | } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKd Line | Count | Source | 439 | 3 | PODArray(size_t n, const T& x) { | 440 | 3 | this->alloc_for_num_elements(n); | 441 | 3 | assign(n, x); | 442 | 3 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKj Unexecuted instantiation: _ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKS1_ _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKS3_ Line | Count | Source | 439 | 8 | PODArray(size_t n, const T& x) { | 440 | 8 | this->alloc_for_num_elements(n); | 441 | 8 | assign(n, x); | 442 | 8 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKS3_ Line | Count | Source | 439 | 50 | PODArray(size_t n, const T& x) { | 440 | 50 | this->alloc_for_num_elements(n); | 441 | 50 | assign(n, x); | 442 | 50 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKS1_ Unexecuted instantiation: _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EmRKm |
443 | | |
444 | 19.3k | PODArray(const_iterator from_begin, const_iterator from_end) { |
445 | 19.3k | this->alloc_for_num_elements(from_end - from_begin); |
446 | 19.3k | insert(from_begin, from_end); |
447 | 19.3k | } _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKjS6_ Line | Count | Source | 444 | 836 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 836 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 836 | insert(from_begin, from_end); | 447 | 836 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKhS6_ Line | Count | Source | 444 | 1.21k | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 1.21k | this->alloc_for_num_elements(from_end - from_begin); | 446 | 1.21k | insert(from_begin, from_end); | 447 | 1.21k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKmS6_ Line | Count | Source | 444 | 281 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 281 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 281 | insert(from_begin, from_end); | 447 | 281 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKiS6_ Line | Count | Source | 444 | 12.8k | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 12.8k | this->alloc_for_num_elements(from_end - from_begin); | 446 | 12.8k | insert(from_begin, from_end); | 447 | 12.8k | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKlS6_ Line | Count | Source | 444 | 239 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 239 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 239 | insert(from_begin, from_end); | 447 | 239 | } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS2_S8_ Line | Count | Source | 444 | 308 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 308 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 308 | insert(from_begin, from_end); | 447 | 308 | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS1_S7_ Line | Count | Source | 444 | 57 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 57 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 57 | insert(from_begin, from_end); | 447 | 57 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS3_S9_ Line | Count | Source | 444 | 232 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 232 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 232 | insert(from_begin, from_end); | 447 | 232 | } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKdS6_ Line | Count | Source | 444 | 280 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 280 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 280 | insert(from_begin, from_end); | 447 | 280 | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKfS6_ Line | Count | Source | 444 | 258 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 258 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 258 | insert(from_begin, from_end); | 447 | 258 | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS2_S8_ Line | Count | Source | 444 | 144 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 144 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 144 | insert(from_begin, from_end); | 447 | 144 | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS1_S7_ Line | Count | Source | 444 | 20 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 20 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 20 | insert(from_begin, from_end); | 447 | 20 | } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS1_S7_ Line | Count | Source | 444 | 53 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 53 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 53 | insert(from_begin, from_end); | 447 | 53 | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS5_SB_ Line | Count | Source | 444 | 55 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 55 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 55 | insert(from_begin, from_end); | 447 | 55 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS1_S7_ _ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKoS6_ Line | Count | Source | 444 | 192 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 192 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 192 | insert(from_begin, from_end); | 447 | 192 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS1_S7_ _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKaS6_ Line | Count | Source | 444 | 1.58k | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 1.58k | this->alloc_for_num_elements(from_end - from_begin); | 446 | 1.58k | insert(from_begin, from_end); | 447 | 1.58k | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKsS6_ Line | Count | Source | 444 | 209 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 209 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 209 | insert(from_begin, from_end); | 447 | 209 | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKnS6_ Line | Count | Source | 444 | 211 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 211 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 211 | insert(from_begin, from_end); | 447 | 211 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS3_S9_ Line | Count | Source | 444 | 296 | PODArray(const_iterator from_begin, const_iterator from_end) { | 445 | 296 | this->alloc_for_num_elements(from_end - from_begin); | 446 | 296 | insert(from_begin, from_end); | 447 | 296 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EPKS1_S7_ |
448 | | |
449 | 109 | PODArray(std::initializer_list<T> il) : PODArray(std::begin(il), std::end(il)) {}_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listImE Line | Count | Source | 449 | 24 | PODArray(std::initializer_list<T> il) : PODArray(std::begin(il), std::end(il)) {} |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIhE Line | Count | Source | 449 | 10 | PODArray(std::initializer_list<T> il) : PODArray(std::begin(il), std::end(il)) {} |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIjE Line | Count | Source | 449 | 75 | PODArray(std::initializer_list<T> il) : PODArray(std::begin(il), std::end(il)) {} |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIaE Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIsE Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIiE Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIlE Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listInE Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIfE Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIdE Unexecuted instantiation: _ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIoE Unexecuted instantiation: _ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIS1_E Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIS3_E Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIS3_E Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2ESt16initializer_listIS1_E |
450 | | |
451 | 124 | PODArray(PODArray&& other) { this->swap(other); }_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EEC2EOS6_ Line | Count | Source | 451 | 3 | PODArray(PODArray&& other) { this->swap(other); } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EOS4_ Line | Count | Source | 451 | 18 | PODArray(PODArray&& other) { this->swap(other); } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2EOS4_ Line | Count | Source | 451 | 3 | PODArray(PODArray&& other) { this->swap(other); } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEC2EOS4_ Line | Count | Source | 451 | 100 | PODArray(PODArray&& other) { this->swap(other); } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2EOS4_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2EOS4_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2EOS4_ Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2EOS4_ Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2EOS4_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEC2EOS4_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EEC2EOS6_ |
452 | | |
453 | 243 | PODArray& operator=(PODArray&& other) { |
454 | 243 | this->swap(other); |
455 | 243 | return *this; |
456 | 243 | } _ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EEaSEOS6_ Line | Count | Source | 453 | 7 | PODArray& operator=(PODArray&& other) { | 454 | 7 | this->swap(other); | 455 | 7 | return *this; | 456 | 7 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEaSEOS4_ Line | Count | Source | 453 | 8 | PODArray& operator=(PODArray&& other) { | 454 | 8 | this->swap(other); | 455 | 8 | return *this; | 456 | 8 | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEaSEOS4_ Line | Count | Source | 453 | 14 | PODArray& operator=(PODArray&& other) { | 454 | 14 | this->swap(other); | 455 | 14 | return *this; | 456 | 14 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEaSEOS4_ _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEaSEOS4_ Line | Count | Source | 453 | 214 | PODArray& operator=(PODArray&& other) { | 454 | 214 | this->swap(other); | 455 | 214 | return *this; | 456 | 214 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEaSEOS4_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEaSEOS4_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEaSEOS4_ Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEaSEOS4_ Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEaSEOS4_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEaSEOS4_ |
457 | | |
458 | 101M | T* data() { return t_start(); }_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 93.7M | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 5 | T* data() { return t_start(); } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 16.0k | T* data() { return t_start(); } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 183k | T* data() { return t_start(); } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 6.20M | T* data() { return t_start(); } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 33.5k | T* data() { return t_start(); } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 646k | T* data() { return t_start(); } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 2.00k | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 16.2k | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 16.3k | T* data() { return t_start(); } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 25.1k | T* data() { return t_start(); } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 15.9k | T* data() { return t_start(); } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 16.9k | T* data() { return t_start(); } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 17.5k | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 32.0k | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 4.77k | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 9.94k | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 43.9k | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 4.48k | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 4.32k | T* data() { return t_start(); } |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Line | Count | Source | 458 | 3 | T* data() { return t_start(); } |
_ZN5doris8PODArrayIPcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Line | Count | Source | 458 | 109 | T* data() { return t_start(); } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Line | Count | Source | 458 | 13 | T* data() { return t_start(); } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Line | Count | Source | 458 | 10 | T* data() { return t_start(); } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_5SliceELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Line | Count | Source | 458 | 4 | T* data() { return t_start(); } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 20 | T* data() { return t_start(); } |
Unexecuted instantiation: _ZN5doris8PODArrayIN4wide7integerILm128EjEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Unexecuted instantiation: _ZN5doris8PODArrayINS_7DecimalInEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Line | Count | Source | 458 | 12 | T* data() { return t_start(); } |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 170 | T* data() { return t_start(); } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv Line | Count | Source | 458 | 38 | T* data() { return t_start(); } |
Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4dataEv _ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 3.86k | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_8uint24_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 4 | T* data() { return t_start(); } |
_ZN5doris8PODArrayINS_11decimal12_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 458 | 2 | T* data() { return t_start(); } |
|
459 | 43.1M | const T* data() const { return t_start(); }_ZNK5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 43.0M | const T* data() const { return t_start(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv _ZNK5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.95k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 5.22k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.86k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 17.5k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 7.53k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 38.8k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.55k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.39k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 19.0k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.28k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.88k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.69k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 6.36k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.40k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.85k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 16.3k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 3.93k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 4.03k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 1 | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 5.27k | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_5SliceELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 4 | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_8uint24_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 11 | const T* data() const { return t_start(); } |
_ZNK5doris8PODArrayINS_11decimal12_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4dataEv Line | Count | Source | 459 | 4 | const T* data() const { return t_start(); } |
|
460 | | |
461 | | /// The index is signed to access -1th element without pointer overflow. |
462 | 43.3M | T& operator[](ssize_t n) { |
463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). |
464 | 43.3M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); |
465 | 43.3M | DCHECK_LE(n, static_cast<ssize_t>(this->size())); |
466 | 43.3M | return t_start()[n]; |
467 | 43.3M | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 2.52M | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 2.52M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 2.52M | return t_start()[n]; | 467 | 2.52M | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 9.49M | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 9.49M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 9.49M | return t_start()[n]; | 467 | 9.49M | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 35.2k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 35.2k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 35.2k | return t_start()[n]; | 467 | 35.2k | } |
_ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 134 | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 134 | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 134 | return t_start()[n]; | 467 | 134 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 3.44M | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 3.44M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 3.44M | return t_start()[n]; | 467 | 3.44M | } |
_ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 10.7k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 10.7k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 10.7k | return t_start()[n]; | 467 | 10.7k | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 12.6M | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 12.6M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 12.6M | return t_start()[n]; | 467 | 12.6M | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 37.9k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 37.9k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 37.9k | return t_start()[n]; | 467 | 37.9k | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 72.9k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 72.9k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 72.9k | return t_start()[n]; | 467 | 72.9k | } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 50.3k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 50.3k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 50.3k | return t_start()[n]; | 467 | 50.3k | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 179k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 179k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 179k | return t_start()[n]; | 467 | 179k | } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 101k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 101k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 101k | return t_start()[n]; | 467 | 101k | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 36.8k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 36.8k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 36.8k | return t_start()[n]; | 467 | 36.8k | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 21.6k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 21.6k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 21.6k | return t_start()[n]; | 467 | 21.6k | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 66.1k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 66.1k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 66.1k | return t_start()[n]; | 467 | 66.1k | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 206k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 206k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 206k | return t_start()[n]; | 467 | 206k | } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 84.5k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 84.5k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 84.5k | return t_start()[n]; | 467 | 84.5k | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 97.4k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 97.4k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 97.4k | return t_start()[n]; | 467 | 97.4k | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 164k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 164k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 164k | return t_start()[n]; | 467 | 164k | } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 157k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 157k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 157k | return t_start()[n]; | 467 | 157k | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 100k | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 100k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 100k | return t_start()[n]; | 467 | 100k | } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 10.5M | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 10.5M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 10.5M | return t_start()[n]; | 467 | 10.5M | } |
_ZN5doris8PODArrayINS_7DecimalInEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 100 | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 100 | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 100 | return t_start()[n]; | 467 | 100 | } |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EEixEl Line | Count | Source | 462 | 138 | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 138 | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 138 | return t_start()[n]; | 467 | 138 | } |
Unexecuted instantiation: _ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EEixEl Unexecuted instantiation: _ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Line | Count | Source | 462 | 3.14M | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 3.14M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 3.14M | return t_start()[n]; | 467 | 3.14M | } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Line | Count | Source | 462 | 4 | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 4 | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 4 | return t_start()[n]; | 467 | 4 | } |
_ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 64 | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 64 | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 64 | return t_start()[n]; | 467 | 64 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Line | Count | Source | 462 | 34 | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 34 | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 34 | return t_start()[n]; | 467 | 34 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIN4wide7integerILm128EjEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Line | Count | Source | 462 | 210 | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 210 | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 210 | return t_start()[n]; | 467 | 210 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIPcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EEixEl Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EEixEl _ZN5doris8PODArrayINS_5SliceELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 462 | 4 | T& operator[](ssize_t n) { | 463 | | /// <= size, because taking address of one element past memory range is Ok in C++ (expression like &arr[arr.size()] is perfectly valid). | 464 | 4 | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 465 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 466 | 4 | return t_start()[n]; | 467 | 4 | } |
|
468 | | |
469 | 1.00G | const T& operator[](ssize_t n) const { |
470 | 1.00G | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); |
471 | 1.00G | DCHECK_LE(n, static_cast<ssize_t>(this->size())); |
472 | 1.00G | return t_start()[n]; |
473 | 1.00G | } _ZNK5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 226M | const T& operator[](ssize_t n) const { | 470 | 226M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 226M | return t_start()[n]; | 473 | 226M | } |
_ZNK5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 162M | const T& operator[](ssize_t n) const { | 470 | 162M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 162M | return t_start()[n]; | 473 | 162M | } |
_ZNK5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 510M | const T& operator[](ssize_t n) const { | 470 | 510M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 510M | return t_start()[n]; | 473 | 510M | } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 257k | const T& operator[](ssize_t n) const { | 470 | 257k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 257k | return t_start()[n]; | 473 | 257k | } |
_ZNK5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 253 | const T& operator[](ssize_t n) const { | 470 | 253 | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 253 | return t_start()[n]; | 473 | 253 | } |
_ZNK5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 6.38k | const T& operator[](ssize_t n) const { | 470 | 6.38k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 6.38k | return t_start()[n]; | 473 | 6.38k | } |
_ZNK5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 57.2M | const T& operator[](ssize_t n) const { | 470 | 57.2M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 57.2M | return t_start()[n]; | 473 | 57.2M | } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl _ZNK5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 229k | const T& operator[](ssize_t n) const { | 470 | 229k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 229k | return t_start()[n]; | 473 | 229k | } |
_ZNK5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 21.2M | const T& operator[](ssize_t n) const { | 470 | 21.2M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 21.2M | return t_start()[n]; | 473 | 21.2M | } |
_ZNK5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 1.08M | const T& operator[](ssize_t n) const { | 470 | 1.08M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 1.08M | return t_start()[n]; | 473 | 1.08M | } |
_ZNK5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 215k | const T& operator[](ssize_t n) const { | 470 | 215k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 215k | return t_start()[n]; | 473 | 215k | } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 53.5k | const T& operator[](ssize_t n) const { | 470 | 53.5k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 53.5k | return t_start()[n]; | 473 | 53.5k | } |
_ZNK5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 1.55M | const T& operator[](ssize_t n) const { | 470 | 1.55M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 1.55M | return t_start()[n]; | 473 | 1.55M | } |
_ZNK5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 196k | const T& operator[](ssize_t n) const { | 470 | 196k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 196k | return t_start()[n]; | 473 | 196k | } |
_ZNK5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 351k | const T& operator[](ssize_t n) const { | 470 | 351k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 351k | return t_start()[n]; | 473 | 351k | } |
_ZNK5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 108k | const T& operator[](ssize_t n) const { | 470 | 108k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 108k | return t_start()[n]; | 473 | 108k | } |
_ZNK5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 292k | const T& operator[](ssize_t n) const { | 470 | 292k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 292k | return t_start()[n]; | 473 | 292k | } |
_ZNK5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 324k | const T& operator[](ssize_t n) const { | 470 | 324k | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 324k | return t_start()[n]; | 473 | 324k | } |
_ZNK5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 22.3M | const T& operator[](ssize_t n) const { | 470 | 22.3M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 22.3M | return t_start()[n]; | 473 | 22.3M | } |
_ZNK5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 2.06M | const T& operator[](ssize_t n) const { | 470 | 2.06M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 2.06M | return t_start()[n]; | 473 | 2.06M | } |
_ZNK5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Line | Count | Source | 469 | 1.01M | const T& operator[](ssize_t n) const { | 470 | 1.01M | DCHECK_GE(n, (static_cast<ssize_t>(pad_left_) ? -1 : 0)); | 471 | | DCHECK_LE(n, static_cast<ssize_t>(this->size())); | 472 | 1.01M | return t_start()[n]; | 473 | 1.01M | } |
Unexecuted instantiation: _ZNK5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Unexecuted instantiation: _ZNK5doris8PODArrayIN4wide7integerILm128EjEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Unexecuted instantiation: _ZNK5doris8PODArrayINS_7DecimalInEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EEixEl Unexecuted instantiation: _ZNK5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EEixEl |
474 | | |
475 | | T& front() { return t_start()[0]; } |
476 | 202M | T& back() { return t_end()[-1]; }_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4backEv Line | Count | Source | 476 | 131M | T& back() { return t_end()[-1]; } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4backEv Line | Count | Source | 476 | 71.1M | T& back() { return t_end()[-1]; } |
Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE4backEv Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE4backEv |
477 | | const T& front() const { return t_start()[0]; } |
478 | 4.62k | const T& back() const { return t_end()[-1]; }_ZNK5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4backEv Line | Count | Source | 478 | 4.62k | const T& back() const { return t_end()[-1]; } |
Unexecuted instantiation: _ZNK5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4backEv |
479 | | |
480 | 194k | iterator begin() { return t_start(); }_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 189k | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 130 | iterator begin() { return t_start(); } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 3.97k | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 2 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 826 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 29 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 2 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 6 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 34 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Line | Count | Source | 480 | 2 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Line | Count | Source | 480 | 6 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 6 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Line | Count | Source | 480 | 8 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Line | Count | Source | 480 | 3 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Line | Count | Source | 480 | 5 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 1 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 3 | iterator begin() { return t_start(); } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 8 | iterator begin() { return t_start(); } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 50 | iterator begin() { return t_start(); } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE5beginEv Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5beginEv _ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 480 | 20 | iterator begin() { return t_start(); } |
|
481 | 194k | iterator end() { return t_end(); }_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 189k | iterator end() { return t_end(); } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 128 | iterator end() { return t_end(); } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 3.71k | iterator end() { return t_end(); } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 2 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 1.11k | iterator end() { return t_end(); } |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Line | Count | Source | 481 | 4 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Line | Count | Source | 481 | 5 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 6 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Line | Count | Source | 481 | 8 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Line | Count | Source | 481 | 3 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Line | Count | Source | 481 | 5 | iterator end() { return t_end(); } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 4 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 21 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 32 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 1 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 3 | iterator end() { return t_end(); } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 8 | iterator end() { return t_end(); } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 50 | iterator end() { return t_end(); } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Line | Count | Source | 481 | 50 | iterator end() { return t_end(); } |
Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE3endEv Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE3endEv _ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 481 | 20 | iterator end() { return t_end(); } |
|
482 | 163k | const_iterator begin() const { return t_start(); }_ZNK5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 52.1k | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 1.83k | const_iterator begin() const { return t_start(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv _ZNK5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 75.7k | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 12.1k | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 1.37k | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 931 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 4 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 692 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 192 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 2.00k | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 724 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 13.3k | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 693 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 213 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 620 | const_iterator begin() const { return t_start(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv _ZNK5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 308 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 22 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 144 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 53 | const_iterator begin() const { return t_start(); } |
_ZNK5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5beginEv Line | Count | Source | 482 | 55 | const_iterator begin() const { return t_start(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5beginEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5beginEv _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5beginEv Line | Count | Source | 482 | 11 | const_iterator begin() const { return t_start(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5beginEv Unexecuted instantiation: _ZNK5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE5beginEv |
483 | 22.1k | const_iterator end() const { return t_end(); }_ZNK5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 1.39k | const_iterator end() const { return t_end(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv _ZNK5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 899 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 2.81k | const_iterator end() const { return t_end(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv _ZNK5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 280 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 192 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 297 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 1.58k | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 210 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 12.8k | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 259 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 213 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 258 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 57 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 233 | const_iterator end() const { return t_end(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv _ZNK5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 308 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 22 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 144 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 53 | const_iterator end() const { return t_end(); } |
_ZNK5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE3endEv Line | Count | Source | 483 | 55 | const_iterator end() const { return t_end(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE3endEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE3endEv _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE3endEv Line | Count | Source | 483 | 11 | const_iterator end() const { return t_end(); } |
Unexecuted instantiation: _ZNK5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE3endEv Unexecuted instantiation: _ZNK5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE3endEv |
484 | 0 | const_iterator cbegin() const { return t_start(); } |
485 | 0 | const_iterator cend() const { return t_end(); } |
486 | | |
487 | 6.59k | void* get_end_ptr() const { return this->c_end; }_ZNK5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Line | Count | Source | 487 | 2.71k | void* get_end_ptr() const { return this->c_end; } |
_ZNK5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Line | Count | Source | 487 | 1 | void* get_end_ptr() const { return this->c_end; } |
Unexecuted instantiation: _ZNK5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Unexecuted instantiation: _ZNK5doris8PODArrayINS_5SliceELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv _ZNK5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Line | Count | Source | 487 | 3.86k | void* get_end_ptr() const { return this->c_end; } |
_ZNK5doris8PODArrayINS_8uint24_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Line | Count | Source | 487 | 4 | void* get_end_ptr() const { return this->c_end; } |
_ZNK5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Line | Count | Source | 487 | 11 | void* get_end_ptr() const { return this->c_end; } |
_ZNK5doris8PODArrayINS_11decimal12_tELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11get_end_ptrEv Line | Count | Source | 487 | 2 | void* get_end_ptr() const { return this->c_end; } |
|
488 | | |
489 | | /// Same as resize, but zeroes new elements. |
490 | 561 | void resize_fill(size_t n) { |
491 | 561 | size_t old_size = this->size(); |
492 | 561 | const auto new_size = this->byte_size(n); |
493 | 561 | if (n > old_size) { |
494 | 554 | this->reserve(n); |
495 | 554 | this->reset_resident_memory(this->c_start + new_size); |
496 | 554 | memset(this->c_end, 0, this->byte_size(n - old_size)); |
497 | 554 | } |
498 | 561 | this->c_end = this->c_start + new_size; |
499 | 561 | } _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11resize_fillEm Line | Count | Source | 490 | 1 | void resize_fill(size_t n) { | 491 | 1 | size_t old_size = this->size(); | 492 | 1 | const auto new_size = this->byte_size(n); | 493 | 1 | if (n > old_size) { | 494 | 1 | this->reserve(n); | 495 | 1 | this->reset_resident_memory(this->c_start + new_size); | 496 | 1 | memset(this->c_end, 0, this->byte_size(n - old_size)); | 497 | 1 | } | 498 | 1 | this->c_end = this->c_start + new_size; | 499 | 1 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11resize_fillEm Line | Count | Source | 490 | 560 | void resize_fill(size_t n) { | 491 | 560 | size_t old_size = this->size(); | 492 | 560 | const auto new_size = this->byte_size(n); | 493 | 560 | if (n > old_size) { | 494 | 553 | this->reserve(n); | 495 | 553 | this->reset_resident_memory(this->c_start + new_size); | 496 | 553 | memset(this->c_end, 0, this->byte_size(n - old_size)); | 497 | 553 | } | 498 | 560 | this->c_end = this->c_start + new_size; | 499 | 560 | } |
|
500 | | |
501 | | /// reset the array capacity |
502 | | /// fill the new additional elements using the value |
503 | 267k | void resize_fill(size_t n, const T& value) { |
504 | 267k | size_t old_size = this->size(); |
505 | 267k | const auto new_size = this->byte_size(n); |
506 | 267k | if (n > old_size) { |
507 | 265k | this->reserve(n); |
508 | 265k | this->reset_resident_memory(this->c_start + new_size); |
509 | 265k | std::fill(t_end(), t_end() + n - old_size, value); |
510 | 265k | } |
511 | 267k | this->c_end = this->c_start + new_size; |
512 | 267k | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11resize_fillEmRKh Line | Count | Source | 503 | 170k | void resize_fill(size_t n, const T& value) { | 504 | 170k | size_t old_size = this->size(); | 505 | 170k | const auto new_size = this->byte_size(n); | 506 | 170k | if (n > old_size) { | 507 | 170k | this->reserve(n); | 508 | 170k | this->reset_resident_memory(this->c_start + new_size); | 509 | 170k | std::fill(t_end(), t_end() + n - old_size, value); | 510 | 170k | } | 511 | 170k | this->c_end = this->c_start + new_size; | 512 | 170k | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11resize_fillEmRKj Line | Count | Source | 503 | 88.1k | void resize_fill(size_t n, const T& value) { | 504 | 88.1k | size_t old_size = this->size(); | 505 | 88.1k | const auto new_size = this->byte_size(n); | 506 | 88.1k | if (n > old_size) { | 507 | 87.4k | this->reserve(n); | 508 | 87.4k | this->reset_resident_memory(this->c_start + new_size); | 509 | 87.4k | std::fill(t_end(), t_end() + n - old_size, value); | 510 | 87.4k | } | 511 | 88.1k | this->c_end = this->c_start + new_size; | 512 | 88.1k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11resize_fillEmRKm Line | Count | Source | 503 | 8.47k | void resize_fill(size_t n, const T& value) { | 504 | 8.47k | size_t old_size = this->size(); | 505 | 8.47k | const auto new_size = this->byte_size(n); | 506 | 8.47k | if (n > old_size) { | 507 | 7.56k | this->reserve(n); | 508 | 7.56k | this->reset_resident_memory(this->c_start + new_size); | 509 | 7.56k | std::fill(t_end(), t_end() + n - old_size, value); | 510 | 7.56k | } | 511 | 8.47k | this->c_end = this->c_start + new_size; | 512 | 8.47k | } |
Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11resize_fillEmRKd Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11resize_fillEmRKl _ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11resize_fillEmRKm Line | Count | Source | 503 | 4 | void resize_fill(size_t n, const T& value) { | 504 | 4 | size_t old_size = this->size(); | 505 | 4 | const auto new_size = this->byte_size(n); | 506 | 4 | if (n > old_size) { | 507 | 4 | this->reserve(n); | 508 | 4 | this->reset_resident_memory(this->c_start + new_size); | 509 | 4 | std::fill(t_end(), t_end() + n - old_size, value); | 510 | 4 | } | 511 | 4 | this->c_end = this->c_start + new_size; | 512 | 4 | } |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE11resize_fillEmRKm Line | Count | Source | 503 | 2 | void resize_fill(size_t n, const T& value) { | 504 | 2 | size_t old_size = this->size(); | 505 | 2 | const auto new_size = this->byte_size(n); | 506 | 2 | if (n > old_size) { | 507 | 2 | this->reserve(n); | 508 | 2 | this->reset_resident_memory(this->c_start + new_size); | 509 | 2 | std::fill(t_end(), t_end() + n - old_size, value); | 510 | 2 | } | 511 | 2 | this->c_end = this->c_start + new_size; | 512 | 2 | } |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE11resize_fillEmRKm Line | Count | Source | 503 | 2 | void resize_fill(size_t n, const T& value) { | 504 | 2 | size_t old_size = this->size(); | 505 | 2 | const auto new_size = this->byte_size(n); | 506 | 2 | if (n > old_size) { | 507 | 2 | this->reserve(n); | 508 | 2 | this->reset_resident_memory(this->c_start + new_size); | 509 | 2 | std::fill(t_end(), t_end() + n - old_size, value); | 510 | 2 | } | 511 | 2 | this->c_end = this->c_start + new_size; | 512 | 2 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE11resize_fillEmRKS3_ |
513 | | |
514 | | template <typename U, typename... TAllocatorParams> |
515 | 354M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { |
516 | 354M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage |
517 | 692k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { |
518 | 518k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); |
519 | 518k | } |
520 | 692k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); |
521 | 692k | } |
522 | | |
523 | 354M | new (t_end()) T(std::forward<U>(x)); |
524 | 354M | this->c_end += this->byte_size(1); |
525 | 354M | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKhJEEEvOT_DpOT0_ Line | Count | Source | 515 | 29.8M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 29.8M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 96.8k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 28.3k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 28.3k | } | 520 | 96.8k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 96.8k | } | 522 | | | 523 | 29.8M | new (t_end()) T(std::forward<U>(x)); | 524 | 29.8M | this->c_end += this->byte_size(1); | 525 | 29.8M | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIhJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.04M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.04M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 5.22k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 5.03k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 5.03k | } | 520 | 5.22k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 5.22k | } | 522 | | | 523 | 1.04M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.04M | this->c_end += this->byte_size(1); | 525 | 1.04M | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 14.0M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 14.0M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 79.6k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 74.1k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 74.1k | } | 520 | 79.6k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 79.6k | } | 522 | | | 523 | 14.0M | new (t_end()) T(std::forward<U>(x)); | 524 | 14.0M | this->c_end += this->byte_size(1); | 525 | 14.0M | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backImJEEEvOT_DpOT0_ Line | Count | Source | 515 | 69.1M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 69.1M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 114k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 107k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 107k | } | 520 | 114k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 114k | } | 522 | | | 523 | 69.1M | new (t_end()) T(std::forward<U>(x)); | 524 | 69.1M | this->c_end += this->byte_size(1); | 525 | 69.1M | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKmJEEEvOT_DpOT0_ Line | Count | Source | 515 | 4.82M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 4.82M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 160k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 128k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 128k | } | 520 | 160k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 160k | } | 522 | | | 523 | 4.82M | new (t_end()) T(std::forward<U>(x)); | 524 | 4.82M | this->c_end += this->byte_size(1); | 525 | 4.82M | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRmJEEEvOT_DpOT0_ Line | Count | Source | 515 | 38.5k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 38.5k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 842 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 702 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 702 | } | 520 | 842 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 842 | } | 522 | | | 523 | 38.5k | new (t_end()) T(std::forward<U>(x)); | 524 | 38.5k | this->c_end += this->byte_size(1); | 525 | 38.5k | } |
_ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 131 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 131 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 39 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 39 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 39 | } | 520 | 39 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 39 | } | 522 | | | 523 | 131 | new (t_end()) T(std::forward<U>(x)); | 524 | 131 | this->c_end += this->byte_size(1); | 525 | 131 | } |
_ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 2 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 2 | new (t_end()) T(std::forward<U>(x)); | 524 | 2 | this->c_end += this->byte_size(1); | 525 | 2 | } |
_ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 9.17k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 9.17k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 7.74k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 6.73k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 6.73k | } | 520 | 7.74k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 7.74k | } | 522 | | | 523 | 9.17k | new (t_end()) T(std::forward<U>(x)); | 524 | 9.17k | this->c_end += this->byte_size(1); | 525 | 9.17k | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 17.4M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 17.4M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 24.5k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 12.5k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 12.5k | } | 520 | 24.5k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 24.5k | } | 522 | | | 523 | 17.4M | new (t_end()) T(std::forward<U>(x)); | 524 | 17.4M | this->c_end += this->byte_size(1); | 525 | 17.4M | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS1_JEEEvOT_DpOT0_ _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKfJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.06M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.06M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 321 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 287 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 287 | } | 520 | 321 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 321 | } | 522 | | | 523 | 1.06M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.06M | this->c_end += this->byte_size(1); | 525 | 1.06M | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIfJEEEvOT_DpOT0_ Line | Count | Source | 515 | 36.4k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 36.4k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 12.9k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4.27k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4.27k | } | 520 | 12.9k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 12.9k | } | 522 | | | 523 | 36.4k | new (t_end()) T(std::forward<U>(x)); | 524 | 36.4k | this->c_end += this->byte_size(1); | 525 | 36.4k | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKlJEEEvOT_DpOT0_ Line | Count | Source | 515 | 15.3M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 15.3M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 18.0k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 17.8k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 17.8k | } | 520 | 18.0k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 18.0k | } | 522 | | | 523 | 15.3M | new (t_end()) T(std::forward<U>(x)); | 524 | 15.3M | this->c_end += this->byte_size(1); | 525 | 15.3M | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIlJEEEvOT_DpOT0_ Line | Count | Source | 515 | 13.5M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 13.5M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 6.00k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4.62k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4.62k | } | 520 | 6.00k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 6.00k | } | 522 | | | 523 | 13.5M | new (t_end()) T(std::forward<U>(x)); | 524 | 13.5M | this->c_end += this->byte_size(1); | 525 | 13.5M | } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKaJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.35M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.35M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 234 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 223 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 223 | } | 520 | 234 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 234 | } | 522 | | | 523 | 1.35M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.35M | this->c_end += this->byte_size(1); | 525 | 1.35M | } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIaJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2.12M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2.12M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 6.69k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 5.08k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 5.08k | } | 520 | 6.69k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 6.69k | } | 522 | | | 523 | 2.12M | new (t_end()) T(std::forward<U>(x)); | 524 | 2.12M | this->c_end += this->byte_size(1); | 525 | 2.12M | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 31.5M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 31.5M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 3.07k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 2.91k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 2.91k | } | 520 | 3.07k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 3.07k | } | 522 | | | 523 | 31.5M | new (t_end()) T(std::forward<U>(x)); | 524 | 31.5M | this->c_end += this->byte_size(1); | 525 | 31.5M | } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKdJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.08M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.08M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 9.24k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 9.14k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 9.14k | } | 520 | 9.24k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 9.24k | } | 522 | | | 523 | 1.08M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.08M | this->c_end += this->byte_size(1); | 525 | 1.08M | } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIdJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.10M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.10M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 18.9k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 8.79k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 8.79k | } | 520 | 18.9k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 18.9k | } | 522 | | | 523 | 1.10M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.10M | this->c_end += this->byte_size(1); | 525 | 1.10M | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKmJEEEvOT_DpOT0_ Line | Count | Source | 515 | 63.8k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 63.8k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 143 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 143 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 143 | } | 520 | 143 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 143 | } | 522 | | | 523 | 63.8k | new (t_end()) T(std::forward<U>(x)); | 524 | 63.8k | this->c_end += this->byte_size(1); | 525 | 63.8k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backImJEEEvOT_DpOT0_ Line | Count | Source | 515 | 23.4M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 23.4M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 29.8k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 28.9k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 28.9k | } | 520 | 29.8k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 29.8k | } | 522 | | | 523 | 23.4M | new (t_end()) T(std::forward<U>(x)); | 524 | 23.4M | this->c_end += this->byte_size(1); | 525 | 23.4M | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS3_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.02M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.02M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 245 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 140 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 140 | } | 520 | 245 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 245 | } | 522 | | | 523 | 1.02M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.02M | this->c_end += this->byte_size(1); | 525 | 1.02M | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS3_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 17.9k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 17.9k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 4.79k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4.21k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4.21k | } | 520 | 4.79k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 4.79k | } | 522 | | | 523 | 17.9k | new (t_end()) T(std::forward<U>(x)); | 524 | 17.9k | this->c_end += this->byte_size(1); | 525 | 17.9k | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS3_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.14M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.14M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 842 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 827 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 827 | } | 520 | 842 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 842 | } | 522 | | | 523 | 1.14M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.14M | this->c_end += this->byte_size(1); | 525 | 1.14M | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS3_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 80.4k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 80.4k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 20.0k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4.20k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4.20k | } | 520 | 20.0k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 20.0k | } | 522 | | | 523 | 80.4k | new (t_end()) T(std::forward<U>(x)); | 524 | 80.4k | this->c_end += this->byte_size(1); | 525 | 80.4k | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKjJEEEvOT_DpOT0_ Line | Count | Source | 515 | 85.9k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 85.9k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 233 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 231 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 231 | } | 520 | 233 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 233 | } | 522 | | | 523 | 85.9k | new (t_end()) T(std::forward<U>(x)); | 524 | 85.9k | this->c_end += this->byte_size(1); | 525 | 85.9k | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIjJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2.01M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2.01M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 4.26k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4.22k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4.22k | } | 520 | 4.26k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 4.26k | } | 522 | | | 523 | 2.01M | new (t_end()) T(std::forward<U>(x)); | 524 | 2.01M | this->c_end += this->byte_size(1); | 525 | 2.01M | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKoJEEEvOT_DpOT0_ Line | Count | Source | 515 | 58.3k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 58.3k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 373 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 371 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 371 | } | 520 | 373 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 373 | } | 522 | | | 523 | 58.3k | new (t_end()) T(std::forward<U>(x)); | 524 | 58.3k | this->c_end += this->byte_size(1); | 525 | 58.3k | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIoJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2.01M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2.01M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 4.25k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4.20k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4.20k | } | 520 | 4.25k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 4.25k | } | 522 | | | 523 | 2.01M | new (t_end()) T(std::forward<U>(x)); | 524 | 2.01M | this->c_end += this->byte_size(1); | 525 | 2.01M | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKsJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.07M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.07M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 199 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 188 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 188 | } | 520 | 199 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 199 | } | 522 | | | 523 | 1.07M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.07M | this->c_end += this->byte_size(1); | 525 | 1.07M | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIsJEEEvOT_DpOT0_ Line | Count | Source | 515 | 27.0k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 27.0k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 6.04k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4.44k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4.44k | } | 520 | 6.04k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 6.04k | } | 522 | | | 523 | 27.0k | new (t_end()) T(std::forward<U>(x)); | 524 | 27.0k | this->c_end += this->byte_size(1); | 525 | 27.0k | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKnJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.07M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.07M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 8.97k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 8.94k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 8.94k | } | 520 | 8.97k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 8.97k | } | 522 | | | 523 | 1.07M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.07M | this->c_end += this->byte_size(1); | 525 | 1.07M | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backInJEEEvOT_DpOT0_ Line | Count | Source | 515 | 45.4k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 45.4k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 5.53k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4.36k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4.36k | } | 520 | 5.53k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 5.53k | } | 522 | | | 523 | 45.4k | new (t_end()) T(std::forward<U>(x)); | 524 | 45.4k | this->c_end += this->byte_size(1); | 525 | 45.4k | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 2.05M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2.05M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 292 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 266 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 266 | } | 520 | 292 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 292 | } | 522 | | | 523 | 2.05M | new (t_end()) T(std::forward<U>(x)); | 524 | 2.05M | this->c_end += this->byte_size(1); | 525 | 2.05M | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.02M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.02M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 8.32k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 8.29k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 8.29k | } | 520 | 8.32k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 8.32k | } | 522 | | | 523 | 1.02M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.02M | this->c_end += this->byte_size(1); | 525 | 1.02M | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 9.32k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 9.32k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 35 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 35 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 35 | } | 520 | 35 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 35 | } | 522 | | | 523 | 9.32k | new (t_end()) T(std::forward<U>(x)); | 524 | 9.32k | this->c_end += this->byte_size(1); | 525 | 9.32k | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRnJEEEvOT_DpOT0_ Line | Count | Source | 515 | 4.09k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 4.09k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 16 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 16 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 16 | } | 520 | 16 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 16 | } | 522 | | | 523 | 4.09k | new (t_end()) T(std::forward<U>(x)); | 524 | 4.09k | this->c_end += this->byte_size(1); | 525 | 4.09k | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 3 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 3 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 3 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 3 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 3 | } | 520 | 3 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 3 | } | 522 | | | 523 | 3 | new (t_end()) T(std::forward<U>(x)); | 524 | 3 | this->c_end += this->byte_size(1); | 525 | 3 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.02k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.02k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 3 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 3 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 3 | } | 520 | 3 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 3 | } | 522 | | | 523 | 1.02k | new (t_end()) T(std::forward<U>(x)); | 524 | 1.02k | this->c_end += this->byte_size(1); | 525 | 1.02k | } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS2_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.00M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.00M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 57 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 41 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 41 | } | 520 | 57 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 57 | } | 522 | | | 523 | 1.00M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.00M | this->c_end += this->byte_size(1); | 525 | 1.00M | } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS2_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.00M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.00M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 582 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 572 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 572 | } | 520 | 582 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 582 | } | 522 | | | 523 | 1.00M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.00M | this->c_end += this->byte_size(1); | 525 | 1.00M | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 2.11k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2.11k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 15 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 15 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 15 | } | 520 | 15 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 15 | } | 522 | | | 523 | 2.11k | new (t_end()) T(std::forward<U>(x)); | 524 | 2.11k | this->c_end += this->byte_size(1); | 525 | 2.11k | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRjJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2.08k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2.08k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 14 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 14 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 14 | } | 520 | 14 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 14 | } | 522 | | | 523 | 2.08k | new (t_end()) T(std::forward<U>(x)); | 524 | 2.08k | this->c_end += this->byte_size(1); | 525 | 2.08k | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 13.8k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 13.8k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 93 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 81 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 81 | } | 520 | 93 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 93 | } | 522 | | | 523 | 13.8k | new (t_end()) T(std::forward<U>(x)); | 524 | 13.8k | this->c_end += this->byte_size(1); | 525 | 13.8k | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 12.4k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 12.4k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 3.95k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 3.95k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 3.95k | } | 520 | 3.95k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 3.95k | } | 522 | | | 523 | 12.4k | new (t_end()) T(std::forward<U>(x)); | 524 | 12.4k | this->c_end += this->byte_size(1); | 525 | 12.4k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRmJEEEvOT_DpOT0_ Line | Count | Source | 515 | 48.2M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 48.2M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 5.47k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4.71k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4.71k | } | 520 | 5.47k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 5.47k | } | 522 | | | 523 | 48.2M | new (t_end()) T(std::forward<U>(x)); | 524 | 48.2M | this->c_end += this->byte_size(1); | 525 | 48.2M | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS2_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 14.5M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 14.5M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 469 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 367 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 367 | } | 520 | 469 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 469 | } | 522 | | | 523 | 14.5M | new (t_end()) T(std::forward<U>(x)); | 524 | 14.5M | this->c_end += this->byte_size(1); | 525 | 14.5M | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS2_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 13.5M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 13.5M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 16.2k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 16.1k | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 16.1k | } | 520 | 16.2k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 16.2k | } | 522 | | | 523 | 13.5M | new (t_end()) T(std::forward<U>(x)); | 524 | 13.5M | this->c_end += this->byte_size(1); | 525 | 13.5M | } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.00M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.00M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 76 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 57 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 57 | } | 520 | 76 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 76 | } | 522 | | | 523 | 1.00M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.00M | this->c_end += this->byte_size(1); | 525 | 1.00M | } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 7.96k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 7.96k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 409 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 409 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 409 | } | 520 | 409 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 409 | } | 522 | | | 523 | 7.96k | new (t_end()) T(std::forward<U>(x)); | 524 | 7.96k | this->c_end += this->byte_size(1); | 525 | 7.96k | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS5_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.00M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.00M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 80 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 56 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 56 | } | 520 | 80 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 80 | } | 522 | | | 523 | 1.00M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.00M | this->c_end += this->byte_size(1); | 525 | 1.00M | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS5_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 6.37k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 6.37k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 381 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 381 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 381 | } | 520 | 381 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 381 | } | 522 | | | 523 | 6.37k | new (t_end()) T(std::forward<U>(x)); | 524 | 6.37k | this->c_end += this->byte_size(1); | 525 | 6.37k | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIcJEEEvOT_DpOT0_ Line | Count | Source | 515 | 27 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 27 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 0 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 0 | } | 520 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 0 | } | 522 | | | 523 | 27 | new (t_end()) T(std::forward<U>(x)); | 524 | 27 | this->c_end += this->byte_size(1); | 525 | 27 | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2.07k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2.07k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 8 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 8 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 8 | } | 520 | 8 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 8 | } | 522 | | | 523 | 2.07k | new (t_end()) T(std::forward<U>(x)); | 524 | 2.07k | this->c_end += this->byte_size(1); | 525 | 2.07k | } |
Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKcJEEEvOT_DpOT0_ _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIbJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1.17M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1.17M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 3.57k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4 | } | 520 | 3.57k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 3.57k | } | 522 | | | 523 | 1.17M | new (t_end()) T(std::forward<U>(x)); | 524 | 1.17M | this->c_end += this->byte_size(1); | 525 | 1.17M | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRbJEEEvOT_DpOT0_ Line | Count | Source | 515 | 13 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 13 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 3 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 3 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 3 | } | 520 | 3 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 3 | } | 522 | | | 523 | 13 | new (t_end()) T(std::forward<U>(x)); | 524 | 13 | this->c_end += this->byte_size(1); | 525 | 13 | } |
_ZN5doris8PODArrayItLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backItJEEEvOT_DpOT0_ Line | Count | Source | 515 | 5.89M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 5.89M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 341 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 317 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 317 | } | 520 | 341 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 341 | } | 522 | | | 523 | 5.89M | new (t_end()) T(std::forward<U>(x)); | 524 | 5.89M | this->c_end += this->byte_size(1); | 525 | 5.89M | } |
_ZN5doris8PODArrayINS_7DecimalInEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIS2_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 100 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 100 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 100 | new (t_end()) T(std::forward<U>(x)); | 524 | 100 | this->c_end += this->byte_size(1); | 525 | 100 | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRS5_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 4 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 4 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 4 | new (t_end()) T(std::forward<U>(x)); | 524 | 4 | this->c_end += this->byte_size(1); | 525 | 4 | } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 4 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 4 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 4 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4 | } | 520 | 4 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 4 | } | 522 | | | 523 | 4 | new (t_end()) T(std::forward<U>(x)); | 524 | 4 | this->c_end += this->byte_size(1); | 525 | 4 | } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 24 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 24 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 0 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 0 | } | 520 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 0 | } | 522 | | | 523 | 24 | new (t_end()) T(std::forward<U>(x)); | 524 | 24 | this->c_end += this->byte_size(1); | 525 | 24 | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIlJEEEvOT_DpOT0_ Line | Count | Source | 515 | 4 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 4 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 4 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 4 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 4 | } | 520 | 4 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 4 | } | 522 | | | 523 | 4 | new (t_end()) T(std::forward<U>(x)); | 524 | 4 | this->c_end += this->byte_size(1); | 525 | 4 | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRlJEEEvOT_DpOT0_ Line | Count | Source | 515 | 24 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 24 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 0 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 0 | } | 520 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 0 | } | 522 | | | 523 | 24 | new (t_end()) T(std::forward<U>(x)); | 524 | 24 | this->c_end += this->byte_size(1); | 525 | 24 | } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRnJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2.08k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2.08k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 13 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 13 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 13 | } | 520 | 13 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 13 | } | 522 | | | 523 | 2.08k | new (t_end()) T(std::forward<U>(x)); | 524 | 2.08k | this->c_end += this->byte_size(1); | 525 | 2.08k | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2.07k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2.07k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 12 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 12 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 12 | } | 520 | 12 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 12 | } | 522 | | | 523 | 2.07k | new (t_end()) T(std::forward<U>(x)); | 524 | 2.07k | this->c_end += this->byte_size(1); | 525 | 2.07k | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRjJEEEvOT_DpOT0_ Line | Count | Source | 515 | 25 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 25 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 9 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 9 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 9 | } | 522 | | | 523 | 25 | new (t_end()) T(std::forward<U>(x)); | 524 | 25 | this->c_end += this->byte_size(1); | 525 | 25 | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRoJEEEvOT_DpOT0_ Line | Count | Source | 515 | 7 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 7 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 7 | new (t_end()) T(std::forward<U>(x)); | 524 | 7 | this->c_end += this->byte_size(1); | 525 | 7 | } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 10 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 10 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 10 | new (t_end()) T(std::forward<U>(x)); | 524 | 10 | this->c_end += this->byte_size(1); | 525 | 10 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 65.5k | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 65.5k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 18 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 18 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 18 | } | 520 | 18 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 18 | } | 522 | | | 523 | 65.5k | new (t_end()) T(std::forward<U>(x)); | 524 | 65.5k | this->c_end += this->byte_size(1); | 525 | 65.5k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 4 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 4 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 4 | new (t_end()) T(std::forward<U>(x)); | 524 | 4 | this->c_end += this->byte_size(1); | 525 | 4 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRmJEEEvOT_DpOT0_ Line | Count | Source | 515 | 17 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 17 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 7 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 7 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 7 | } | 520 | 7 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 7 | } | 522 | | | 523 | 17 | new (t_end()) T(std::forward<U>(x)); | 524 | 17 | this->c_end += this->byte_size(1); | 525 | 17 | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIlJEEEvOT_DpOT0_ Line | Count | Source | 515 | 10 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 10 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 10 | new (t_end()) T(std::forward<U>(x)); | 524 | 10 | this->c_end += this->byte_size(1); | 525 | 10 | } |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 68 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 68 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 25 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 25 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 25 | } | 520 | 25 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 25 | } | 522 | | | 523 | 68 | new (t_end()) T(std::forward<U>(x)); | 524 | 68 | this->c_end += this->byte_size(1); | 525 | 68 | } |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 2 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 2 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 2 | } | 520 | 2 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 2 | } | 522 | | | 523 | 2 | new (t_end()) T(std::forward<U>(x)); | 524 | 2 | this->c_end += this->byte_size(1); | 525 | 2 | } |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 1 | new (t_end()) T(std::forward<U>(x)); | 524 | 1 | this->c_end += this->byte_size(1); | 525 | 1 | } |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 1 | new (t_end()) T(std::forward<U>(x)); | 524 | 1 | this->c_end += this->byte_size(1); | 525 | 1 | } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 8 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 8 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 3 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 3 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 3 | } | 520 | 3 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 3 | } | 522 | | | 523 | 8 | new (t_end()) T(std::forward<U>(x)); | 524 | 8 | this->c_end += this->byte_size(1); | 525 | 8 | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIiJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 2 | new (t_end()) T(std::forward<U>(x)); | 524 | 2 | this->c_end += this->byte_size(1); | 525 | 2 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIsJEEEvOT_DpOT0_ Line | Count | Source | 515 | 2 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 2 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 0 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 0 | } | 520 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 0 | } | 522 | | | 523 | 2 | new (t_end()) T(std::forward<U>(x)); | 524 | 2 | this->c_end += this->byte_size(1); | 525 | 2 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIlJEEEvOT_DpOT0_ Line | Count | Source | 515 | 3 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 3 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 0 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 0 | } | 520 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 0 | } | 522 | | | 523 | 3 | new (t_end()) T(std::forward<U>(x)); | 524 | 3 | this->c_end += this->byte_size(1); | 525 | 3 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRS3_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 4 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 4 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 3 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 3 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 3 | } | 520 | 3 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 3 | } | 522 | | | 523 | 4 | new (t_end()) T(std::forward<U>(x)); | 524 | 4 | this->c_end += this->byte_size(1); | 525 | 4 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRhJEEEvOT_DpOT0_ Line | Count | Source | 515 | 28.3M | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 28.3M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 714 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 494 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 494 | } | 520 | 714 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 714 | } | 522 | | | 523 | 28.3M | new (t_end()) T(std::forward<U>(x)); | 524 | 28.3M | this->c_end += this->byte_size(1); | 525 | 28.3M | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRS2_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRS2_JEEEvOT_DpOT0_ _ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRS1_JEEEvOT_DpOT0_ Line | Count | Source | 515 | 1 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 1 | new (t_end()) T(std::forward<U>(x)); | 524 | 1 | this->c_end += this->byte_size(1); | 525 | 1 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRaJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRsJEEEvOT_DpOT0_ _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRlJEEEvOT_DpOT0_ Line | Count | Source | 515 | 81 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 81 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 33 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 17 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 17 | } | 520 | 33 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 33 | } | 522 | | | 523 | 81 | new (t_end()) T(std::forward<U>(x)); | 524 | 81 | this->c_end += this->byte_size(1); | 525 | 81 | } |
Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRnJEEEvOT_DpOT0_ _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRfJEEEvOT_DpOT0_ Line | Count | Source | 515 | 1 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 1 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 1 | } | 520 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 1 | } | 522 | | | 523 | 1 | new (t_end()) T(std::forward<U>(x)); | 524 | 1 | this->c_end += this->byte_size(1); | 525 | 1 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRdJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRS3_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRS1_JEEEvOT_DpOT0_ _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backImJEEEvOT_DpOT0_ Line | Count | Source | 515 | 9 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 9 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 9 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 9 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 9 | } | 520 | 9 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 9 | } | 522 | | | 523 | 9 | new (t_end()) T(std::forward<U>(x)); | 524 | 9 | this->c_end += this->byte_size(1); | 525 | 9 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKmJEEEvOT_DpOT0_ Line | Count | Source | 515 | 6 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 6 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 6 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 6 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 6 | } | 520 | 6 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 6 | } | 522 | | | 523 | 6 | new (t_end()) T(std::forward<U>(x)); | 524 | 6 | this->c_end += this->byte_size(1); | 525 | 6 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9push_backIRaJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9push_backIRsJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9push_backIRiJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9push_backIRlJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9push_backIRnJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9push_backIRfJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE9push_backIRdJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRS1_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE9push_backIRKdJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKiJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKlJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKnJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKnJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRKS4_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIiJEEEvOT_DpOT0_ _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE9push_backIRcJEEEvOT_DpOT0_ Line | Count | Source | 515 | 84 | void push_back(U&& x, TAllocatorParams&&... allocator_params) { | 516 | 84 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 517 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 518 | 0 | this->reserve_for_next_size(std::forward<TAllocatorParams>(allocator_params)...); | 519 | 0 | } | 520 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 521 | 0 | } | 522 | | | 523 | 84 | new (t_end()) T(std::forward<U>(x)); | 524 | 84 | this->c_end += this->byte_size(1); | 525 | 84 | } |
|
526 | | |
527 | | /** |
528 | | * you must make sure to reserve podarray before calling this method |
529 | | * remove branch if can improve performance |
530 | | */ |
531 | | template <typename U, typename... TAllocatorParams> |
532 | 141k | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { |
533 | 141k | this->reset_resident_memory(this->c_end + this->byte_size(1)); |
534 | 141k | new (t_end()) T(std::forward<U>(x)); |
535 | 141k | this->c_end += this->byte_size(1); |
536 | 141k | } Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ _ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS1_JEEEvOT_DpOT0_ Line | Count | Source | 532 | 10.1k | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 10.1k | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 10.1k | new (t_end()) T(std::forward<U>(x)); | 535 | 10.1k | this->c_end += this->byte_size(1); | 536 | 10.1k | } |
_ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKS1_JEEEvOT_DpOT0_ Line | Count | Source | 532 | 264 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 264 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 264 | new (t_end()) T(std::forward<U>(x)); | 535 | 264 | this->c_end += this->byte_size(1); | 536 | 264 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIjJEEEvOT_DpOT0_ Line | Count | Source | 532 | 46 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 46 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 46 | new (t_end()) T(std::forward<U>(x)); | 535 | 46 | this->c_end += this->byte_size(1); | 536 | 46 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Line | Count | Source | 532 | 4.09k | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 4.09k | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 4.09k | new (t_end()) T(std::forward<U>(x)); | 535 | 4.09k | this->c_end += this->byte_size(1); | 536 | 4.09k | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRNS_16VecDateTimeValueEJEEEvOT_DpOT0_ _ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS1_JEEEvOT_DpOT0_ Line | Count | Source | 532 | 4 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 4 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 4 | new (t_end()) T(std::forward<U>(x)); | 535 | 4 | this->c_end += this->byte_size(1); | 536 | 4 | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKmJEEEvOT_DpOT0_ Line | Count | Source | 532 | 10 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 10 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 10 | new (t_end()) T(std::forward<U>(x)); | 535 | 10 | this->c_end += this->byte_size(1); | 536 | 10 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKmJEEEvOT_DpOT0_ Line | Count | Source | 532 | 10 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 10 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 10 | new (t_end()) T(std::forward<U>(x)); | 535 | 10 | this->c_end += this->byte_size(1); | 536 | 10 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIiJEEEvOT_DpOT0_ Line | Count | Source | 532 | 2 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 2 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 2 | new (t_end()) T(std::forward<U>(x)); | 535 | 2 | this->c_end += this->byte_size(1); | 536 | 2 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRlJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRhJEEEvOT_DpOT0_ _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRiJEEEvOT_DpOT0_ Line | Count | Source | 532 | 50 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 50 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 50 | new (t_end()) T(std::forward<U>(x)); | 535 | 50 | this->c_end += this->byte_size(1); | 536 | 50 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRdJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS1_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRfJEEEvOT_DpOT0_ _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKhJEEEvOT_DpOT0_ Line | Count | Source | 532 | 20.4k | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 20.4k | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 20.4k | new (t_end()) T(std::forward<U>(x)); | 535 | 20.4k | this->c_end += this->byte_size(1); | 536 | 20.4k | } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKaJEEEvOT_DpOT0_ Line | Count | Source | 532 | 97 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 97 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 97 | new (t_end()) T(std::forward<U>(x)); | 535 | 97 | this->c_end += this->byte_size(1); | 536 | 97 | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKsJEEEvOT_DpOT0_ Line | Count | Source | 532 | 101 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 101 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 101 | new (t_end()) T(std::forward<U>(x)); | 535 | 101 | this->c_end += this->byte_size(1); | 536 | 101 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKiJEEEvOT_DpOT0_ Line | Count | Source | 532 | 3.82k | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 3.82k | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 3.82k | new (t_end()) T(std::forward<U>(x)); | 535 | 3.82k | this->c_end += this->byte_size(1); | 536 | 3.82k | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKlJEEEvOT_DpOT0_ Line | Count | Source | 532 | 17.2k | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 17.2k | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 17.2k | new (t_end()) T(std::forward<U>(x)); | 535 | 17.2k | this->c_end += this->byte_size(1); | 536 | 17.2k | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKnJEEEvOT_DpOT0_ Line | Count | Source | 532 | 365 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 365 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 365 | new (t_end()) T(std::forward<U>(x)); | 535 | 365 | this->c_end += this->byte_size(1); | 536 | 365 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKfJEEEvOT_DpOT0_ _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKdJEEEvOT_DpOT0_ Line | Count | Source | 532 | 1.46k | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 1.46k | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 1.46k | new (t_end()) T(std::forward<U>(x)); | 535 | 1.46k | this->c_end += this->byte_size(1); | 536 | 1.46k | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKjJEEEvOT_DpOT0_ Line | Count | Source | 532 | 58 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 58 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 58 | new (t_end()) T(std::forward<U>(x)); | 535 | 58 | this->c_end += this->byte_size(1); | 536 | 58 | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKoJEEEvOT_DpOT0_ Line | Count | Source | 532 | 132 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 132 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 132 | new (t_end()) T(std::forward<U>(x)); | 535 | 132 | this->c_end += this->byte_size(1); | 536 | 132 | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKS1_JEEEvOT_DpOT0_ Line | Count | Source | 532 | 132 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 132 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 132 | new (t_end()) T(std::forward<U>(x)); | 535 | 132 | this->c_end += this->byte_size(1); | 536 | 132 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKS3_JEEEvOT_DpOT0_ Line | Count | Source | 532 | 37 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 37 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 37 | new (t_end()) T(std::forward<U>(x)); | 535 | 37 | this->c_end += this->byte_size(1); | 536 | 37 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKS3_JEEEvOT_DpOT0_ Line | Count | Source | 532 | 111 | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 111 | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 111 | new (t_end()) T(std::forward<U>(x)); | 535 | 111 | this->c_end += this->byte_size(1); | 536 | 111 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRKS1_JEEEvOT_DpOT0_ _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRjJEEEvOT_DpOT0_ Line | Count | Source | 532 | 81.4k | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 81.4k | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 81.4k | new (t_end()) T(std::forward<U>(x)); | 535 | 81.4k | this->c_end += this->byte_size(1); | 536 | 81.4k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRmJEEEvOT_DpOT0_ Line | Count | Source | 532 | 1.73k | void push_back_without_reserve(U&& x, TAllocatorParams&&... allocator_params) { | 533 | 1.73k | this->reset_resident_memory(this->c_end + this->byte_size(1)); | 534 | 1.73k | new (t_end()) T(std::forward<U>(x)); | 535 | 1.73k | this->c_end += this->byte_size(1); | 536 | 1.73k | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRaJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRsJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRnJEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS1_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS2_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS2_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS1_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS5_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS3_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRS3_JEEEvOT_DpOT0_ Unexecuted instantiation: _ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE25push_back_without_reserveIRoJEEEvOT_DpOT0_ |
537 | | |
538 | | /** This method doesn't allow to pass parameters for Allocator, |
539 | | * and it couldn't be used if Allocator requires custom parameters. |
540 | | */ |
541 | | template <typename... Args> |
542 | 1.90M | void emplace_back(Args&&... args) { |
543 | 1.90M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage |
544 | 30.8k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { |
545 | 12.7k | this->reserve_for_next_size(); |
546 | 12.7k | } |
547 | 30.8k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); |
548 | 30.8k | } |
549 | | |
550 | 1.90M | new (t_end()) T(std::forward<Args>(args)...); |
551 | 1.90M | this->c_end += this->byte_size(1); |
552 | 1.90M | } _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRKmEEEvDpOT_ Line | Count | Source | 542 | 1 | void emplace_back(Args&&... args) { | 543 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 1 | this->reserve_for_next_size(); | 546 | 1 | } | 547 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 1 | } | 549 | | | 550 | 1 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 1 | this->c_end += this->byte_size(1); | 552 | 1 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJmEEEvDpOT_ Line | Count | Source | 542 | 128 | void emplace_back(Args&&... args) { | 543 | 128 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 1 | this->reserve_for_next_size(); | 546 | 1 | } | 547 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 1 | } | 549 | | | 550 | 128 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 128 | this->c_end += this->byte_size(1); | 552 | 128 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRmEEEvDpOT_ Line | Count | Source | 542 | 31 | void emplace_back(Args&&... args) { | 543 | 31 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 1 | this->reserve_for_next_size(); | 546 | 1 | } | 547 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 1 | } | 549 | | | 550 | 31 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 31 | this->c_end += this->byte_size(1); | 552 | 31 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJiEEEvDpOT_ Line | Count | Source | 542 | 88 | void emplace_back(Args&&... args) { | 543 | 88 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 0 | this->reserve_for_next_size(); | 546 | 0 | } | 547 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 0 | } | 549 | | | 550 | 88 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 88 | this->c_end += this->byte_size(1); | 552 | 88 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12emplace_backIJRmEEEvDpOT_ Line | Count | Source | 542 | 360 | void emplace_back(Args&&... args) { | 543 | 360 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 1 | this->reserve_for_next_size(); | 546 | 1 | } | 547 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 1 | } | 549 | | | 550 | 360 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 360 | this->c_end += this->byte_size(1); | 552 | 360 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE12emplace_backIJiEEEvDpOT_ Line | Count | Source | 542 | 2 | void emplace_back(Args&&... args) { | 543 | 2 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 1 | this->reserve_for_next_size(); | 546 | 1 | } | 547 | 1 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 1 | } | 549 | | | 550 | 2 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 2 | this->c_end += this->byte_size(1); | 552 | 2 | } |
_ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJEEEvDpOT_ Line | Count | Source | 542 | 1.00M | void emplace_back(Args&&... args) { | 543 | 1.00M | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 13 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 9 | this->reserve_for_next_size(); | 546 | 9 | } | 547 | 13 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 13 | } | 549 | | | 550 | 1.00M | new (t_end()) T(std::forward<Args>(args)...); | 551 | 1.00M | this->c_end += this->byte_size(1); | 552 | 1.00M | } |
_ZN5doris8PODArrayINS_12ItemWithSizeILm24EEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJEEEvDpOT_ Line | Count | Source | 542 | 240k | void emplace_back(Args&&... args) { | 543 | 240k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 38 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 22 | this->reserve_for_next_size(); | 546 | 22 | } | 547 | 38 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 38 | } | 549 | | | 550 | 240k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 240k | this->c_end += this->byte_size(1); | 552 | 240k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJmEEEvDpOT_ Line | Count | Source | 542 | 170k | void emplace_back(Args&&... args) { | 543 | 170k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 2.06k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 2.06k | this->reserve_for_next_size(); | 546 | 2.06k | } | 547 | 2.06k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 2.06k | } | 549 | | | 550 | 170k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 170k | this->c_end += this->byte_size(1); | 552 | 170k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJiEEEvDpOT_ Line | Count | Source | 542 | 1 | void emplace_back(Args&&... args) { | 543 | 1 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 0 | this->reserve_for_next_size(); | 546 | 0 | } | 547 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 0 | } | 549 | | | 550 | 1 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 1 | this->c_end += this->byte_size(1); | 552 | 1 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJcEEEvDpOT_ Line | Count | Source | 542 | 2 | void emplace_back(Args&&... args) { | 543 | 2 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 0 | this->reserve_for_next_size(); | 546 | 0 | } | 547 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 0 | } | 549 | | | 550 | 2 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 2 | this->c_end += this->byte_size(1); | 552 | 2 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRbEEEvDpOT_ Line | Count | Source | 542 | 34.3k | void emplace_back(Args&&... args) { | 543 | 34.3k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 553 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 553 | this->reserve_for_next_size(); | 546 | 553 | } | 547 | 553 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 553 | } | 549 | | | 550 | 34.3k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 34.3k | this->c_end += this->byte_size(1); | 552 | 34.3k | } |
_ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRS2_EEEvDpOT_ Line | Count | Source | 542 | 67.7k | void emplace_back(Args&&... args) { | 543 | 67.7k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 6.15k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 2.14k | this->reserve_for_next_size(); | 546 | 2.14k | } | 547 | 6.15k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 6.15k | } | 549 | | | 550 | 67.7k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 67.7k | this->c_end += this->byte_size(1); | 552 | 67.7k | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRS2_EEEvDpOT_ Line | Count | Source | 542 | 97.6k | void emplace_back(Args&&... args) { | 543 | 97.6k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 6.93k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 2.41k | this->reserve_for_next_size(); | 546 | 2.41k | } | 547 | 6.93k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 6.93k | } | 549 | | | 550 | 97.6k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 97.6k | this->c_end += this->byte_size(1); | 552 | 97.6k | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRS1_EEEvDpOT_ Line | Count | Source | 542 | 27.3k | void emplace_back(Args&&... args) { | 543 | 27.3k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 798 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 113 | this->reserve_for_next_size(); | 546 | 113 | } | 547 | 798 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 798 | } | 549 | | | 550 | 27.3k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 27.3k | this->c_end += this->byte_size(1); | 552 | 27.3k | } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRS1_EEEvDpOT_ Line | Count | Source | 542 | 103k | void emplace_back(Args&&... args) { | 543 | 103k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 6.83k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 2.41k | this->reserve_for_next_size(); | 546 | 2.41k | } | 547 | 6.83k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 6.83k | } | 549 | | | 550 | 103k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 103k | this->c_end += this->byte_size(1); | 552 | 103k | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRS5_EEEvDpOT_ Line | Count | Source | 542 | 143k | void emplace_back(Args&&... args) { | 543 | 143k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 7.08k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 2.68k | this->reserve_for_next_size(); | 546 | 2.68k | } | 547 | 7.08k | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 7.08k | } | 549 | | | 550 | 143k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 143k | this->c_end += this->byte_size(1); | 552 | 143k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJlEEEvDpOT_ Line | Count | Source | 542 | 2.18k | void emplace_back(Args&&... args) { | 543 | 2.18k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 72 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 72 | this->reserve_for_next_size(); | 546 | 72 | } | 547 | 72 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 72 | } | 549 | | | 550 | 2.18k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 2.18k | this->c_end += this->byte_size(1); | 552 | 2.18k | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRS1_EEEvDpOT_ Line | Count | Source | 542 | 12.3k | void emplace_back(Args&&... args) { | 543 | 12.3k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 85 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 85 | this->reserve_for_next_size(); | 546 | 85 | } | 547 | 85 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 85 | } | 549 | | | 550 | 12.3k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 12.3k | this->c_end += this->byte_size(1); | 552 | 12.3k | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRS3_EEEvDpOT_ Line | Count | Source | 542 | 1.97k | void emplace_back(Args&&... args) { | 543 | 1.97k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 18 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 18 | this->reserve_for_next_size(); | 546 | 18 | } | 547 | 18 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 18 | } | 549 | | | 550 | 1.97k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 1.97k | this->c_end += this->byte_size(1); | 552 | 1.97k | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRS3_EEEvDpOT_ Line | Count | Source | 542 | 405 | void emplace_back(Args&&... args) { | 543 | 405 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 12 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 12 | this->reserve_for_next_size(); | 546 | 12 | } | 547 | 12 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 12 | } | 549 | | | 550 | 405 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 405 | this->c_end += this->byte_size(1); | 552 | 405 | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRNS_7DecimalInEEEEEvDpOT_ Line | Count | Source | 542 | 1.36k | void emplace_back(Args&&... args) { | 543 | 1.36k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 8 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 8 | this->reserve_for_next_size(); | 546 | 8 | } | 547 | 8 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 8 | } | 549 | | | 550 | 1.36k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 1.36k | this->c_end += this->byte_size(1); | 552 | 1.36k | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRKS5_EEEvDpOT_ Line | Count | Source | 542 | 1.94k | void emplace_back(Args&&... args) { | 543 | 1.94k | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 22 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 22 | this->reserve_for_next_size(); | 546 | 22 | } | 547 | 22 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 22 | } | 549 | | | 550 | 1.94k | new (t_end()) T(std::forward<Args>(args)...); | 551 | 1.94k | this->c_end += this->byte_size(1); | 552 | 1.94k | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJiEEEvDpOT_ Line | Count | Source | 542 | 21 | void emplace_back(Args&&... args) { | 543 | 21 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 6 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 6 | this->reserve_for_next_size(); | 546 | 6 | } | 547 | 6 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 6 | } | 549 | | | 550 | 21 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 21 | this->c_end += this->byte_size(1); | 552 | 21 | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRoEEEvDpOT_ Line | Count | Source | 542 | 786 | void emplace_back(Args&&... args) { | 543 | 786 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 12 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 12 | this->reserve_for_next_size(); | 546 | 12 | } | 547 | 12 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 12 | } | 549 | | | 550 | 786 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 786 | this->c_end += this->byte_size(1); | 552 | 786 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJbEEEvDpOT_ Line | Count | Source | 542 | 40 | void emplace_back(Args&&... args) { | 543 | 40 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 9 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 9 | this->reserve_for_next_size(); | 546 | 9 | } | 547 | 9 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 9 | } | 549 | | | 550 | 40 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 40 | this->c_end += this->byte_size(1); | 552 | 40 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJaEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJsEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJiEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJlEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJnEEEvDpOT_ Line | Count | Source | 542 | 37 | void emplace_back(Args&&... args) { | 543 | 37 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 6 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 6 | this->reserve_for_next_size(); | 546 | 6 | } | 547 | 6 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 6 | } | 549 | | | 550 | 37 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 37 | this->c_end += this->byte_size(1); | 552 | 37 | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ Line | Count | Source | 542 | 615 | void emplace_back(Args&&... args) { | 543 | 615 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 13 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 13 | this->reserve_for_next_size(); | 546 | 13 | } | 547 | 13 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 13 | } | 549 | | | 550 | 615 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 615 | this->c_end += this->byte_size(1); | 552 | 615 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJfEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJdEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJS1_EEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJS3_EEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJS3_EEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJjEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJoEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJS1_EEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJhEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRnEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRiEEEvDpOT_ _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJNS5_17PatternActionTypeEEEEvDpOT_ Line | Count | Source | 542 | 6 | void emplace_back(Args&&... args) { | 543 | 6 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 6 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 6 | this->reserve_for_next_size(); | 546 | 6 | } | 547 | 6 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 6 | } | 549 | | | 550 | 6 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 6 | this->c_end += this->byte_size(1); | 552 | 6 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJRNS5_17PatternActionTypeERmEEEvDpOT_ _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceMatchILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJNS5_17PatternActionTypeEmEEEvDpOT_ Line | Count | Source | 542 | 10 | void emplace_back(Args&&... args) { | 543 | 10 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 0 | this->reserve_for_next_size(); | 546 | 0 | } | 547 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 0 | } | 549 | | | 550 | 10 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 10 | this->c_end += this->byte_size(1); | 552 | 10 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJNS5_17PatternActionTypeEEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJRNS5_17PatternActionTypeERjEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceMatchILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJNS5_17PatternActionTypeEmEEEvDpOT_ _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJNS5_17PatternActionTypeEEEEvDpOT_ Line | Count | Source | 542 | 6 | void emplace_back(Args&&... args) { | 543 | 6 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 6 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 6 | this->reserve_for_next_size(); | 546 | 6 | } | 547 | 6 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 6 | } | 549 | | | 550 | 6 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 6 | this->c_end += this->byte_size(1); | 552 | 6 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJRNS5_17PatternActionTypeERmEEEvDpOT_ _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE26ENS_30AggregateFunctionSequenceCountILS2_26EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJNS5_17PatternActionTypeEmEEEvDpOT_ Line | Count | Source | 542 | 10 | void emplace_back(Args&&... args) { | 543 | 10 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 0 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 0 | this->reserve_for_next_size(); | 546 | 0 | } | 547 | 0 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 0 | } | 549 | | | 550 | 10 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 10 | this->c_end += this->byte_size(1); | 552 | 10 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJNS5_17PatternActionTypeEEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJRNS5_17PatternActionTypeERjEEEvDpOT_ Unexecuted instantiation: _ZN5doris8PODArrayINS_34AggregateFunctionSequenceMatchDataILNS_13PrimitiveTypeE25ENS_30AggregateFunctionSequenceCountILS2_25EEEE13PatternActionELm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE12emplace_backIJNS5_17PatternActionTypeEmEEEvDpOT_ _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRKhEEEvDpOT_ Line | Count | Source | 542 | 336 | void emplace_back(Args&&... args) { | 543 | 336 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_res_mem)) { // c_res_mem <= c_end_of_storage | 544 | 84 | if (UNLIKELY(this->c_end + sizeof(T) > this->c_end_of_storage)) { | 545 | 84 | this->reserve_for_next_size(); | 546 | 84 | } | 547 | 84 | this->reset_resident_memory_impl(this->c_end + this->byte_size(1)); | 548 | 84 | } | 549 | | | 550 | 336 | new (t_end()) T(std::forward<Args>(args)...); | 551 | 336 | this->c_end += this->byte_size(1); | 552 | 336 | } |
Unexecuted instantiation: _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE12emplace_backIJRmEEEvDpOT_ |
553 | | |
554 | 131k | void pop_back() { this->c_end -= this->byte_size(1); }Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8pop_backEv _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE8pop_backEv Line | Count | Source | 554 | 131k | void pop_back() { this->c_end -= this->byte_size(1); } |
|
555 | | |
556 | 66 | void pop_back(size_t n) { |
557 | 66 | DCHECK_GE(this->size(), n); |
558 | 66 | this->c_end -= this->byte_size(n); |
559 | 66 | } |
560 | | |
561 | | /// Do not insert into the array a piece of itself. Because with the resize, the iterators on themselves can be invalidated. |
562 | | template <typename It1, typename It2, typename... TAllocatorParams> |
563 | 71.9M | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { |
564 | 71.9M | this->assert_not_intersects(from_begin, from_end); |
565 | 71.9M | size_t required_capacity = this->size() + (from_end - from_begin); |
566 | 71.9M | if (required_capacity > this->capacity()) |
567 | 99.2k | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), |
568 | 99.2k | std::forward<TAllocatorParams>(allocator_params)...); |
569 | 71.9M | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKhS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 19.5k | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 19.5k | this->assert_not_intersects(from_begin, from_end); | 565 | 19.5k | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 19.5k | if (required_capacity > this->capacity()) | 567 | 40 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 40 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 19.5k | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKcS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 71.8M | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 71.8M | this->assert_not_intersects(from_begin, from_end); | 565 | 71.8M | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 71.8M | if (required_capacity > this->capacity()) | 567 | 98.8k | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 98.8k | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 71.8M | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPcS6_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 890 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 890 | this->assert_not_intersects(from_begin, from_end); | 565 | 890 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 890 | if (required_capacity > this->capacity()) | 567 | 200 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 200 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 890 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS1_S8_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKjS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 863 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 863 | this->assert_not_intersects(from_begin, from_end); | 565 | 863 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 863 | if (required_capacity > this->capacity()) | 567 | 21 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 21 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 863 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKmS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 281 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 281 | this->assert_not_intersects(from_begin, from_end); | 565 | 281 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 281 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 281 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS1_S8_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKdS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 1.58k | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 1.58k | this->assert_not_intersects(from_begin, from_end); | 565 | 1.58k | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 1.58k | if (required_capacity > this->capacity()) | 567 | 22 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 22 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 1.58k | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKoS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 236 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 236 | this->assert_not_intersects(from_begin, from_end); | 565 | 236 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 236 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 236 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS3_SA_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 297 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 297 | this->assert_not_intersects(from_begin, from_end); | 565 | 297 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 297 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 297 | } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKaS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 1.61k | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 1.61k | this->assert_not_intersects(from_begin, from_end); | 565 | 1.61k | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 1.61k | if (required_capacity > this->capacity()) | 567 | 20 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 20 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 1.61k | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKsS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 220 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 220 | this->assert_not_intersects(from_begin, from_end); | 565 | 220 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 220 | if (required_capacity > this->capacity()) | 567 | 8 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 8 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 220 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKiS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 40.8k | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 40.8k | this->assert_not_intersects(from_begin, from_end); | 565 | 40.8k | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 40.8k | if (required_capacity > this->capacity()) | 567 | 24 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 24 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 40.8k | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKlS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 1.60k | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 1.60k | this->assert_not_intersects(from_begin, from_end); | 565 | 1.60k | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 1.60k | if (required_capacity > this->capacity()) | 567 | 16 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 16 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 1.60k | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKnS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 465 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 465 | this->assert_not_intersects(from_begin, from_end); | 565 | 465 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 465 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 465 | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKfS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 266 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 266 | this->assert_not_intersects(from_begin, from_end); | 565 | 266 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 266 | if (required_capacity > this->capacity()) | 567 | 8 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 8 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 266 | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS1_S8_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 59 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 59 | this->assert_not_intersects(from_begin, from_end); | 565 | 59 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 59 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 59 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS3_SA_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 233 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 233 | this->assert_not_intersects(from_begin, from_end); | 565 | 233 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 233 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 233 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS1_S8_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS2_S9_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 329 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 329 | this->assert_not_intersects(from_begin, from_end); | 565 | 329 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 329 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 329 | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS1_S8_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 102 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 102 | this->assert_not_intersects(from_begin, from_end); | 565 | 102 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 102 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 102 | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS2_S9_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 276 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 276 | this->assert_not_intersects(from_begin, from_end); | 565 | 276 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 276 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 276 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEESC_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS1_S8_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 185 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 185 | this->assert_not_intersects(from_begin, from_end); | 565 | 185 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 185 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 185 | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPKS5_SC_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 166 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 166 | this->assert_not_intersects(from_begin, from_end); | 565 | 166 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 166 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 166 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPhS6_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14insert_prepareIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESF_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 3 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 3 | this->assert_not_intersects(from_begin, from_end); | 565 | 3 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 3 | if (required_capacity > this->capacity()) | 567 | 3 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 3 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 3 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14insert_prepareIPmS6_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 2 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 2 | this->assert_not_intersects(from_begin, from_end); | 565 | 2 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 2 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 2 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPmS6_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 4 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 4 | this->assert_not_intersects(from_begin, from_end); | 565 | 4 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 4 | if (required_capacity > this->capacity()) | 567 | 1 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 1 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 4 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE14insert_prepareIPjS6_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 28 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 28 | this->assert_not_intersects(from_begin, from_end); | 565 | 28 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 28 | if (required_capacity > this->capacity()) | 567 | 12 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 12 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 28 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14insert_prepareIPKaS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14insert_prepareIPKsS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14insert_prepareIPKiS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14insert_prepareIPKlS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14insert_prepareIPKnS7_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14insert_prepareIPKfS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 563 | 25 | void insert_prepare(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 564 | 25 | this->assert_not_intersects(from_begin, from_end); | 565 | 25 | size_t required_capacity = this->size() + (from_end - from_begin); | 566 | 25 | if (required_capacity > this->capacity()) | 567 | 0 | this->reserve(round_up_to_power_of_two_or_zero(required_capacity), | 568 | 0 | std::forward<TAllocatorParams>(allocator_params)...); | 569 | 25 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE14insert_prepareIPKdS7_JEEEvT_T0_DpOT1_ |
570 | | |
571 | | /// Do not insert into the array a piece of itself. Because with the resize, the iterators on themselves can be invalidated. |
572 | | template <typename It1, typename It2, typename... TAllocatorParams> |
573 | 71.9M | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { |
574 | 71.9M | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); |
575 | | |
576 | 71.9M | insert_assume_reserved(from_begin, from_end); |
577 | 71.9M | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKhS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 19.5k | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 19.5k | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 19.5k | insert_assume_reserved(from_begin, from_end); | 577 | 19.5k | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKcS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 71.8M | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 71.8M | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 71.8M | insert_assume_reserved(from_begin, from_end); | 577 | 71.8M | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPcS6_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 890 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 890 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 890 | insert_assume_reserved(from_begin, from_end); | 577 | 890 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS1_S8_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKjS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 863 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 863 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 863 | insert_assume_reserved(from_begin, from_end); | 577 | 863 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKmS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 281 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 281 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 281 | insert_assume_reserved(from_begin, from_end); | 577 | 281 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS1_S8_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKdS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 1.58k | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 1.58k | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 1.58k | insert_assume_reserved(from_begin, from_end); | 577 | 1.58k | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKoS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 236 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 236 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 236 | insert_assume_reserved(from_begin, from_end); | 577 | 236 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS3_SA_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 297 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 297 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 297 | insert_assume_reserved(from_begin, from_end); | 577 | 297 | } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKaS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 1.61k | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 1.61k | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 1.61k | insert_assume_reserved(from_begin, from_end); | 577 | 1.61k | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKsS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 220 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 220 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 220 | insert_assume_reserved(from_begin, from_end); | 577 | 220 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKiS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 40.8k | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 40.8k | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 40.8k | insert_assume_reserved(from_begin, from_end); | 577 | 40.8k | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKlS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 1.60k | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 1.60k | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 1.60k | insert_assume_reserved(from_begin, from_end); | 577 | 1.60k | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKnS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 465 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 465 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 465 | insert_assume_reserved(from_begin, from_end); | 577 | 465 | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKfS7_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 266 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 266 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 266 | insert_assume_reserved(from_begin, from_end); | 577 | 266 | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS1_S8_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 59 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 59 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 59 | insert_assume_reserved(from_begin, from_end); | 577 | 59 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS3_SA_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 233 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 233 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 233 | insert_assume_reserved(from_begin, from_end); | 577 | 233 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS1_S8_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS2_S9_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 329 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 329 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 329 | insert_assume_reserved(from_begin, from_end); | 577 | 329 | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS1_S8_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 102 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 102 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 102 | insert_assume_reserved(from_begin, from_end); | 577 | 102 | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS2_S9_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 276 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 276 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 276 | insert_assume_reserved(from_begin, from_end); | 577 | 276 | } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS1_S8_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 185 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 185 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 185 | insert_assume_reserved(from_begin, from_end); | 577 | 185 | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKS5_SC_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 166 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 166 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 166 | insert_assume_reserved(from_begin, from_end); | 577 | 166 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPhS6_JEEEvT_T0_DpOT1_ _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPmS6_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 2 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 2 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 2 | insert_assume_reserved(from_begin, from_end); | 577 | 2 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPjS6_JEEEvT_T0_DpOT1_ Line | Count | Source | 573 | 28 | void insert(It1 from_begin, It2 from_end, TAllocatorParams&&... allocator_params) { | 574 | 28 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); | 575 | | | 576 | 28 | insert_assume_reserved(from_begin, from_end); | 577 | 28 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIPKaS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIPKsS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIPKiS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIPKlS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIPKnS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIPKfS7_JEEEvT_T0_DpOT1_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIPKdS7_JEEEvT_T0_DpOT1_ |
578 | | |
579 | | /// Works under assumption, that it's possible to read up to 15 excessive bytes after `from_end` and this PODArray is padded. |
580 | | template <typename It1, typename It2, typename... TAllocatorParams> |
581 | | void insert_small_allow_read_write_overflow15(It1 from_begin, It2 from_end, |
582 | 1 | TAllocatorParams&&... allocator_params) { |
583 | 1 | static_assert(pad_right_ >= 15); |
584 | 1 | insert_prepare(from_begin, from_end, std::forward<TAllocatorParams>(allocator_params)...); |
585 | 1 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); |
586 | 1 | this->reset_resident_memory(this->c_end + bytes_to_copy); |
587 | 1 | memcpy_small_allow_read_write_overflow15( |
588 | 1 | this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); |
589 | 1 | this->c_end += bytes_to_copy; |
590 | 1 | } |
591 | | |
592 | | template <typename It1, typename It2> |
593 | 72 | void insert(iterator it, It1 from_begin, It2 from_end) { |
594 | 72 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); |
595 | 72 | if (!bytes_to_copy) { |
596 | 1 | return; |
597 | 1 | } |
598 | 71 | size_t bytes_to_move = this->byte_size(end() - it); |
599 | 71 | insert_prepare(from_begin, from_end); |
600 | 71 | this->reset_resident_memory(this->c_end + bytes_to_copy); |
601 | | |
602 | 71 | if (UNLIKELY(bytes_to_move)) { |
603 | 5 | memmove(this->c_end + bytes_to_copy - bytes_to_move, this->c_end - bytes_to_move, |
604 | 5 | bytes_to_move); |
605 | 5 | } |
606 | | |
607 | 71 | memcpy(this->c_end - bytes_to_move, reinterpret_cast<const void*>(&*from_begin), |
608 | 71 | bytes_to_copy); |
609 | 71 | this->c_end += bytes_to_copy; |
610 | 71 | } Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEESC_EEvS8_T_T0_ Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKcS7_EEvPhT_T0_ _ZN5doris8PODArrayIcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESF_EEvS8_T_T0_ Line | Count | Source | 593 | 3 | void insert(iterator it, It1 from_begin, It2 from_end) { | 594 | 3 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 595 | 3 | if (!bytes_to_copy) { | 596 | 0 | return; | 597 | 0 | } | 598 | 3 | size_t bytes_to_move = this->byte_size(end() - it); | 599 | 3 | insert_prepare(from_begin, from_end); | 600 | 3 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 601 | | | 602 | 3 | if (UNLIKELY(bytes_to_move)) { | 603 | 2 | memmove(this->c_end + bytes_to_copy - bytes_to_move, this->c_end - bytes_to_move, | 604 | 2 | bytes_to_move); | 605 | 2 | } | 606 | | | 607 | 3 | memcpy(this->c_end - bytes_to_move, reinterpret_cast<const void*>(&*from_begin), | 608 | 3 | bytes_to_copy); | 609 | 3 | this->c_end += bytes_to_copy; | 610 | 3 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIPmS6_EEvS6_T_T0_ Line | Count | Source | 593 | 3 | void insert(iterator it, It1 from_begin, It2 from_end) { | 594 | 3 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 595 | 3 | if (!bytes_to_copy) { | 596 | 1 | return; | 597 | 1 | } | 598 | 2 | size_t bytes_to_move = this->byte_size(end() - it); | 599 | 2 | insert_prepare(from_begin, from_end); | 600 | 2 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 601 | | | 602 | 2 | if (UNLIKELY(bytes_to_move)) { | 603 | 2 | memmove(this->c_end + bytes_to_copy - bytes_to_move, this->c_end - bytes_to_move, | 604 | 2 | bytes_to_move); | 605 | 2 | } | 606 | | | 607 | 2 | memcpy(this->c_end - bytes_to_move, reinterpret_cast<const void*>(&*from_begin), | 608 | 2 | bytes_to_copy); | 609 | 2 | this->c_end += bytes_to_copy; | 610 | 2 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPmS6_EEvS6_T_T0_ Line | Count | Source | 593 | 1 | void insert(iterator it, It1 from_begin, It2 from_end) { | 594 | 1 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 595 | 1 | if (!bytes_to_copy) { | 596 | 0 | return; | 597 | 0 | } | 598 | 1 | size_t bytes_to_move = this->byte_size(end() - it); | 599 | 1 | insert_prepare(from_begin, from_end); | 600 | 1 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 601 | | | 602 | 1 | if (UNLIKELY(bytes_to_move)) { | 603 | 1 | memmove(this->c_end + bytes_to_copy - bytes_to_move, this->c_end - bytes_to_move, | 604 | 1 | bytes_to_move); | 605 | 1 | } | 606 | | | 607 | 1 | memcpy(this->c_end - bytes_to_move, reinterpret_cast<const void*>(&*from_begin), | 608 | 1 | bytes_to_copy); | 609 | 1 | this->c_end += bytes_to_copy; | 610 | 1 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6insertIPKhS7_EEvPhT_T0_ Line | Count | Source | 593 | 40 | void insert(iterator it, It1 from_begin, It2 from_end) { | 594 | 40 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 595 | 40 | if (!bytes_to_copy) { | 596 | 0 | return; | 597 | 0 | } | 598 | 40 | size_t bytes_to_move = this->byte_size(end() - it); | 599 | 40 | insert_prepare(from_begin, from_end); | 600 | 40 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 601 | | | 602 | 40 | if (UNLIKELY(bytes_to_move)) { | 603 | 0 | memmove(this->c_end + bytes_to_copy - bytes_to_move, this->c_end - bytes_to_move, | 604 | 0 | bytes_to_move); | 605 | 0 | } | 606 | | | 607 | 40 | memcpy(this->c_end - bytes_to_move, reinterpret_cast<const void*>(&*from_begin), | 608 | 40 | bytes_to_copy); | 609 | 40 | this->c_end += bytes_to_copy; | 610 | 40 | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6insertIPKfS7_EEvPfT_T0_ Line | Count | Source | 593 | 25 | void insert(iterator it, It1 from_begin, It2 from_end) { | 594 | 25 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 595 | 25 | if (!bytes_to_copy) { | 596 | 0 | return; | 597 | 0 | } | 598 | 25 | size_t bytes_to_move = this->byte_size(end() - it); | 599 | 25 | insert_prepare(from_begin, from_end); | 600 | 25 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 601 | | | 602 | 25 | if (UNLIKELY(bytes_to_move)) { | 603 | 0 | memmove(this->c_end + bytes_to_copy - bytes_to_move, this->c_end - bytes_to_move, | 604 | 0 | bytes_to_move); | 605 | 0 | } | 606 | | | 607 | 25 | memcpy(this->c_end - bytes_to_move, reinterpret_cast<const void*>(&*from_begin), | 608 | 25 | bytes_to_copy); | 609 | 25 | this->c_end += bytes_to_copy; | 610 | 25 | } |
|
611 | | |
612 | | template <typename It1, typename It2> |
613 | 71.9M | void insert_assume_reserved(It1 from_begin, It2 from_end) { |
614 | 71.9M | this->assert_not_intersects(from_begin, from_end); |
615 | 71.9M | size_t bytes_to_copy = this->byte_size(from_end - from_begin); |
616 | 71.9M | this->reset_resident_memory(this->c_end + bytes_to_copy); |
617 | 71.9M | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); |
618 | 71.9M | this->c_end += bytes_to_copy; |
619 | 71.9M | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKhS7_EEvT_T0_ Line | Count | Source | 613 | 19.6k | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 19.6k | this->assert_not_intersects(from_begin, from_end); | 615 | 19.6k | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 19.6k | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 19.6k | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 19.6k | this->c_end += bytes_to_copy; | 619 | 19.6k | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKcS7_EEvT_T0_ Line | Count | Source | 613 | 71.8M | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 71.8M | this->assert_not_intersects(from_begin, from_end); | 615 | 71.8M | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 71.8M | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 71.8M | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 71.8M | this->c_end += bytes_to_copy; | 619 | 71.8M | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPcS6_EEvT_T0_ Line | Count | Source | 613 | 890 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 890 | this->assert_not_intersects(from_begin, from_end); | 615 | 890 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 890 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 890 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 890 | this->c_end += bytes_to_copy; | 619 | 890 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS1_S8_EEvT_T0_ _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKjS7_EEvT_T0_ Line | Count | Source | 613 | 863 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 863 | this->assert_not_intersects(from_begin, from_end); | 615 | 863 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 863 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 863 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 863 | this->c_end += bytes_to_copy; | 619 | 863 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKmS7_EEvT_T0_ Line | Count | Source | 613 | 281 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 281 | this->assert_not_intersects(from_begin, from_end); | 615 | 281 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 281 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 281 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 281 | this->c_end += bytes_to_copy; | 619 | 281 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS1_S8_EEvT_T0_ _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKdS7_EEvT_T0_ Line | Count | Source | 613 | 1.58k | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 1.58k | this->assert_not_intersects(from_begin, from_end); | 615 | 1.58k | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 1.58k | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 1.58k | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 1.58k | this->c_end += bytes_to_copy; | 619 | 1.58k | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKoS7_EEvT_T0_ Line | Count | Source | 613 | 236 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 236 | this->assert_not_intersects(from_begin, from_end); | 615 | 236 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 236 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 236 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 236 | this->c_end += bytes_to_copy; | 619 | 236 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS3_SA_EEvT_T0_ Line | Count | Source | 613 | 297 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 297 | this->assert_not_intersects(from_begin, from_end); | 615 | 297 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 297 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 297 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 297 | this->c_end += bytes_to_copy; | 619 | 297 | } |
_ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKaS7_EEvT_T0_ Line | Count | Source | 613 | 1.61k | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 1.61k | this->assert_not_intersects(from_begin, from_end); | 615 | 1.61k | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 1.61k | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 1.61k | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 1.61k | this->c_end += bytes_to_copy; | 619 | 1.61k | } |
_ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKsS7_EEvT_T0_ Line | Count | Source | 613 | 220 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 220 | this->assert_not_intersects(from_begin, from_end); | 615 | 220 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 220 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 220 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 220 | this->c_end += bytes_to_copy; | 619 | 220 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKiS7_EEvT_T0_ Line | Count | Source | 613 | 40.8k | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 40.8k | this->assert_not_intersects(from_begin, from_end); | 615 | 40.8k | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 40.8k | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 40.8k | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 40.8k | this->c_end += bytes_to_copy; | 619 | 40.8k | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKlS7_EEvT_T0_ Line | Count | Source | 613 | 1.60k | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 1.60k | this->assert_not_intersects(from_begin, from_end); | 615 | 1.60k | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 1.60k | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 1.60k | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 1.60k | this->c_end += bytes_to_copy; | 619 | 1.60k | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKnS7_EEvT_T0_ Line | Count | Source | 613 | 465 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 465 | this->assert_not_intersects(from_begin, from_end); | 615 | 465 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 465 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 465 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 465 | this->c_end += bytes_to_copy; | 619 | 465 | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKfS7_EEvT_T0_ Line | Count | Source | 613 | 266 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 266 | this->assert_not_intersects(from_begin, from_end); | 615 | 266 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 266 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 266 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 266 | this->c_end += bytes_to_copy; | 619 | 266 | } |
_ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS1_S8_EEvT_T0_ Line | Count | Source | 613 | 59 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 59 | this->assert_not_intersects(from_begin, from_end); | 615 | 59 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 59 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 59 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 59 | this->c_end += bytes_to_copy; | 619 | 59 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS3_SA_EEvT_T0_ Line | Count | Source | 613 | 233 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 233 | this->assert_not_intersects(from_begin, from_end); | 615 | 233 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 233 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 233 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 233 | this->c_end += bytes_to_copy; | 619 | 233 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_9StringRefELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS1_S8_EEvT_T0_ _ZN5doris8PODArrayINS_7DecimalIiEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS2_S9_EEvT_T0_ Line | Count | Source | 613 | 329 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 329 | this->assert_not_intersects(from_begin, from_end); | 615 | 329 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 329 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 329 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 329 | this->c_end += bytes_to_copy; | 619 | 329 | } |
_ZN5doris8PODArrayINS_14DecimalV2ValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS1_S8_EEvT_T0_ Line | Count | Source | 613 | 102 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 102 | this->assert_not_intersects(from_begin, from_end); | 615 | 102 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 102 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 102 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 102 | this->c_end += bytes_to_copy; | 619 | 102 | } |
_ZN5doris8PODArrayINS_7DecimalIlEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS2_S9_EEvT_T0_ Line | Count | Source | 613 | 276 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 276 | this->assert_not_intersects(from_begin, from_end); | 615 | 276 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 276 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 276 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 276 | this->c_end += bytes_to_copy; | 619 | 276 | } |
_ZN5doris8PODArrayINS_12Decimal128V3ELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS1_S8_EEvT_T0_ Line | Count | Source | 613 | 185 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 185 | this->assert_not_intersects(from_begin, from_end); | 615 | 185 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 185 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 185 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 185 | this->c_end += bytes_to_copy; | 619 | 185 | } |
_ZN5doris8PODArrayINS_7DecimalIN4wide7integerILm256EiEEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPKS5_SC_EEvT_T0_ Line | Count | Source | 613 | 166 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 166 | this->assert_not_intersects(from_begin, from_end); | 615 | 166 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 166 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 166 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 166 | this->c_end += bytes_to_copy; | 619 | 166 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPhS6_EEvT_T0_ _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPmS6_EEvT_T0_ Line | Count | Source | 613 | 3 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 3 | this->assert_not_intersects(from_begin, from_end); | 615 | 3 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 3 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 3 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 3 | this->c_end += bytes_to_copy; | 619 | 3 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE22insert_assume_reservedIPjS6_EEvT_T0_ Line | Count | Source | 613 | 28 | void insert_assume_reserved(It1 from_begin, It2 from_end) { | 614 | 28 | this->assert_not_intersects(from_begin, from_end); | 615 | 28 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 616 | 28 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 617 | 28 | memcpy(this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 618 | 28 | this->c_end += bytes_to_copy; | 619 | 28 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22insert_assume_reservedIPKaS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22insert_assume_reservedIPKsS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22insert_assume_reservedIPKiS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22insert_assume_reservedIPKlS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22insert_assume_reservedIPKnS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22insert_assume_reservedIPKfS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE22insert_assume_reservedIPKdS7_EEvT_T0_ |
620 | | |
621 | | template <typename It1, typename It2> |
622 | 813 | void insert_assume_reserved_and_allow_overflow(It1 from_begin, It2 from_end) { |
623 | 813 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); |
624 | 813 | this->reset_resident_memory(this->c_end + bytes_to_copy); |
625 | 813 | memcpy_small_allow_read_write_overflow15( |
626 | 813 | this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); |
627 | 813 | this->c_end += bytes_to_copy; |
628 | 813 | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE41insert_assume_reserved_and_allow_overflowIPKcS7_EEvT_T0_ Line | Count | Source | 622 | 812 | void insert_assume_reserved_and_allow_overflow(It1 from_begin, It2 from_end) { | 623 | 812 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 624 | 812 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 625 | 812 | memcpy_small_allow_read_write_overflow15( | 626 | 812 | this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 627 | 812 | this->c_end += bytes_to_copy; | 628 | 812 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE41insert_assume_reserved_and_allow_overflowIPmS6_EEvT_T0_ Line | Count | Source | 622 | 1 | void insert_assume_reserved_and_allow_overflow(It1 from_begin, It2 from_end) { | 623 | 1 | size_t bytes_to_copy = this->byte_size(from_end - from_begin); | 624 | 1 | this->reset_resident_memory(this->c_end + bytes_to_copy); | 625 | 1 | memcpy_small_allow_read_write_overflow15( | 626 | 1 | this->c_end, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 627 | 1 | this->c_end += bytes_to_copy; | 628 | 1 | } |
|
629 | | |
630 | 525 | void swap(PODArray& rhs) { |
631 | 525 | DCHECK(this->pad_left == rhs.pad_left && this->pad_right == rhs.pad_right) |
632 | 0 | << ", this.pad_left: " << this->pad_left << ", rhs.pad_left: " << rhs.pad_left |
633 | 0 | << ", this.pad_right: " << this->pad_right << ", rhs.pad_right: " << rhs.pad_right; |
634 | 525 | #ifndef NDEBUG |
635 | 525 | this->unprotect(); |
636 | 525 | rhs.unprotect(); |
637 | 525 | #endif |
638 | | |
639 | | /// Swap two PODArray objects, arr1 and arr2, that satisfy the following conditions: |
640 | | /// - The elements of arr1 are stored on stack. |
641 | | /// - The elements of arr2 are stored on heap. |
642 | 525 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { |
643 | 3 | size_t stack_size = arr1.size(); |
644 | 3 | size_t stack_allocated = arr1.allocated_bytes(); |
645 | 3 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; |
646 | | |
647 | 3 | size_t heap_size = arr2.size(); |
648 | 3 | size_t heap_allocated = arr2.allocated_bytes(); |
649 | 3 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; |
650 | | |
651 | | /// Keep track of the stack content we have to copy. |
652 | 3 | char* stack_c_start = arr1.c_start; |
653 | | |
654 | | /// arr1 takes ownership of the heap memory of arr2. |
655 | 3 | arr1.c_start = arr2.c_start; |
656 | 3 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; |
657 | 3 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); |
658 | 3 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; |
659 | | |
660 | | /// Allocate stack space for arr2. |
661 | 3 | arr2.alloc(stack_allocated); |
662 | | /// Copy the stack content. |
663 | 3 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); |
664 | 3 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); |
665 | 3 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; |
666 | 3 | }; _ZZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE4swapERS6_ENKUlS7_S7_E_clES7_S7_ Line | Count | Source | 642 | 3 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { | 643 | 3 | size_t stack_size = arr1.size(); | 644 | 3 | size_t stack_allocated = arr1.allocated_bytes(); | 645 | 3 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; | 646 | | | 647 | 3 | size_t heap_size = arr2.size(); | 648 | 3 | size_t heap_allocated = arr2.allocated_bytes(); | 649 | 3 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; | 650 | | | 651 | | /// Keep track of the stack content we have to copy. | 652 | 3 | char* stack_c_start = arr1.c_start; | 653 | | | 654 | | /// arr1 takes ownership of the heap memory of arr2. | 655 | 3 | arr1.c_start = arr2.c_start; | 656 | 3 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; | 657 | 3 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); | 658 | 3 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; | 659 | | | 660 | | /// Allocate stack space for arr2. | 661 | 3 | arr2.alloc(stack_allocated); | 662 | | /// Copy the stack content. | 663 | 3 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); | 664 | 3 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); | 665 | 3 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; | 666 | 3 | }; |
Unexecuted instantiation: _ZZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE4swapERS6_ENKUlS7_S7_E_clES7_S7_ Unexecuted instantiation: _ZZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIPcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS5_ENKUlS6_S6_E_clES6_S6_ Unexecuted instantiation: _ZZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE4swapERS6_ENKUlS7_S7_E_clES7_S7_ |
667 | | |
668 | 525 | auto do_move = [this](PODArray& src, PODArray& dest) { |
669 | 334 | if (src.is_allocated_from_stack()) { |
670 | 5 | dest.dealloc(); |
671 | 5 | dest.alloc(src.allocated_bytes()); |
672 | 5 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); |
673 | 5 | dest.c_end = dest.c_start + this->byte_size(src.size()); |
674 | 5 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); |
675 | | |
676 | 5 | src.c_start = Base::null; |
677 | 5 | src.c_end = Base::null; |
678 | 5 | src.c_end_of_storage = Base::null; |
679 | 5 | src.c_res_mem = Base::null; |
680 | 329 | } else { |
681 | 329 | std::swap(dest.c_start, src.c_start); |
682 | 329 | std::swap(dest.c_end, src.c_end); |
683 | 329 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); |
684 | 329 | std::swap(dest.c_res_mem, src.c_res_mem); |
685 | 329 | } |
686 | 334 | }; _ZZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE4swapERS6_ENKUlS7_S7_E0_clES7_S7_ Line | Count | Source | 668 | 10 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 10 | if (src.is_allocated_from_stack()) { | 670 | 5 | dest.dealloc(); | 671 | 5 | dest.alloc(src.allocated_bytes()); | 672 | 5 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 5 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 5 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | | | 676 | 5 | src.c_start = Base::null; | 677 | 5 | src.c_end = Base::null; | 678 | 5 | src.c_end_of_storage = Base::null; | 679 | 5 | src.c_res_mem = Base::null; | 680 | 5 | } else { | 681 | 5 | std::swap(dest.c_start, src.c_start); | 682 | 5 | std::swap(dest.c_end, src.c_end); | 683 | 5 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 5 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 5 | } | 686 | 10 | }; |
_ZZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Line | Count | Source | 668 | 6 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 6 | if (src.is_allocated_from_stack()) { | 670 | 0 | dest.dealloc(); | 671 | 0 | dest.alloc(src.allocated_bytes()); | 672 | 0 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 0 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 0 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | |
| 676 | 0 | src.c_start = Base::null; | 677 | 0 | src.c_end = Base::null; | 678 | 0 | src.c_end_of_storage = Base::null; | 679 | 0 | src.c_res_mem = Base::null; | 680 | 6 | } else { | 681 | 6 | std::swap(dest.c_start, src.c_start); | 682 | 6 | std::swap(dest.c_end, src.c_end); | 683 | 6 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 6 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 6 | } | 686 | 6 | }; |
Unexecuted instantiation: _ZZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE4swapERS6_ENKUlS7_S7_E0_clES7_S7_ Unexecuted instantiation: _ZZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ _ZZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Line | Count | Source | 668 | 29 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 29 | if (src.is_allocated_from_stack()) { | 670 | 0 | dest.dealloc(); | 671 | 0 | dest.alloc(src.allocated_bytes()); | 672 | 0 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 0 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 0 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | |
| 676 | 0 | src.c_start = Base::null; | 677 | 0 | src.c_end = Base::null; | 678 | 0 | src.c_end_of_storage = Base::null; | 679 | 0 | src.c_res_mem = Base::null; | 680 | 29 | } else { | 681 | 29 | std::swap(dest.c_start, src.c_start); | 682 | 29 | std::swap(dest.c_end, src.c_end); | 683 | 29 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 29 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 29 | } | 686 | 29 | }; |
_ZZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Line | Count | Source | 668 | 3 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 3 | if (src.is_allocated_from_stack()) { | 670 | 0 | dest.dealloc(); | 671 | 0 | dest.alloc(src.allocated_bytes()); | 672 | 0 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 0 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 0 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | |
| 676 | 0 | src.c_start = Base::null; | 677 | 0 | src.c_end = Base::null; | 678 | 0 | src.c_end_of_storage = Base::null; | 679 | 0 | src.c_res_mem = Base::null; | 680 | 3 | } else { | 681 | 3 | std::swap(dest.c_start, src.c_start); | 682 | 3 | std::swap(dest.c_end, src.c_end); | 683 | 3 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 3 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 3 | } | 686 | 3 | }; |
_ZZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Line | Count | Source | 668 | 282 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 282 | if (src.is_allocated_from_stack()) { | 670 | 0 | dest.dealloc(); | 671 | 0 | dest.alloc(src.allocated_bytes()); | 672 | 0 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 0 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 0 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | |
| 676 | 0 | src.c_start = Base::null; | 677 | 0 | src.c_end = Base::null; | 678 | 0 | src.c_end_of_storage = Base::null; | 679 | 0 | src.c_res_mem = Base::null; | 680 | 282 | } else { | 681 | 282 | std::swap(dest.c_start, src.c_start); | 682 | 282 | std::swap(dest.c_end, src.c_end); | 683 | 282 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 282 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 282 | } | 686 | 282 | }; |
_ZZN5doris8PODArrayIPcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS5_ENKUlS6_S6_E0_clES6_S6_ Line | Count | Source | 668 | 4 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 4 | if (src.is_allocated_from_stack()) { | 670 | 0 | dest.dealloc(); | 671 | 0 | dest.alloc(src.allocated_bytes()); | 672 | 0 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 0 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 0 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | |
| 676 | 0 | src.c_start = Base::null; | 677 | 0 | src.c_end = Base::null; | 678 | 0 | src.c_end_of_storage = Base::null; | 679 | 0 | src.c_res_mem = Base::null; | 680 | 4 | } else { | 681 | 4 | std::swap(dest.c_start, src.c_start); | 682 | 4 | std::swap(dest.c_end, src.c_end); | 683 | 4 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 4 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 4 | } | 686 | 4 | }; |
Unexecuted instantiation: _ZZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ENKUlS5_S5_E0_clES5_S5_ Unexecuted instantiation: _ZZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE4swapERS6_ENKUlS7_S7_E0_clES7_S7_ |
687 | | |
688 | 525 | if (!this->is_initialized() && !rhs.is_initialized()) { |
689 | 39 | return; |
690 | 486 | } else if (!this->is_initialized() && rhs.is_initialized()) { |
691 | 326 | do_move(rhs, *this); |
692 | 326 | return; |
693 | 326 | } else if (this->is_initialized() && !rhs.is_initialized()) { |
694 | 8 | do_move(*this, rhs); |
695 | 8 | return; |
696 | 8 | } |
697 | | |
698 | 152 | if (this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { |
699 | 5 | size_t min_size = std::min(this->size(), rhs.size()); |
700 | 5 | size_t max_size = std::max(this->size(), rhs.size()); |
701 | | |
702 | 18 | for (size_t i = 0; i < min_size; ++i) std::swap(this->operator[](i), rhs[i]); |
703 | | |
704 | 5 | if (this->size() == max_size) { |
705 | 6 | for (size_t i = min_size; i < max_size; ++i) rhs[i] = this->operator[](i); |
706 | 4 | } else { |
707 | 2 | for (size_t i = min_size; i < max_size; ++i) this->operator[](i) = rhs[i]; |
708 | 1 | } |
709 | | |
710 | 5 | size_t lhs_size = this->size(); |
711 | 5 | size_t lhs_allocated = this->allocated_bytes(); |
712 | 5 | size_t lhs_res_mem_used = this->c_res_mem - this->c_start; |
713 | | |
714 | 5 | size_t rhs_size = rhs.size(); |
715 | 5 | size_t rhs_allocated = rhs.allocated_bytes(); |
716 | 5 | size_t rhs_res_mem_used = rhs.c_res_mem - rhs.c_start; |
717 | | |
718 | 5 | this->c_end_of_storage = |
719 | 5 | this->c_start + rhs_allocated - Base::pad_right - Base::pad_left; |
720 | 5 | rhs.c_end_of_storage = rhs.c_start + lhs_allocated - Base::pad_right - Base::pad_left; |
721 | | |
722 | 5 | this->c_end = this->c_start + this->byte_size(rhs_size); |
723 | 5 | rhs.c_end = rhs.c_start + this->byte_size(lhs_size); |
724 | | |
725 | 5 | this->c_res_mem = this->c_start + rhs_res_mem_used; |
726 | 5 | rhs.c_res_mem = rhs.c_start + lhs_res_mem_used; |
727 | 147 | } else if (this->is_allocated_from_stack() && !rhs.is_allocated_from_stack()) { |
728 | 2 | swap_stack_heap(*this, rhs); |
729 | 145 | } else if (!this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { |
730 | 1 | swap_stack_heap(rhs, *this); |
731 | 144 | } else { |
732 | 144 | std::swap(this->c_start, rhs.c_start); |
733 | 144 | std::swap(this->c_end, rhs.c_end); |
734 | 144 | std::swap(this->c_end_of_storage, rhs.c_end_of_storage); |
735 | 144 | std::swap(this->c_res_mem, rhs.c_res_mem); |
736 | 144 | } |
737 | 152 | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4swapERS4_ Line | Count | Source | 630 | 314 | void swap(PODArray& rhs) { | 631 | 314 | DCHECK(this->pad_left == rhs.pad_left && this->pad_right == rhs.pad_right) | 632 | 0 | << ", this.pad_left: " << this->pad_left << ", rhs.pad_left: " << rhs.pad_left | 633 | 0 | << ", this.pad_right: " << this->pad_right << ", rhs.pad_right: " << rhs.pad_right; | 634 | 314 | #ifndef NDEBUG | 635 | 314 | this->unprotect(); | 636 | 314 | rhs.unprotect(); | 637 | 314 | #endif | 638 | | | 639 | | /// Swap two PODArray objects, arr1 and arr2, that satisfy the following conditions: | 640 | | /// - The elements of arr1 are stored on stack. | 641 | | /// - The elements of arr2 are stored on heap. | 642 | 314 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { | 643 | 314 | size_t stack_size = arr1.size(); | 644 | 314 | size_t stack_allocated = arr1.allocated_bytes(); | 645 | 314 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; | 646 | | | 647 | 314 | size_t heap_size = arr2.size(); | 648 | 314 | size_t heap_allocated = arr2.allocated_bytes(); | 649 | 314 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; | 650 | | | 651 | | /// Keep track of the stack content we have to copy. | 652 | 314 | char* stack_c_start = arr1.c_start; | 653 | | | 654 | | /// arr1 takes ownership of the heap memory of arr2. | 655 | 314 | arr1.c_start = arr2.c_start; | 656 | 314 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; | 657 | 314 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); | 658 | 314 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; | 659 | | | 660 | | /// Allocate stack space for arr2. | 661 | 314 | arr2.alloc(stack_allocated); | 662 | | /// Copy the stack content. | 663 | 314 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); | 664 | 314 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); | 665 | 314 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; | 666 | 314 | }; | 667 | | | 668 | 314 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 314 | if (src.is_allocated_from_stack()) { | 670 | 314 | dest.dealloc(); | 671 | 314 | dest.alloc(src.allocated_bytes()); | 672 | 314 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 314 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 314 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | | | 676 | 314 | src.c_start = Base::null; | 677 | 314 | src.c_end = Base::null; | 678 | 314 | src.c_end_of_storage = Base::null; | 679 | 314 | src.c_res_mem = Base::null; | 680 | 314 | } else { | 681 | 314 | std::swap(dest.c_start, src.c_start); | 682 | 314 | std::swap(dest.c_end, src.c_end); | 683 | 314 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 314 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 314 | } | 686 | 314 | }; | 687 | | | 688 | 314 | if (!this->is_initialized() && !rhs.is_initialized()) { | 689 | 32 | return; | 690 | 282 | } else if (!this->is_initialized() && rhs.is_initialized()) { | 691 | 282 | do_move(rhs, *this); | 692 | 282 | return; | 693 | 282 | } else if (this->is_initialized() && !rhs.is_initialized()) { | 694 | 0 | do_move(*this, rhs); | 695 | 0 | return; | 696 | 0 | } | 697 | | | 698 | 0 | if (this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 699 | 0 | size_t min_size = std::min(this->size(), rhs.size()); | 700 | 0 | size_t max_size = std::max(this->size(), rhs.size()); | 701 | |
| 702 | 0 | for (size_t i = 0; i < min_size; ++i) std::swap(this->operator[](i), rhs[i]); | 703 | |
| 704 | 0 | if (this->size() == max_size) { | 705 | 0 | for (size_t i = min_size; i < max_size; ++i) rhs[i] = this->operator[](i); | 706 | 0 | } else { | 707 | 0 | for (size_t i = min_size; i < max_size; ++i) this->operator[](i) = rhs[i]; | 708 | 0 | } | 709 | |
| 710 | 0 | size_t lhs_size = this->size(); | 711 | 0 | size_t lhs_allocated = this->allocated_bytes(); | 712 | 0 | size_t lhs_res_mem_used = this->c_res_mem - this->c_start; | 713 | |
| 714 | 0 | size_t rhs_size = rhs.size(); | 715 | 0 | size_t rhs_allocated = rhs.allocated_bytes(); | 716 | 0 | size_t rhs_res_mem_used = rhs.c_res_mem - rhs.c_start; | 717 | |
| 718 | 0 | this->c_end_of_storage = | 719 | 0 | this->c_start + rhs_allocated - Base::pad_right - Base::pad_left; | 720 | 0 | rhs.c_end_of_storage = rhs.c_start + lhs_allocated - Base::pad_right - Base::pad_left; | 721 | |
| 722 | 0 | this->c_end = this->c_start + this->byte_size(rhs_size); | 723 | 0 | rhs.c_end = rhs.c_start + this->byte_size(lhs_size); | 724 | |
| 725 | 0 | this->c_res_mem = this->c_start + rhs_res_mem_used; | 726 | 0 | rhs.c_res_mem = rhs.c_start + lhs_res_mem_used; | 727 | 0 | } else if (this->is_allocated_from_stack() && !rhs.is_allocated_from_stack()) { | 728 | 0 | swap_stack_heap(*this, rhs); | 729 | 0 | } else if (!this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 730 | 0 | swap_stack_heap(rhs, *this); | 731 | 0 | } else { | 732 | 0 | std::swap(this->c_start, rhs.c_start); | 733 | 0 | std::swap(this->c_end, rhs.c_end); | 734 | 0 | std::swap(this->c_end_of_storage, rhs.c_end_of_storage); | 735 | 0 | std::swap(this->c_res_mem, rhs.c_res_mem); | 736 | 0 | } | 737 | 0 | } |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm32ELm1EEELm0ELm0EE4swapERS6_ Line | Count | Source | 630 | 24 | void swap(PODArray& rhs) { | 631 | 24 | DCHECK(this->pad_left == rhs.pad_left && this->pad_right == rhs.pad_right) | 632 | 0 | << ", this.pad_left: " << this->pad_left << ", rhs.pad_left: " << rhs.pad_left | 633 | 0 | << ", this.pad_right: " << this->pad_right << ", rhs.pad_right: " << rhs.pad_right; | 634 | 24 | #ifndef NDEBUG | 635 | 24 | this->unprotect(); | 636 | 24 | rhs.unprotect(); | 637 | 24 | #endif | 638 | | | 639 | | /// Swap two PODArray objects, arr1 and arr2, that satisfy the following conditions: | 640 | | /// - The elements of arr1 are stored on stack. | 641 | | /// - The elements of arr2 are stored on heap. | 642 | 24 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { | 643 | 24 | size_t stack_size = arr1.size(); | 644 | 24 | size_t stack_allocated = arr1.allocated_bytes(); | 645 | 24 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; | 646 | | | 647 | 24 | size_t heap_size = arr2.size(); | 648 | 24 | size_t heap_allocated = arr2.allocated_bytes(); | 649 | 24 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; | 650 | | | 651 | | /// Keep track of the stack content we have to copy. | 652 | 24 | char* stack_c_start = arr1.c_start; | 653 | | | 654 | | /// arr1 takes ownership of the heap memory of arr2. | 655 | 24 | arr1.c_start = arr2.c_start; | 656 | 24 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; | 657 | 24 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); | 658 | 24 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; | 659 | | | 660 | | /// Allocate stack space for arr2. | 661 | 24 | arr2.alloc(stack_allocated); | 662 | | /// Copy the stack content. | 663 | 24 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); | 664 | 24 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); | 665 | 24 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; | 666 | 24 | }; | 667 | | | 668 | 24 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 24 | if (src.is_allocated_from_stack()) { | 670 | 24 | dest.dealloc(); | 671 | 24 | dest.alloc(src.allocated_bytes()); | 672 | 24 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 24 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 24 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | | | 676 | 24 | src.c_start = Base::null; | 677 | 24 | src.c_end = Base::null; | 678 | 24 | src.c_end_of_storage = Base::null; | 679 | 24 | src.c_res_mem = Base::null; | 680 | 24 | } else { | 681 | 24 | std::swap(dest.c_start, src.c_start); | 682 | 24 | std::swap(dest.c_end, src.c_end); | 683 | 24 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 24 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 24 | } | 686 | 24 | }; | 687 | | | 688 | 24 | if (!this->is_initialized() && !rhs.is_initialized()) { | 689 | 4 | return; | 690 | 20 | } else if (!this->is_initialized() && rhs.is_initialized()) { | 691 | 8 | do_move(rhs, *this); | 692 | 8 | return; | 693 | 12 | } else if (this->is_initialized() && !rhs.is_initialized()) { | 694 | 2 | do_move(*this, rhs); | 695 | 2 | return; | 696 | 2 | } | 697 | | | 698 | 10 | if (this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 699 | 5 | size_t min_size = std::min(this->size(), rhs.size()); | 700 | 5 | size_t max_size = std::max(this->size(), rhs.size()); | 701 | | | 702 | 18 | for (size_t i = 0; i < min_size; ++i) std::swap(this->operator[](i), rhs[i]); | 703 | | | 704 | 5 | if (this->size() == max_size) { | 705 | 6 | for (size_t i = min_size; i < max_size; ++i) rhs[i] = this->operator[](i); | 706 | 4 | } else { | 707 | 2 | for (size_t i = min_size; i < max_size; ++i) this->operator[](i) = rhs[i]; | 708 | 1 | } | 709 | | | 710 | 5 | size_t lhs_size = this->size(); | 711 | 5 | size_t lhs_allocated = this->allocated_bytes(); | 712 | 5 | size_t lhs_res_mem_used = this->c_res_mem - this->c_start; | 713 | | | 714 | 5 | size_t rhs_size = rhs.size(); | 715 | 5 | size_t rhs_allocated = rhs.allocated_bytes(); | 716 | 5 | size_t rhs_res_mem_used = rhs.c_res_mem - rhs.c_start; | 717 | | | 718 | 5 | this->c_end_of_storage = | 719 | 5 | this->c_start + rhs_allocated - Base::pad_right - Base::pad_left; | 720 | 5 | rhs.c_end_of_storage = rhs.c_start + lhs_allocated - Base::pad_right - Base::pad_left; | 721 | | | 722 | 5 | this->c_end = this->c_start + this->byte_size(rhs_size); | 723 | 5 | rhs.c_end = rhs.c_start + this->byte_size(lhs_size); | 724 | | | 725 | 5 | this->c_res_mem = this->c_start + rhs_res_mem_used; | 726 | 5 | rhs.c_res_mem = rhs.c_start + lhs_res_mem_used; | 727 | 5 | } else if (this->is_allocated_from_stack() && !rhs.is_allocated_from_stack()) { | 728 | 2 | swap_stack_heap(*this, rhs); | 729 | 3 | } else if (!this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 730 | 1 | swap_stack_heap(rhs, *this); | 731 | 2 | } else { | 732 | 2 | std::swap(this->c_start, rhs.c_start); | 733 | 2 | std::swap(this->c_end, rhs.c_end); | 734 | 2 | std::swap(this->c_end_of_storage, rhs.c_end_of_storage); | 735 | 2 | std::swap(this->c_res_mem, rhs.c_res_mem); | 736 | 2 | } | 737 | 10 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4swapERS4_ Line | Count | Source | 630 | 146 | void swap(PODArray& rhs) { | 631 | 146 | DCHECK(this->pad_left == rhs.pad_left && this->pad_right == rhs.pad_right) | 632 | 0 | << ", this.pad_left: " << this->pad_left << ", rhs.pad_left: " << rhs.pad_left | 633 | 0 | << ", this.pad_right: " << this->pad_right << ", rhs.pad_right: " << rhs.pad_right; | 634 | 146 | #ifndef NDEBUG | 635 | 146 | this->unprotect(); | 636 | 146 | rhs.unprotect(); | 637 | 146 | #endif | 638 | | | 639 | | /// Swap two PODArray objects, arr1 and arr2, that satisfy the following conditions: | 640 | | /// - The elements of arr1 are stored on stack. | 641 | | /// - The elements of arr2 are stored on heap. | 642 | 146 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { | 643 | 146 | size_t stack_size = arr1.size(); | 644 | 146 | size_t stack_allocated = arr1.allocated_bytes(); | 645 | 146 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; | 646 | | | 647 | 146 | size_t heap_size = arr2.size(); | 648 | 146 | size_t heap_allocated = arr2.allocated_bytes(); | 649 | 146 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; | 650 | | | 651 | | /// Keep track of the stack content we have to copy. | 652 | 146 | char* stack_c_start = arr1.c_start; | 653 | | | 654 | | /// arr1 takes ownership of the heap memory of arr2. | 655 | 146 | arr1.c_start = arr2.c_start; | 656 | 146 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; | 657 | 146 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); | 658 | 146 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; | 659 | | | 660 | | /// Allocate stack space for arr2. | 661 | 146 | arr2.alloc(stack_allocated); | 662 | | /// Copy the stack content. | 663 | 146 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); | 664 | 146 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); | 665 | 146 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; | 666 | 146 | }; | 667 | | | 668 | 146 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 146 | if (src.is_allocated_from_stack()) { | 670 | 146 | dest.dealloc(); | 671 | 146 | dest.alloc(src.allocated_bytes()); | 672 | 146 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 146 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 146 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | | | 676 | 146 | src.c_start = Base::null; | 677 | 146 | src.c_end = Base::null; | 678 | 146 | src.c_end_of_storage = Base::null; | 679 | 146 | src.c_res_mem = Base::null; | 680 | 146 | } else { | 681 | 146 | std::swap(dest.c_start, src.c_start); | 682 | 146 | std::swap(dest.c_end, src.c_end); | 683 | 146 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 146 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 146 | } | 686 | 146 | }; | 687 | | | 688 | 146 | if (!this->is_initialized() && !rhs.is_initialized()) { | 689 | 0 | return; | 690 | 146 | } else if (!this->is_initialized() && rhs.is_initialized()) { | 691 | 4 | do_move(rhs, *this); | 692 | 4 | return; | 693 | 142 | } else if (this->is_initialized() && !rhs.is_initialized()) { | 694 | 2 | do_move(*this, rhs); | 695 | 2 | return; | 696 | 2 | } | 697 | | | 698 | 140 | if (this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 699 | 0 | size_t min_size = std::min(this->size(), rhs.size()); | 700 | 0 | size_t max_size = std::max(this->size(), rhs.size()); | 701 | |
| 702 | 0 | for (size_t i = 0; i < min_size; ++i) std::swap(this->operator[](i), rhs[i]); | 703 | |
| 704 | 0 | if (this->size() == max_size) { | 705 | 0 | for (size_t i = min_size; i < max_size; ++i) rhs[i] = this->operator[](i); | 706 | 0 | } else { | 707 | 0 | for (size_t i = min_size; i < max_size; ++i) this->operator[](i) = rhs[i]; | 708 | 0 | } | 709 | |
| 710 | 0 | size_t lhs_size = this->size(); | 711 | 0 | size_t lhs_allocated = this->allocated_bytes(); | 712 | 0 | size_t lhs_res_mem_used = this->c_res_mem - this->c_start; | 713 | |
| 714 | 0 | size_t rhs_size = rhs.size(); | 715 | 0 | size_t rhs_allocated = rhs.allocated_bytes(); | 716 | 0 | size_t rhs_res_mem_used = rhs.c_res_mem - rhs.c_start; | 717 | |
| 718 | 0 | this->c_end_of_storage = | 719 | 0 | this->c_start + rhs_allocated - Base::pad_right - Base::pad_left; | 720 | 0 | rhs.c_end_of_storage = rhs.c_start + lhs_allocated - Base::pad_right - Base::pad_left; | 721 | |
| 722 | 0 | this->c_end = this->c_start + this->byte_size(rhs_size); | 723 | 0 | rhs.c_end = rhs.c_start + this->byte_size(lhs_size); | 724 | |
| 725 | 0 | this->c_res_mem = this->c_start + rhs_res_mem_used; | 726 | 0 | rhs.c_res_mem = rhs.c_start + lhs_res_mem_used; | 727 | 140 | } else if (this->is_allocated_from_stack() && !rhs.is_allocated_from_stack()) { | 728 | 0 | swap_stack_heap(*this, rhs); | 729 | 140 | } else if (!this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 730 | 0 | swap_stack_heap(rhs, *this); | 731 | 140 | } else { | 732 | 140 | std::swap(this->c_start, rhs.c_start); | 733 | 140 | std::swap(this->c_end, rhs.c_end); | 734 | 140 | std::swap(this->c_end_of_storage, rhs.c_end_of_storage); | 735 | 140 | std::swap(this->c_res_mem, rhs.c_res_mem); | 736 | 140 | } | 737 | 140 | } |
_ZN5doris8PODArrayImLm32ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm1EEELm0ELm0EE4swapERS6_ Line | Count | Source | 630 | 1 | void swap(PODArray& rhs) { | 631 | 1 | DCHECK(this->pad_left == rhs.pad_left && this->pad_right == rhs.pad_right) | 632 | 0 | << ", this.pad_left: " << this->pad_left << ", rhs.pad_left: " << rhs.pad_left | 633 | 0 | << ", this.pad_right: " << this->pad_right << ", rhs.pad_right: " << rhs.pad_right; | 634 | 1 | #ifndef NDEBUG | 635 | 1 | this->unprotect(); | 636 | 1 | rhs.unprotect(); | 637 | 1 | #endif | 638 | | | 639 | | /// Swap two PODArray objects, arr1 and arr2, that satisfy the following conditions: | 640 | | /// - The elements of arr1 are stored on stack. | 641 | | /// - The elements of arr2 are stored on heap. | 642 | 1 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { | 643 | 1 | size_t stack_size = arr1.size(); | 644 | 1 | size_t stack_allocated = arr1.allocated_bytes(); | 645 | 1 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; | 646 | | | 647 | 1 | size_t heap_size = arr2.size(); | 648 | 1 | size_t heap_allocated = arr2.allocated_bytes(); | 649 | 1 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; | 650 | | | 651 | | /// Keep track of the stack content we have to copy. | 652 | 1 | char* stack_c_start = arr1.c_start; | 653 | | | 654 | | /// arr1 takes ownership of the heap memory of arr2. | 655 | 1 | arr1.c_start = arr2.c_start; | 656 | 1 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; | 657 | 1 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); | 658 | 1 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; | 659 | | | 660 | | /// Allocate stack space for arr2. | 661 | 1 | arr2.alloc(stack_allocated); | 662 | | /// Copy the stack content. | 663 | 1 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); | 664 | 1 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); | 665 | 1 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; | 666 | 1 | }; | 667 | | | 668 | 1 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 1 | if (src.is_allocated_from_stack()) { | 670 | 1 | dest.dealloc(); | 671 | 1 | dest.alloc(src.allocated_bytes()); | 672 | 1 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 1 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 1 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | | | 676 | 1 | src.c_start = Base::null; | 677 | 1 | src.c_end = Base::null; | 678 | 1 | src.c_end_of_storage = Base::null; | 679 | 1 | src.c_res_mem = Base::null; | 680 | 1 | } else { | 681 | 1 | std::swap(dest.c_start, src.c_start); | 682 | 1 | std::swap(dest.c_end, src.c_end); | 683 | 1 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 1 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 1 | } | 686 | 1 | }; | 687 | | | 688 | 1 | if (!this->is_initialized() && !rhs.is_initialized()) { | 689 | 0 | return; | 690 | 1 | } else if (!this->is_initialized() && rhs.is_initialized()) { | 691 | 0 | do_move(rhs, *this); | 692 | 0 | return; | 693 | 1 | } else if (this->is_initialized() && !rhs.is_initialized()) { | 694 | 0 | do_move(*this, rhs); | 695 | 0 | return; | 696 | 0 | } | 697 | | | 698 | 1 | if (this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 699 | 0 | size_t min_size = std::min(this->size(), rhs.size()); | 700 | 0 | size_t max_size = std::max(this->size(), rhs.size()); | 701 | |
| 702 | 0 | for (size_t i = 0; i < min_size; ++i) std::swap(this->operator[](i), rhs[i]); | 703 | |
| 704 | 0 | if (this->size() == max_size) { | 705 | 0 | for (size_t i = min_size; i < max_size; ++i) rhs[i] = this->operator[](i); | 706 | 0 | } else { | 707 | 0 | for (size_t i = min_size; i < max_size; ++i) this->operator[](i) = rhs[i]; | 708 | 0 | } | 709 | |
| 710 | 0 | size_t lhs_size = this->size(); | 711 | 0 | size_t lhs_allocated = this->allocated_bytes(); | 712 | 0 | size_t lhs_res_mem_used = this->c_res_mem - this->c_start; | 713 | |
| 714 | 0 | size_t rhs_size = rhs.size(); | 715 | 0 | size_t rhs_allocated = rhs.allocated_bytes(); | 716 | 0 | size_t rhs_res_mem_used = rhs.c_res_mem - rhs.c_start; | 717 | |
| 718 | 0 | this->c_end_of_storage = | 719 | 0 | this->c_start + rhs_allocated - Base::pad_right - Base::pad_left; | 720 | 0 | rhs.c_end_of_storage = rhs.c_start + lhs_allocated - Base::pad_right - Base::pad_left; | 721 | |
| 722 | 0 | this->c_end = this->c_start + this->byte_size(rhs_size); | 723 | 0 | rhs.c_end = rhs.c_start + this->byte_size(lhs_size); | 724 | |
| 725 | 0 | this->c_res_mem = this->c_start + rhs_res_mem_used; | 726 | 0 | rhs.c_res_mem = rhs.c_start + lhs_res_mem_used; | 727 | 1 | } else if (this->is_allocated_from_stack() && !rhs.is_allocated_from_stack()) { | 728 | 0 | swap_stack_heap(*this, rhs); | 729 | 1 | } else if (!this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 730 | 0 | swap_stack_heap(rhs, *this); | 731 | 1 | } else { | 732 | 1 | std::swap(this->c_start, rhs.c_start); | 733 | 1 | std::swap(this->c_end, rhs.c_end); | 734 | 1 | std::swap(this->c_end_of_storage, rhs.c_end_of_storage); | 735 | 1 | std::swap(this->c_res_mem, rhs.c_res_mem); | 736 | 1 | } | 737 | 1 | } |
_ZN5doris8PODArrayImLm32ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ Line | Count | Source | 630 | 1 | void swap(PODArray& rhs) { | 631 | 1 | DCHECK(this->pad_left == rhs.pad_left && this->pad_right == rhs.pad_right) | 632 | 0 | << ", this.pad_left: " << this->pad_left << ", rhs.pad_left: " << rhs.pad_left | 633 | 0 | << ", this.pad_right: " << this->pad_right << ", rhs.pad_right: " << rhs.pad_right; | 634 | 1 | #ifndef NDEBUG | 635 | 1 | this->unprotect(); | 636 | 1 | rhs.unprotect(); | 637 | 1 | #endif | 638 | | | 639 | | /// Swap two PODArray objects, arr1 and arr2, that satisfy the following conditions: | 640 | | /// - The elements of arr1 are stored on stack. | 641 | | /// - The elements of arr2 are stored on heap. | 642 | 1 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { | 643 | 1 | size_t stack_size = arr1.size(); | 644 | 1 | size_t stack_allocated = arr1.allocated_bytes(); | 645 | 1 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; | 646 | | | 647 | 1 | size_t heap_size = arr2.size(); | 648 | 1 | size_t heap_allocated = arr2.allocated_bytes(); | 649 | 1 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; | 650 | | | 651 | | /// Keep track of the stack content we have to copy. | 652 | 1 | char* stack_c_start = arr1.c_start; | 653 | | | 654 | | /// arr1 takes ownership of the heap memory of arr2. | 655 | 1 | arr1.c_start = arr2.c_start; | 656 | 1 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; | 657 | 1 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); | 658 | 1 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; | 659 | | | 660 | | /// Allocate stack space for arr2. | 661 | 1 | arr2.alloc(stack_allocated); | 662 | | /// Copy the stack content. | 663 | 1 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); | 664 | 1 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); | 665 | 1 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; | 666 | 1 | }; | 667 | | | 668 | 1 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 1 | if (src.is_allocated_from_stack()) { | 670 | 1 | dest.dealloc(); | 671 | 1 | dest.alloc(src.allocated_bytes()); | 672 | 1 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 1 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 1 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | | | 676 | 1 | src.c_start = Base::null; | 677 | 1 | src.c_end = Base::null; | 678 | 1 | src.c_end_of_storage = Base::null; | 679 | 1 | src.c_res_mem = Base::null; | 680 | 1 | } else { | 681 | 1 | std::swap(dest.c_start, src.c_start); | 682 | 1 | std::swap(dest.c_end, src.c_end); | 683 | 1 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 1 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 1 | } | 686 | 1 | }; | 687 | | | 688 | 1 | if (!this->is_initialized() && !rhs.is_initialized()) { | 689 | 0 | return; | 690 | 1 | } else if (!this->is_initialized() && rhs.is_initialized()) { | 691 | 0 | do_move(rhs, *this); | 692 | 0 | return; | 693 | 1 | } else if (this->is_initialized() && !rhs.is_initialized()) { | 694 | 0 | do_move(*this, rhs); | 695 | 0 | return; | 696 | 0 | } | 697 | | | 698 | 1 | if (this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 699 | 0 | size_t min_size = std::min(this->size(), rhs.size()); | 700 | 0 | size_t max_size = std::max(this->size(), rhs.size()); | 701 | |
| 702 | 0 | for (size_t i = 0; i < min_size; ++i) std::swap(this->operator[](i), rhs[i]); | 703 | |
| 704 | 0 | if (this->size() == max_size) { | 705 | 0 | for (size_t i = min_size; i < max_size; ++i) rhs[i] = this->operator[](i); | 706 | 0 | } else { | 707 | 0 | for (size_t i = min_size; i < max_size; ++i) this->operator[](i) = rhs[i]; | 708 | 0 | } | 709 | |
| 710 | 0 | size_t lhs_size = this->size(); | 711 | 0 | size_t lhs_allocated = this->allocated_bytes(); | 712 | 0 | size_t lhs_res_mem_used = this->c_res_mem - this->c_start; | 713 | |
| 714 | 0 | size_t rhs_size = rhs.size(); | 715 | 0 | size_t rhs_allocated = rhs.allocated_bytes(); | 716 | 0 | size_t rhs_res_mem_used = rhs.c_res_mem - rhs.c_start; | 717 | |
| 718 | 0 | this->c_end_of_storage = | 719 | 0 | this->c_start + rhs_allocated - Base::pad_right - Base::pad_left; | 720 | 0 | rhs.c_end_of_storage = rhs.c_start + lhs_allocated - Base::pad_right - Base::pad_left; | 721 | |
| 722 | 0 | this->c_end = this->c_start + this->byte_size(rhs_size); | 723 | 0 | rhs.c_end = rhs.c_start + this->byte_size(lhs_size); | 724 | |
| 725 | 0 | this->c_res_mem = this->c_start + rhs_res_mem_used; | 726 | 0 | rhs.c_res_mem = rhs.c_start + lhs_res_mem_used; | 727 | 1 | } else if (this->is_allocated_from_stack() && !rhs.is_allocated_from_stack()) { | 728 | 0 | swap_stack_heap(*this, rhs); | 729 | 1 | } else if (!this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 730 | 0 | swap_stack_heap(rhs, *this); | 731 | 1 | } else { | 732 | 1 | std::swap(this->c_start, rhs.c_start); | 733 | 1 | std::swap(this->c_end, rhs.c_end); | 734 | 1 | std::swap(this->c_end_of_storage, rhs.c_end_of_storage); | 735 | 1 | std::swap(this->c_res_mem, rhs.c_res_mem); | 736 | 1 | } | 737 | 1 | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE4swapERS4_ Line | Count | Source | 630 | 32 | void swap(PODArray& rhs) { | 631 | 32 | DCHECK(this->pad_left == rhs.pad_left && this->pad_right == rhs.pad_right) | 632 | 0 | << ", this.pad_left: " << this->pad_left << ", rhs.pad_left: " << rhs.pad_left | 633 | 0 | << ", this.pad_right: " << this->pad_right << ", rhs.pad_right: " << rhs.pad_right; | 634 | 32 | #ifndef NDEBUG | 635 | 32 | this->unprotect(); | 636 | 32 | rhs.unprotect(); | 637 | 32 | #endif | 638 | | | 639 | | /// Swap two PODArray objects, arr1 and arr2, that satisfy the following conditions: | 640 | | /// - The elements of arr1 are stored on stack. | 641 | | /// - The elements of arr2 are stored on heap. | 642 | 32 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { | 643 | 32 | size_t stack_size = arr1.size(); | 644 | 32 | size_t stack_allocated = arr1.allocated_bytes(); | 645 | 32 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; | 646 | | | 647 | 32 | size_t heap_size = arr2.size(); | 648 | 32 | size_t heap_allocated = arr2.allocated_bytes(); | 649 | 32 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; | 650 | | | 651 | | /// Keep track of the stack content we have to copy. | 652 | 32 | char* stack_c_start = arr1.c_start; | 653 | | | 654 | | /// arr1 takes ownership of the heap memory of arr2. | 655 | 32 | arr1.c_start = arr2.c_start; | 656 | 32 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; | 657 | 32 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); | 658 | 32 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; | 659 | | | 660 | | /// Allocate stack space for arr2. | 661 | 32 | arr2.alloc(stack_allocated); | 662 | | /// Copy the stack content. | 663 | 32 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); | 664 | 32 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); | 665 | 32 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; | 666 | 32 | }; | 667 | | | 668 | 32 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 32 | if (src.is_allocated_from_stack()) { | 670 | 32 | dest.dealloc(); | 671 | 32 | dest.alloc(src.allocated_bytes()); | 672 | 32 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 32 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 32 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | | | 676 | 32 | src.c_start = Base::null; | 677 | 32 | src.c_end = Base::null; | 678 | 32 | src.c_end_of_storage = Base::null; | 679 | 32 | src.c_res_mem = Base::null; | 680 | 32 | } else { | 681 | 32 | std::swap(dest.c_start, src.c_start); | 682 | 32 | std::swap(dest.c_end, src.c_end); | 683 | 32 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 32 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 32 | } | 686 | 32 | }; | 687 | | | 688 | 32 | if (!this->is_initialized() && !rhs.is_initialized()) { | 689 | 3 | return; | 690 | 29 | } else if (!this->is_initialized() && rhs.is_initialized()) { | 691 | 29 | do_move(rhs, *this); | 692 | 29 | return; | 693 | 29 | } else if (this->is_initialized() && !rhs.is_initialized()) { | 694 | 0 | do_move(*this, rhs); | 695 | 0 | return; | 696 | 0 | } | 697 | | | 698 | 0 | if (this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 699 | 0 | size_t min_size = std::min(this->size(), rhs.size()); | 700 | 0 | size_t max_size = std::max(this->size(), rhs.size()); | 701 | |
| 702 | 0 | for (size_t i = 0; i < min_size; ++i) std::swap(this->operator[](i), rhs[i]); | 703 | |
| 704 | 0 | if (this->size() == max_size) { | 705 | 0 | for (size_t i = min_size; i < max_size; ++i) rhs[i] = this->operator[](i); | 706 | 0 | } else { | 707 | 0 | for (size_t i = min_size; i < max_size; ++i) this->operator[](i) = rhs[i]; | 708 | 0 | } | 709 | |
| 710 | 0 | size_t lhs_size = this->size(); | 711 | 0 | size_t lhs_allocated = this->allocated_bytes(); | 712 | 0 | size_t lhs_res_mem_used = this->c_res_mem - this->c_start; | 713 | |
| 714 | 0 | size_t rhs_size = rhs.size(); | 715 | 0 | size_t rhs_allocated = rhs.allocated_bytes(); | 716 | 0 | size_t rhs_res_mem_used = rhs.c_res_mem - rhs.c_start; | 717 | |
| 718 | 0 | this->c_end_of_storage = | 719 | 0 | this->c_start + rhs_allocated - Base::pad_right - Base::pad_left; | 720 | 0 | rhs.c_end_of_storage = rhs.c_start + lhs_allocated - Base::pad_right - Base::pad_left; | 721 | |
| 722 | 0 | this->c_end = this->c_start + this->byte_size(rhs_size); | 723 | 0 | rhs.c_end = rhs.c_start + this->byte_size(lhs_size); | 724 | |
| 725 | 0 | this->c_res_mem = this->c_start + rhs_res_mem_used; | 726 | 0 | rhs.c_res_mem = rhs.c_start + lhs_res_mem_used; | 727 | 0 | } else if (this->is_allocated_from_stack() && !rhs.is_allocated_from_stack()) { | 728 | 0 | swap_stack_heap(*this, rhs); | 729 | 0 | } else if (!this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 730 | 0 | swap_stack_heap(rhs, *this); | 731 | 0 | } else { | 732 | 0 | std::swap(this->c_start, rhs.c_start); | 733 | 0 | std::swap(this->c_end, rhs.c_end); | 734 | 0 | std::swap(this->c_end_of_storage, rhs.c_end_of_storage); | 735 | 0 | std::swap(this->c_res_mem, rhs.c_res_mem); | 736 | 0 | } | 737 | 0 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ Line | Count | Source | 630 | 3 | void swap(PODArray& rhs) { | 631 | 3 | DCHECK(this->pad_left == rhs.pad_left && this->pad_right == rhs.pad_right) | 632 | 0 | << ", this.pad_left: " << this->pad_left << ", rhs.pad_left: " << rhs.pad_left | 633 | 0 | << ", this.pad_right: " << this->pad_right << ", rhs.pad_right: " << rhs.pad_right; | 634 | 3 | #ifndef NDEBUG | 635 | 3 | this->unprotect(); | 636 | 3 | rhs.unprotect(); | 637 | 3 | #endif | 638 | | | 639 | | /// Swap two PODArray objects, arr1 and arr2, that satisfy the following conditions: | 640 | | /// - The elements of arr1 are stored on stack. | 641 | | /// - The elements of arr2 are stored on heap. | 642 | 3 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { | 643 | 3 | size_t stack_size = arr1.size(); | 644 | 3 | size_t stack_allocated = arr1.allocated_bytes(); | 645 | 3 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; | 646 | | | 647 | 3 | size_t heap_size = arr2.size(); | 648 | 3 | size_t heap_allocated = arr2.allocated_bytes(); | 649 | 3 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; | 650 | | | 651 | | /// Keep track of the stack content we have to copy. | 652 | 3 | char* stack_c_start = arr1.c_start; | 653 | | | 654 | | /// arr1 takes ownership of the heap memory of arr2. | 655 | 3 | arr1.c_start = arr2.c_start; | 656 | 3 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; | 657 | 3 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); | 658 | 3 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; | 659 | | | 660 | | /// Allocate stack space for arr2. | 661 | 3 | arr2.alloc(stack_allocated); | 662 | | /// Copy the stack content. | 663 | 3 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); | 664 | 3 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); | 665 | 3 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; | 666 | 3 | }; | 667 | | | 668 | 3 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 3 | if (src.is_allocated_from_stack()) { | 670 | 3 | dest.dealloc(); | 671 | 3 | dest.alloc(src.allocated_bytes()); | 672 | 3 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 3 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 3 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | | | 676 | 3 | src.c_start = Base::null; | 677 | 3 | src.c_end = Base::null; | 678 | 3 | src.c_end_of_storage = Base::null; | 679 | 3 | src.c_res_mem = Base::null; | 680 | 3 | } else { | 681 | 3 | std::swap(dest.c_start, src.c_start); | 682 | 3 | std::swap(dest.c_end, src.c_end); | 683 | 3 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 3 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 3 | } | 686 | 3 | }; | 687 | | | 688 | 3 | if (!this->is_initialized() && !rhs.is_initialized()) { | 689 | 0 | return; | 690 | 3 | } else if (!this->is_initialized() && rhs.is_initialized()) { | 691 | 3 | do_move(rhs, *this); | 692 | 3 | return; | 693 | 3 | } else if (this->is_initialized() && !rhs.is_initialized()) { | 694 | 0 | do_move(*this, rhs); | 695 | 0 | return; | 696 | 0 | } | 697 | | | 698 | 0 | if (this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 699 | 0 | size_t min_size = std::min(this->size(), rhs.size()); | 700 | 0 | size_t max_size = std::max(this->size(), rhs.size()); | 701 | |
| 702 | 0 | for (size_t i = 0; i < min_size; ++i) std::swap(this->operator[](i), rhs[i]); | 703 | |
| 704 | 0 | if (this->size() == max_size) { | 705 | 0 | for (size_t i = min_size; i < max_size; ++i) rhs[i] = this->operator[](i); | 706 | 0 | } else { | 707 | 0 | for (size_t i = min_size; i < max_size; ++i) this->operator[](i) = rhs[i]; | 708 | 0 | } | 709 | |
| 710 | 0 | size_t lhs_size = this->size(); | 711 | 0 | size_t lhs_allocated = this->allocated_bytes(); | 712 | 0 | size_t lhs_res_mem_used = this->c_res_mem - this->c_start; | 713 | |
| 714 | 0 | size_t rhs_size = rhs.size(); | 715 | 0 | size_t rhs_allocated = rhs.allocated_bytes(); | 716 | 0 | size_t rhs_res_mem_used = rhs.c_res_mem - rhs.c_start; | 717 | |
| 718 | 0 | this->c_end_of_storage = | 719 | 0 | this->c_start + rhs_allocated - Base::pad_right - Base::pad_left; | 720 | 0 | rhs.c_end_of_storage = rhs.c_start + lhs_allocated - Base::pad_right - Base::pad_left; | 721 | |
| 722 | 0 | this->c_end = this->c_start + this->byte_size(rhs_size); | 723 | 0 | rhs.c_end = rhs.c_start + this->byte_size(lhs_size); | 724 | |
| 725 | 0 | this->c_res_mem = this->c_start + rhs_res_mem_used; | 726 | 0 | rhs.c_res_mem = rhs.c_start + lhs_res_mem_used; | 727 | 0 | } else if (this->is_allocated_from_stack() && !rhs.is_allocated_from_stack()) { | 728 | 0 | swap_stack_heap(*this, rhs); | 729 | 0 | } else if (!this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 730 | 0 | swap_stack_heap(rhs, *this); | 731 | 0 | } else { | 732 | 0 | std::swap(this->c_start, rhs.c_start); | 733 | 0 | std::swap(this->c_end, rhs.c_end); | 734 | 0 | std::swap(this->c_end_of_storage, rhs.c_end_of_storage); | 735 | 0 | std::swap(this->c_res_mem, rhs.c_res_mem); | 736 | 0 | } | 737 | 0 | } |
_ZN5doris8PODArrayIPcLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS5_ Line | Count | Source | 630 | 4 | void swap(PODArray& rhs) { | 631 | 4 | DCHECK(this->pad_left == rhs.pad_left && this->pad_right == rhs.pad_right) | 632 | 0 | << ", this.pad_left: " << this->pad_left << ", rhs.pad_left: " << rhs.pad_left | 633 | 0 | << ", this.pad_right: " << this->pad_right << ", rhs.pad_right: " << rhs.pad_right; | 634 | 4 | #ifndef NDEBUG | 635 | 4 | this->unprotect(); | 636 | 4 | rhs.unprotect(); | 637 | 4 | #endif | 638 | | | 639 | | /// Swap two PODArray objects, arr1 and arr2, that satisfy the following conditions: | 640 | | /// - The elements of arr1 are stored on stack. | 641 | | /// - The elements of arr2 are stored on heap. | 642 | 4 | auto swap_stack_heap = [this](PODArray& arr1, PODArray& arr2) { | 643 | 4 | size_t stack_size = arr1.size(); | 644 | 4 | size_t stack_allocated = arr1.allocated_bytes(); | 645 | 4 | size_t stack_res_mem_used = arr1.c_res_mem - arr1.c_start; | 646 | | | 647 | 4 | size_t heap_size = arr2.size(); | 648 | 4 | size_t heap_allocated = arr2.allocated_bytes(); | 649 | 4 | size_t heap_res_mem_used = arr2.c_res_mem - arr2.c_start; | 650 | | | 651 | | /// Keep track of the stack content we have to copy. | 652 | 4 | char* stack_c_start = arr1.c_start; | 653 | | | 654 | | /// arr1 takes ownership of the heap memory of arr2. | 655 | 4 | arr1.c_start = arr2.c_start; | 656 | 4 | arr1.c_end_of_storage = arr1.c_start + heap_allocated - arr2.pad_right - arr2.pad_left; | 657 | 4 | arr1.c_end = arr1.c_start + this->byte_size(heap_size); | 658 | 4 | arr1.c_res_mem = arr1.c_start + heap_res_mem_used; | 659 | | | 660 | | /// Allocate stack space for arr2. | 661 | 4 | arr2.alloc(stack_allocated); | 662 | | /// Copy the stack content. | 663 | 4 | memcpy(arr2.c_start, stack_c_start, this->byte_size(stack_size)); | 664 | 4 | arr2.c_end = arr2.c_start + this->byte_size(stack_size); | 665 | 4 | arr2.c_res_mem = arr2.c_start + stack_res_mem_used; | 666 | 4 | }; | 667 | | | 668 | 4 | auto do_move = [this](PODArray& src, PODArray& dest) { | 669 | 4 | if (src.is_allocated_from_stack()) { | 670 | 4 | dest.dealloc(); | 671 | 4 | dest.alloc(src.allocated_bytes()); | 672 | 4 | memcpy(dest.c_start, src.c_start, this->byte_size(src.size())); | 673 | 4 | dest.c_end = dest.c_start + this->byte_size(src.size()); | 674 | 4 | dest.c_res_mem = dest.c_start + (src.c_res_mem - src.c_start); | 675 | | | 676 | 4 | src.c_start = Base::null; | 677 | 4 | src.c_end = Base::null; | 678 | 4 | src.c_end_of_storage = Base::null; | 679 | 4 | src.c_res_mem = Base::null; | 680 | 4 | } else { | 681 | 4 | std::swap(dest.c_start, src.c_start); | 682 | 4 | std::swap(dest.c_end, src.c_end); | 683 | 4 | std::swap(dest.c_end_of_storage, src.c_end_of_storage); | 684 | 4 | std::swap(dest.c_res_mem, src.c_res_mem); | 685 | 4 | } | 686 | 4 | }; | 687 | | | 688 | 4 | if (!this->is_initialized() && !rhs.is_initialized()) { | 689 | 0 | return; | 690 | 4 | } else if (!this->is_initialized() && rhs.is_initialized()) { | 691 | 0 | do_move(rhs, *this); | 692 | 0 | return; | 693 | 4 | } else if (this->is_initialized() && !rhs.is_initialized()) { | 694 | 4 | do_move(*this, rhs); | 695 | 4 | return; | 696 | 4 | } | 697 | | | 698 | 0 | if (this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 699 | 0 | size_t min_size = std::min(this->size(), rhs.size()); | 700 | 0 | size_t max_size = std::max(this->size(), rhs.size()); | 701 | |
| 702 | 0 | for (size_t i = 0; i < min_size; ++i) std::swap(this->operator[](i), rhs[i]); | 703 | |
| 704 | 0 | if (this->size() == max_size) { | 705 | 0 | for (size_t i = min_size; i < max_size; ++i) rhs[i] = this->operator[](i); | 706 | 0 | } else { | 707 | 0 | for (size_t i = min_size; i < max_size; ++i) this->operator[](i) = rhs[i]; | 708 | 0 | } | 709 | |
| 710 | 0 | size_t lhs_size = this->size(); | 711 | 0 | size_t lhs_allocated = this->allocated_bytes(); | 712 | 0 | size_t lhs_res_mem_used = this->c_res_mem - this->c_start; | 713 | |
| 714 | 0 | size_t rhs_size = rhs.size(); | 715 | 0 | size_t rhs_allocated = rhs.allocated_bytes(); | 716 | 0 | size_t rhs_res_mem_used = rhs.c_res_mem - rhs.c_start; | 717 | |
| 718 | 0 | this->c_end_of_storage = | 719 | 0 | this->c_start + rhs_allocated - Base::pad_right - Base::pad_left; | 720 | 0 | rhs.c_end_of_storage = rhs.c_start + lhs_allocated - Base::pad_right - Base::pad_left; | 721 | |
| 722 | 0 | this->c_end = this->c_start + this->byte_size(rhs_size); | 723 | 0 | rhs.c_end = rhs.c_start + this->byte_size(lhs_size); | 724 | |
| 725 | 0 | this->c_res_mem = this->c_start + rhs_res_mem_used; | 726 | 0 | rhs.c_res_mem = rhs.c_start + lhs_res_mem_used; | 727 | 0 | } else if (this->is_allocated_from_stack() && !rhs.is_allocated_from_stack()) { | 728 | 0 | swap_stack_heap(*this, rhs); | 729 | 0 | } else if (!this->is_allocated_from_stack() && rhs.is_allocated_from_stack()) { | 730 | 0 | swap_stack_heap(rhs, *this); | 731 | 0 | } else { | 732 | 0 | std::swap(this->c_start, rhs.c_start); | 733 | 0 | std::swap(this->c_end, rhs.c_end); | 734 | 0 | std::swap(this->c_end_of_storage, rhs.c_end_of_storage); | 735 | 0 | std::swap(this->c_res_mem, rhs.c_res_mem); | 736 | 0 | } | 737 | 0 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ Unexecuted instantiation: _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ Unexecuted instantiation: _ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ Unexecuted instantiation: _ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ Unexecuted instantiation: _ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE4swapERS4_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE4swapERS6_ |
738 | | |
739 | | /// reset the array capacity |
740 | | /// replace the all elements using the value |
741 | 189k | void assign(size_t n, const T& x) { |
742 | 189k | this->resize(n); |
743 | 189k | std::fill(begin(), end(), x); |
744 | 189k | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKh Line | Count | Source | 741 | 189k | void assign(size_t n, const T& x) { | 742 | 189k | this->resize(n); | 743 | 189k | std::fill(begin(), end(), x); | 744 | 189k | } |
_ZN5doris8PODArrayIoLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKo Line | Count | Source | 741 | 2 | void assign(size_t n, const T& x) { | 742 | 2 | this->resize(n); | 743 | 2 | std::fill(begin(), end(), x); | 744 | 2 | } |
_ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKj Line | Count | Source | 741 | 6 | void assign(size_t n, const T& x) { | 742 | 6 | this->resize(n); | 743 | 6 | std::fill(begin(), end(), x); | 744 | 6 | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKm Line | Count | Source | 741 | 1 | void assign(size_t n, const T& x) { | 742 | 1 | this->resize(n); | 743 | 1 | std::fill(begin(), end(), x); | 744 | 1 | } |
_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm0ELm0EE6assignEmRKh Line | Count | Source | 741 | 3 | void assign(size_t n, const T& x) { | 742 | 3 | this->resize(n); | 743 | 3 | std::fill(begin(), end(), x); | 744 | 3 | } |
_ZN5doris8PODArrayIiLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKi Line | Count | Source | 741 | 37 | void assign(size_t n, const T& x) { | 742 | 37 | this->resize(n); | 743 | 37 | std::fill(begin(), end(), x); | 744 | 37 | } |
Unexecuted instantiation: _ZN5doris8PODArrayIaLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKa _ZN5doris8PODArrayIsLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKs Line | Count | Source | 741 | 4 | void assign(size_t n, const T& x) { | 742 | 4 | this->resize(n); | 743 | 4 | std::fill(begin(), end(), x); | 744 | 4 | } |
_ZN5doris8PODArrayIlLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKl Line | Count | Source | 741 | 21 | void assign(size_t n, const T& x) { | 742 | 21 | this->resize(n); | 743 | 21 | std::fill(begin(), end(), x); | 744 | 21 | } |
_ZN5doris8PODArrayInLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKn Line | Count | Source | 741 | 32 | void assign(size_t n, const T& x) { | 742 | 32 | this->resize(n); | 743 | 32 | std::fill(begin(), end(), x); | 744 | 32 | } |
_ZN5doris8PODArrayIfLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKf Line | Count | Source | 741 | 1 | void assign(size_t n, const T& x) { | 742 | 1 | this->resize(n); | 743 | 1 | std::fill(begin(), end(), x); | 744 | 1 | } |
_ZN5doris8PODArrayIdLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKd Line | Count | Source | 741 | 3 | void assign(size_t n, const T& x) { | 742 | 3 | this->resize(n); | 743 | 3 | std::fill(begin(), end(), x); | 744 | 3 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16VecDateTimeValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKS1_ _ZN5doris8PODArrayINS_11DateV2ValueINS_15DateV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKS3_ Line | Count | Source | 741 | 8 | void assign(size_t n, const T& x) { | 742 | 8 | this->resize(n); | 743 | 8 | std::fill(begin(), end(), x); | 744 | 8 | } |
_ZN5doris8PODArrayINS_11DateV2ValueINS_19DateTimeV2ValueTypeEEELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKS3_ Line | Count | Source | 741 | 50 | void assign(size_t n, const T& x) { | 742 | 50 | this->resize(n); | 743 | 50 | std::fill(begin(), end(), x); | 744 | 50 | } |
Unexecuted instantiation: _ZN5doris8PODArrayINS_16TimestampTzValueELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKS1_ _ZN5doris8PODArrayINS_10StringViewELm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignEmRKS1_ Line | Count | Source | 741 | 20 | void assign(size_t n, const T& x) { | 742 | 20 | this->resize(n); | 743 | 20 | std::fill(begin(), end(), x); | 744 | 20 | } |
|
745 | | |
746 | | template <typename It1, typename It2> |
747 | 66.1k | void assign(It1 from_begin, It2 from_end) { |
748 | 66.1k | this->assert_not_intersects(from_begin, from_end); |
749 | 66.1k | size_t required_capacity = from_end - from_begin; |
750 | 66.1k | if (required_capacity > this->capacity()) |
751 | 56.4k | this->reserve(round_up_to_power_of_two_or_zero(required_capacity)); |
752 | | |
753 | 66.1k | size_t bytes_to_copy = this->byte_size(required_capacity); |
754 | 66.1k | this->reset_resident_memory(this->c_start + bytes_to_copy); |
755 | 66.1k | memcpy(this->c_start, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); |
756 | 66.1k | this->c_end = this->c_start + bytes_to_copy; |
757 | 66.1k | } _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignIPKhS7_EEvT_T0_ Line | Count | Source | 747 | 23.8k | void assign(It1 from_begin, It2 from_end) { | 748 | 23.8k | this->assert_not_intersects(from_begin, from_end); | 749 | 23.8k | size_t required_capacity = from_end - from_begin; | 750 | 23.8k | if (required_capacity > this->capacity()) | 751 | 14.1k | this->reserve(round_up_to_power_of_two_or_zero(required_capacity)); | 752 | | | 753 | 23.8k | size_t bytes_to_copy = this->byte_size(required_capacity); | 754 | 23.8k | this->reset_resident_memory(this->c_start + bytes_to_copy); | 755 | 23.8k | memcpy(this->c_start, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 756 | 23.8k | this->c_end = this->c_start + bytes_to_copy; | 757 | 23.8k | } |
Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignIN9__gnu_cxx17__normal_iteratorIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESF_EEvT_T0_ _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignIPKjS7_EEvT_T0_ Line | Count | Source | 747 | 37.4k | void assign(It1 from_begin, It2 from_end) { | 748 | 37.4k | this->assert_not_intersects(from_begin, from_end); | 749 | 37.4k | size_t required_capacity = from_end - from_begin; | 750 | 37.4k | if (required_capacity > this->capacity()) | 751 | 37.4k | this->reserve(round_up_to_power_of_two_or_zero(required_capacity)); | 752 | | | 753 | 37.4k | size_t bytes_to_copy = this->byte_size(required_capacity); | 754 | 37.4k | this->reset_resident_memory(this->c_start + bytes_to_copy); | 755 | 37.4k | memcpy(this->c_start, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 756 | 37.4k | this->c_end = this->c_start + bytes_to_copy; | 757 | 37.4k | } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignIPKmS7_EEvT_T0_ Line | Count | Source | 747 | 4.86k | void assign(It1 from_begin, It2 from_end) { | 748 | 4.86k | this->assert_not_intersects(from_begin, from_end); | 749 | 4.86k | size_t required_capacity = from_end - from_begin; | 750 | 4.86k | if (required_capacity > this->capacity()) | 751 | 4.83k | this->reserve(round_up_to_power_of_two_or_zero(required_capacity)); | 752 | | | 753 | 4.86k | size_t bytes_to_copy = this->byte_size(required_capacity); | 754 | 4.86k | this->reset_resident_memory(this->c_start + bytes_to_copy); | 755 | 4.86k | memcpy(this->c_start, reinterpret_cast<const void*>(&*from_begin), bytes_to_copy); | 756 | 4.86k | this->c_end = this->c_start + bytes_to_copy; | 757 | 4.86k | } |
Unexecuted instantiation: _ZN5doris8PODArrayIjLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignIPKmS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignIPKjS7_EEvT_T0_ Unexecuted instantiation: _ZN5doris8PODArrayIdLm64ENS_24AllocatorWithStackMemoryINS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm64ELm8EEELm0ELm0EE6assignIPKdS9_EEvT_T0_ |
758 | | |
759 | 5 | void assign(const PODArray& from) { assign(from.begin(), from.end()); }_ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignERKS4_ Line | Count | Source | 759 | 1 | void assign(const PODArray& from) { assign(from.begin(), from.end()); } |
_ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE6assignERKS4_ Line | Count | Source | 759 | 4 | void assign(const PODArray& from) { assign(from.begin(), from.end()); } |
|
760 | | |
761 | 10 | void erase(iterator first, iterator last) { |
762 | 10 | size_t items_to_move = end() - last; |
763 | | |
764 | 41 | while (items_to_move != 0) { |
765 | 31 | *first = *last; |
766 | | |
767 | 31 | ++first; |
768 | 31 | ++last; |
769 | | |
770 | 31 | --items_to_move; |
771 | 31 | } |
772 | | |
773 | 10 | this->c_end = reinterpret_cast<char*>(first); |
774 | 10 | } Unexecuted instantiation: _ZN5doris8PODArrayIhLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5eraseEPhS5_ _ZN5doris8PODArrayImLm4096ENS_9AllocatorILb0ELb0ELb0ENS_22DefaultMemoryAllocatorELb0EEELm16ELm15EE5eraseEPmS5_ Line | Count | Source | 761 | 10 | void erase(iterator first, iterator last) { | 762 | 10 | size_t items_to_move = end() - last; | 763 | | | 764 | 41 | while (items_to_move != 0) { | 765 | 31 | *first = *last; | 766 | | | 767 | 31 | ++first; | 768 | 31 | ++last; | 769 | | | 770 | 31 | --items_to_move; | 771 | 31 | } | 772 | | | 773 | 10 | this->c_end = reinterpret_cast<char*>(first); | 774 | 10 | } |
|
775 | | |
776 | 1 | void erase(iterator pos) { this->erase(pos, pos + 1); } |
777 | | |
778 | 10 | bool operator==(const PODArray& rhs) const { |
779 | 10 | if (this->size() != rhs.size()) { |
780 | 0 | return false; |
781 | 0 | } |
782 | | |
783 | 10 | const_iterator lhs_it = begin(); |
784 | 10 | const_iterator rhs_it = rhs.begin(); |
785 | | |
786 | 64 | while (lhs_it != end()) { |
787 | 54 | if (*lhs_it != *rhs_it) { |
788 | 0 | return false; |
789 | 0 | } |
790 | | |
791 | 54 | ++lhs_it; |
792 | 54 | ++rhs_it; |
793 | 54 | } |
794 | | |
795 | 10 | return true; |
796 | 10 | } |
797 | | |
798 | 0 | bool operator!=(const PODArray& rhs) const { return !operator==(rhs); } |
799 | | }; |
800 | | |
801 | | template <typename T, size_t initial_bytes, typename TAllocator, size_t pad_right_, |
802 | | size_t pad_left_> |
803 | | void swap(PODArray<T, initial_bytes, TAllocator, pad_right_, pad_left_>& lhs, |
804 | | PODArray<T, initial_bytes, TAllocator, pad_right_, pad_left_>& rhs) { |
805 | | lhs.swap(rhs); |
806 | | } |
807 | | |
808 | | } // namespace doris |
809 | | #include "common/compile_check_avoid_end.h" |