Home
last modified time | relevance | path

Searched refs:used_ (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/files/
H A DResourceState.h19 CHECK(used_ + using_ <= limit_); in start_use()
25 used_ += x; in stop_use()
41 used_ += extra_limit; in update_estimated_limit()
57 return limit_ - used_; in active_limit()
65 return limit_ - using_ - used_; in unused()
69 auto new_unused = max(limit_, estimated_limit_) - using_ - used_; in estimated_extra()
71 return new_unused + using_ + used_ - limit_; in estimated_extra()
80 used_ += other.used_;
86 used_ -= other.used_;
92 used_ = other.used_; in update_master()
[all …]
/dports/games/frogatto/frogatto-1.3.1/MacOSJet/boost/include/boost/interprocess/containers/container/detail/
H A Dadvanced_insert_int.hpp185 , used_(false) in advanced_insert_aux_emplace()
207 if(!used_){ in priv_copy_all_to()
216 if(!used_){ in priv_uninitialized_copy_all_to()
227 if(!used_){ in priv_uninitialized_copy_some_and_update()
239 if(!used_){ in priv_copy_some_and_update()
246 bool used_; member
275 if(!used_){ in copy_all_to()
284 if(!used_){ in uninitialized_copy_all_to()
294 if(!used_){ in uninitialized_copy_some_and_update()
305 if(!used_){ in copy_some_and_update()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/base/
H A Dbyte_queue.cc21 used_ = 0; in Reset()
39 if (used_ > 0) { in Push()
47 memcpy(new_buffer.get(), Front(), used_); in Push()
58 } else if ((offset_ + used_ + size) > size_) { in Push()
60 memmove(buffer_.get(), Front(), used_); in Push()
64 memcpy(Front() + used_, data, size); in Push()
65 used_ += size; in Push()
72 *size = used_; in Peek()
76 DCHECK_LE(count, used_); in Pop()
79 used_ -= count; in Pop()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/base/
H A Dbyte_queue.cc22 used_ = 0; in Reset()
40 if (used_ > 0) { in Push()
48 memcpy(new_buffer.get(), Front(), used_); in Push()
59 } else if ((offset_ + used_ + size) > size_) { in Push()
61 memmove(buffer_.get(), Front(), used_); in Push()
65 memcpy(Front() + used_, data, size); in Push()
66 used_ += size; in Push()
73 *size = used_; in Peek()
77 DCHECK_LE(count, used_); in Pop()
80 used_ -= count; in Pop()
[all …]
/dports/devel/hpx/hpx-1.2.1/plugins/parcelport/verbs/rdma/
H A Drdma_memory_pool.hpp146 used_ = 0; in allocate_pool()
153 if (used_!=0) { in DeallocatePool()
156 << " refcounts " << decnumber(used_)); in DeallocatePool()
174 << decnumber(used_-1)); in push()
198 used_--; in push()
227 used_++; in pop()
230 << decnumber(used_)); in pop()
236 used_ -= N; in decrement_used_count()
242 std::atomic<int> used_; member
357 << " used " << decnumber(this->small_.used_) in allocate_region()
[all …]
/dports/math/cbc/Cbc-releases-2.10.5/Cbc/src/
H A DCbcHeuristicRINS.cpp35 used_ = NULL; in CbcHeuristicRINS()
64 delete[] used_; in ~CbcHeuristicRINS()
86 delete[] used_; in operator =()
90 memcpy(used_, rhs.used_, numberColumns); in operator =()
92 used_ = NULL; in operator =()
125 memcpy(used_, rhs.used_, numberColumns); in CbcHeuristicRINS()
127 used_ = NULL; in CbcHeuristicRINS()
134 delete[] used_; in resetModel()
136 if (model_ && used_) { in resetModel()
141 used_ = NULL; in resetModel()
[all …]
H A DCbcHeuristicLocal.cpp30 used_ = NULL; in CbcHeuristicLocal()
57 delete[] used_; in ~CbcHeuristicLocal()
89 used_ = CoinCopyOfArray(rhs.used_, numberColumns); in CbcHeuristicLocal()
91 used_ = NULL; in CbcHeuristicLocal()
104 delete[] used_; in operator =()
107 used_ = CoinCopyOfArray(rhs.used_, numberColumns); in operator =()
119 delete[] used_; in resetModel()
125 used_ = NULL; in resetModel()
979 used_ = NULL; in CbcHeuristicProximity()
1031 used_ = CoinCopyOfArray(rhs.used_, numberColumns); in CbcHeuristicProximity()
[all …]
/dports/databases/galera/galera-release_25.3.35/galerautils/src/
H A Dgu_reserved_container.hpp85 used_(n) in ReservedAllocator()
91 used_(other.used_) in ReservedAllocator()
100 used_(reserved) in ReservedAllocator()
111 if (reserved - used_ >= n /* && buffer_ != NULL */) in allocate()
119 T* const ret(buffer_->base_ptr() + used_); in allocate()
120 used_ += n; in allocate()
140 assert (used_ > 0); in deallocate()
142 if (buffer_->base_ptr() + used_ == p + n) in deallocate()
145 used_ -= n; in deallocate()
159 size_type used() const { return used_; } in used()
[all …]
/dports/graphics/glosm/glosm-glosm-0.0.2/libglosm-server/src/
H A DException.cc33 memcpy(newbuffer, buffer_, used_); in EnsureSize()
43 used_(0), in SafeStringBuffer()
50 used_(allocated_ - 1), in SafeStringBuffer()
59 used_(other.used_), in SafeStringBuffer()
69 EnsureSize(used_ + reserve + 1); in SetReserve()
74 EnsureSize(used_ + n + reserve_ + 1); in xsputn()
75 memcpy(buffer_ + used_, s, n); in xsputn()
76 used_ += n; in xsputn()
84 memcpy(buffer_ + used_, s, n); in AppendReserve()
85 used_ += n; in AppendReserve()
[all …]
/dports/databases/galera26/galera-release_26.4.10/galerautils/src/
H A Dgu_reserved_container.hpp108 used_(n) in ReservedAllocator()
114 used_(other.used_) in ReservedAllocator()
123 used_(reserved) in ReservedAllocator()
134 if (reserved - used_ >= n /* && buffer_ != NULL */) in allocate()
142 T* const ret(buffer_->base_ptr() + used_); in allocate()
143 used_ += n; in allocate()
163 assert (used_ > 0); in deallocate()
165 if (buffer_->base_ptr() + used_ == p + n) in deallocate()
168 used_ -= n; in deallocate()
182 size_type used() const { return used_; } in used()
[all …]
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mbl/
H A Dmbl_random_n_from_m.cxx33 if (used_.size()<m) used_.resize(m); in choose_n_from_m()
35 for (unsigned int i=0;i<m;i++) used_[i] = false; in choose_n_from_m()
47 while (used_[k2]) in choose_n_from_m()
52 used_[k2] = true; in choose_n_from_m()
68 if (!used_[i]) in choose_n_from_m()
85 if (used_.size()<m) used_.resize(m); in choose_n_from_m()
87 for (unsigned int i=0;i<m;i++) used_[i] = false; in choose_n_from_m()
99 while (used_[k2]) in choose_n_from_m()
104 used_[k2] = true; in choose_n_from_m()
120 if (!used_[i]) in choose_n_from_m()
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/google-breakpad/common/
H A Dmemory.h145 used_(0) { in allocator_()
149 if (used_ == allocated_) in push_back()
151 a_[used_++] = new_element; in push_back()
155 return used_; in size()
160 if (sz <= used_) {
161 used_ = sz;
170 while (sz > used_) {
171 a_[used_++] = c;
188 memcpy(new_array, a_, used_ * sizeof(T)); in Realloc()
196 unsigned used_; // number of used slots in |a_|. variable
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/nfs-ganesha/
H A Dfileinfo_cache.cc90 while (!used_.empty()) { in ~FileInfoCache()
91 Entry *entry = std::addressof(used_.front()); in ~FileInfoCache()
92 used_.pop_front(); in ~FileInfoCache()
110 used_.splice(used_.begin(), lru_, lru_.iterator_to(*it)); in acquire()
116 used_.push_front(*entry); in acquire()
129 lru_.splice(lru_.end(), used_, used_.iterator_to(*entry)); in release()
140 used_.erase(used_.iterator_to(*entry)); in erase()
155 bool is_full = lru_.size() + used_.size() >= max_entries_; in popExpired()
167 return lru_.size() + used_.size(); in size()
184 EntryList used_; member in FileInfoCache
/dports/textproc/jade/jade-1.2.1/include/
H A DPointerTable.cxx15 : used_(0), usedLimit_(0), null_(0) in PointerTable()
23 used_ = 0; in clear()
47 if (used_ >= usedLimit_) {
73 used_++;
81 if (used_ > 0) { in lookup()
92 if (used_ > 0) {
108 --used_;
119 size_t tem = to.used_; in swap()
120 to.used_ = used_; in swap()
121 used_ = tem; in swap()
/dports/textproc/opensp/OpenSP-1.5.2/include/
H A DPointerTable.cxx15 : used_(0), usedLimit_(0), null_(0) in PointerTable()
23 used_ = 0; in clear()
47 if (used_ >= usedLimit_) {
73 used_++;
81 if (used_ > 0) { in lookup()
92 if (used_ > 0) {
108 --used_;
119 size_t tem = to.used_; in swap()
120 to.used_ = used_; in swap()
121 used_ = tem; in swap()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/tools/huffman_trie/trie/
H A Dtrie_bit_buffer.cc19 current_byte_ |= bit << (7 - used_); in WriteBit()
20 used_++; in WriteBit()
22 if (used_ == 8) { in WriteBit()
56 if (used_ != 0) { in WritePosition()
113 element.number_of_bits = used_; in AppendBitsElement()
147 if (used_) { in Flush()
148 AppendBitsElement(current_byte_, used_); in Flush()
150 used_ = 0; in Flush()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/tools/huffman_trie/trie/
H A Dtrie_bit_buffer.cc21 current_byte_ |= bit << (7 - used_); in WriteBit()
22 used_++; in WriteBit()
24 if (used_ == 8) { in WriteBit()
58 if (used_ != 0) { in WritePosition()
115 element.number_of_bits = used_; in AppendBitsElement()
149 if (used_) { in Flush()
150 AppendBitsElement(current_byte_, used_); in Flush()
152 used_ = 0; in Flush()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/tools/huffman_trie/
H A Dbit_writer.cc26 current_byte_ |= bit << (7 - used_); in WriteBit()
27 used_++; in WriteBit()
30 if (used_ == 8) { in WriteBit()
36 position_ += (8 - used_); in Flush()
39 used_ = 0; in Flush()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/tools/huffman_trie/
H A Dbit_writer.cc26 current_byte_ |= bit << (7 - used_); in WriteBit()
27 used_++; in WriteBit()
30 if (used_ == 8) { in WriteBit()
36 position_ += (8 - used_); in Flush()
39 used_ = 0; in Flush()
/dports/databases/galera26/galera-release_26.4.10/gcache/src/
H A Dgcache_page.cpp22 if (gu_unlikely (used_ > 0)) in reset()
25 << "' used by " << used_ << " buffers. Aborting."; in reset()
56 used_ (0), in Page()
82 used_++; in malloc()
138 assert(used_ > 0); in realloc()
139 used_--; in realloc()
155 << used_; in print()
157 if (used_ > 0 && debug_ > 0) in print()
/dports/databases/galera/galera-release_25.3.35/gcache/src/
H A Dgcache_page.cpp22 if (gu_unlikely (used_ > 0)) in reset()
25 << "' used by " << used_ << " buffers. Aborting."; in reset()
56 used_ (0), in Page()
83 used_++; in malloc()
139 assert(used_ > 0); in realloc()
140 used_--; in realloc()
156 << used_; in print()
158 if (used_ > 0 && debug_ > 0) in print()
/dports/net-p2p/eiskaltdcpp-cli/eiskaltdcpp-2.2.10/json/jsoncpp/src/
H A Djson_batchallocator.h64 if ( currentBatch_->used_ == currentBatch_->end_ ) in allocate()
67 while ( currentBatch_ && currentBatch_->used_ == currentBatch_->end_ ) in allocate()
77 AllocatedType *allocated = currentBatch_->used_; in allocate()
78 currentBatch_->used_ += objectPerAllocation; in allocate()
95 AllocatedType *used_; member
110 batch->used_ = batch->buffer_; in allocateBatch()
/dports/math/vtk6/VTK-6.2.0/ThirdParty/jsoncpp/vtkjsoncpp/
H A Djson_batchallocator.h61 if (currentBatch_->used_ == currentBatch_->end_) { in allocate()
63 while (currentBatch_ && currentBatch_->used_ == currentBatch_->end_) in allocate()
73 AllocatedType* allocated = currentBatch_->used_; in allocate()
74 currentBatch_->used_ += objectPerAllocation; in allocate()
90 AllocatedType* used_; member
105 batch->used_ = batch->buffer_; in allocateBatch()
/dports/net-p2p/eiskaltdcpp-gtk/eiskaltdcpp-2.2.10/json/jsoncpp/src/
H A Djson_batchallocator.h64 if ( currentBatch_->used_ == currentBatch_->end_ ) in allocate()
67 while ( currentBatch_ && currentBatch_->used_ == currentBatch_->end_ ) in allocate()
77 AllocatedType *allocated = currentBatch_->used_; in allocate()
78 currentBatch_->used_ += objectPerAllocation; in allocate()
95 AllocatedType *used_; member
110 batch->used_ = batch->buffer_; in allocateBatch()
/dports/net-p2p/eiskaltdcpp-data/eiskaltdcpp-2.2.10/json/jsoncpp/src/
H A Djson_batchallocator.h64 if ( currentBatch_->used_ == currentBatch_->end_ ) in allocate()
67 while ( currentBatch_ && currentBatch_->used_ == currentBatch_->end_ ) in allocate()
77 AllocatedType *allocated = currentBatch_->used_; in allocate()
78 currentBatch_->used_ += objectPerAllocation; in allocate()
95 AllocatedType *used_; member
110 batch->used_ = batch->buffer_; in allocateBatch()

12345678910>>...14