Home
last modified time | relevance | path

Searched refs:m_capacity (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/boost/compute/detail/
Dlru_cache.hpp38 : m_capacity(capacity) in lru_cache()
53 return m_capacity; in capacity()
71 if(size() >= m_capacity){ in insert()
132 size_t m_capacity; member in boost::compute::detail::lru_cache
/third_party/boost/libs/compute/include/boost/compute/detail/
Dlru_cache.hpp38 : m_capacity(capacity) in lru_cache()
53 return m_capacity; in capacity()
71 if(size() >= m_capacity){ in insert()
132 size_t m_capacity; member in boost::compute::detail::lru_cache
/third_party/boost/libs/circular_buffer/example/
Dbounded_buffer_comparison.cpp118 explicit bounded_buffer_deque_based(size_type capacity) : m_capacity(capacity) {} in bounded_buffer_deque_based()
143 bool is_not_full() const { return m_container.size() < m_capacity; } in is_not_full()
145 const size_type m_capacity; member in bounded_buffer_deque_based
161 explicit bounded_buffer_list_based(size_type capacity) : m_capacity(capacity) {} in bounded_buffer_list_based()
186 bool is_not_full() const { return m_container.size() < m_capacity; } in is_not_full()
188 const size_type m_capacity; member in bounded_buffer_list_based
/third_party/boost/libs/circular_buffer/test/
Dbounded_buffer_comparison.cpp118 explicit bounded_buffer_deque_based(size_type capacity) : m_capacity(capacity) {} in bounded_buffer_deque_based()
143 bool is_not_full() const { return m_container.size() < m_capacity; } in is_not_full()
145 const size_type m_capacity; member in bounded_buffer_deque_based
161 explicit bounded_buffer_list_based(size_type capacity) : m_capacity(capacity) {} in bounded_buffer_list_based()
186 bool is_not_full() const { return m_container.size() < m_capacity; } in is_not_full()
188 const size_type m_capacity; member in bounded_buffer_list_based
/third_party/boost/libs/log/src/windows/
Dipc_reliable_message_queue.cpp105 const uint32_t m_capacity; member
121 m_capacity(capacity), in header()
155 BOOST_LOG_MIX_HEADER_MEMBER(m_capacity); in get_abi_tag()
171 BOOST_ASSERT(index < m_capacity); in get_block()
280 return get_header()->m_capacity; in capacity()
294 if (BOOST_UNLIKELY(block_count > hdr->m_capacity)) in send()
304 if ((hdr->m_capacity - hdr->m_size) >= block_count) in send()
328 if (BOOST_UNLIKELY(block_count > hdr->m_capacity)) in try_send()
336 if ((hdr->m_capacity - hdr->m_size) < block_count) in try_send()
563 const uint32_t capacity = hdr->m_capacity; in enqueue_message()
[all …]
/third_party/boost/libs/log/src/posix/
Dipc_reliable_message_queue.cpp111 const uint32_t m_capacity; member
129 m_capacity(capacity), in header()
163 BOOST_LOG_MIX_HEADER_MEMBER(m_capacity); in get_abi_tag()
180 BOOST_ASSERT(index < m_capacity); in get_block()
288 return get_header()->m_capacity; in capacity()
302 if (BOOST_UNLIKELY(block_count > hdr->m_capacity)) in send()
316 if ((hdr->m_capacity - hdr->m_size) >= block_count) in send()
339 if (BOOST_UNLIKELY(block_count > hdr->m_capacity)) in try_send()
351 if ((hdr->m_capacity - hdr->m_size) < block_count) in try_send()
614 const uint32_t capacity = hdr->m_capacity; in enqueue_message()
[all …]
/third_party/boost/boost/container/
Dvector.hpp310 : allocator_type(), m_start(), m_size(), m_capacity() in BOOST_NOEXCEPT_IF()
316 : allocator_type(boost::forward<AllocConvertible>(a)), m_start(), m_size(), m_capacity() in vector_alloc_holder()
326 , m_capacity() in vector_alloc_holder()
332 m_capacity = static_cast<stored_size_type>(final_cap); in vector_alloc_holder()
342 , m_capacity() in vector_alloc_holder()
348 m_capacity = static_cast<stored_size_type>(final_cap); in vector_alloc_holder()
356 , m_capacity(holder.m_capacity) in vector_alloc_holder()
359 holder.m_size = holder.m_capacity = 0; in vector_alloc_holder()
368 , m_capacity(static_cast<stored_size_type>(n)) in vector_alloc_holder()
376 , m_capacity(n) in vector_alloc_holder()
[all …]
/third_party/vk-gl-cts/framework/delibs/decpp/
DdePoolArray.hpp108 deUintptr m_capacity; //!< Number of allocated elements in the array. member in de::PoolArray
229 , m_capacity (0) in PoolArray()
294 if (capacity >= m_capacity) in reserve()
326 deUintptr pageTableNdx = m_capacity >> ELEMENTS_PER_PAGE_LOG2; in reserve()
352 m_capacity = pageTableNdx << ELEMENTS_PER_PAGE_LOG2; in reserve()
353 DE_ASSERT(m_capacity >= newCapacity); in reserve()
/third_party/boost/boost/math/special_functions/detail/
Dbernoulli_details.hpp198m_capacity = static_cast<unsigned>((std::min)(overflow_limit, static_cast<std::size_t>(100000u))); in fixed_vector()
199 m_data = this->allocate(m_capacity); in fixed_vector()
206 this->deallocate(m_data, m_capacity); in ~fixed_vector()
213 allocator_traits::deallocate(alloc, m_data, m_capacity); in ~fixed_vector()
222 if(n > m_capacity) in resize()
235 unsigned capacity()const { return m_capacity; } in capacity()
239 unsigned m_used, m_capacity; member
/third_party/boost/boost/move/algo/detail/
Dmerge.hpp42 : m_ptr(), m_size(0), m_capacity(0) in adaptive_xbuf()
46 : m_ptr(raw_memory), m_size(0), m_capacity(capacity) in adaptive_xbuf()
70 BOOST_ASSERT(m_capacity - m_size >= n); in push_back()
78 BOOST_ASSERT(m_size < m_capacity); in add()
116 BOOST_ASSERT(m_size < m_capacity); in initialize_until()
155 if(this->is_raw_ptr(this->data()) && m_capacity){ in supports_aligned_trailing()
184 { return m_capacity; } in capacity()
209 size_type m_capacity; member in boost::movelib::adaptive_xbuf
/third_party/boost/boost/circular_buffer/
Ddetails.hpp162 Size m_capacity; member in boost::cb_details::capacity_control
171 : m_capacity(buffer_capacity), m_min_capacity(min_buffer_capacity) in capacity_control()
181 Size capacity() const { return m_capacity; } in capacity()
187 operator Size() const { return m_capacity; } in operator Size()