Home
last modified time | relevance | path

Searched refs:limit_size (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/boost/container/
Dadaptive_pool.hpp186 size_type limit_size, in allocation_command() argument
190 … pointer ret = this->priv_allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse); in allocation_command()
323 (allocation_type command, std::size_t limit_size in priv_allocation_command() argument
328 if(BOOST_UNLIKELY(limit_size > this->max_size() || preferred_size > this->max_size())){ in priv_allocation_command()
331 std::size_t l_size = limit_size*sizeof(T); in priv_allocation_command()
490 size_type limit_size, in allocation_command() argument
494 … pointer ret = this->priv_allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse); in allocation_command()
583 (allocation_type command, std::size_t limit_size in priv_allocation_command() argument
588 if(BOOST_UNLIKELY(limit_size > this->max_size() || preferred_size > this->max_size())){ in priv_allocation_command()
591 std::size_t l_size = limit_size*sizeof(T); in priv_allocation_command()
Dallocator.hpp221 size_type limit_size, in allocation_command() argument
228 … pointer ret = this->priv_allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse); in allocation_command()
341 (allocation_type command, std::size_t limit_size in priv_allocation_command() argument
347 if((limit_size > this->max_size()) | (preferred_size > this->max_size())){ in priv_allocation_command()
350 std::size_t l_size = limit_size*sizeof(T); in priv_allocation_command()
Dnode_allocator.hpp190 …(allocation_type command, size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reus… in allocation_command() argument
193 … pointer ret = this->priv_allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse); in allocation_command()
314 (allocation_type command, std::size_t limit_size in priv_allocation_command() argument
320 if((limit_size > this->max_size()) | (preferred_size > this->max_size())){ in priv_allocation_command()
323 std::size_t l_size = limit_size*sizeof(T); in priv_allocation_command()
Dvector.hpp387 … size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse) in allocation_command()
390 …return this->priv_allocation_command(alloc_version(), command, limit_size, prefer_in_recvd_out_siz… in allocation_command()
502 size_type limit_size, in priv_allocation_command()
510 if (limit_size > stored_size_type(-1)){ in priv_allocation_command()
520 size_type limit_size, in priv_allocation_command()
525 if (limit_size > stored_size_type(-1)){ in priv_allocation_command()
530 …pointer p = this->alloc().allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse); in priv_allocation_command()
Dstring.hpp317 size_type limit_size, in allocation_command() argument
326 (this->alloc(), command, limit_size, prefer_in_recvd_out_size, reuse); in allocation_command()
/third_party/boost/libs/interprocess/test/
Dexpand_bwd_test_allocator.hpp124 size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse) in allocation_command() argument
129 prefer_in_recvd_out_size = limit_size; in allocation_command()
132 if((m_offset + limit_size) > m_size){ in allocation_command()
139 if(limit_size > m_size){ in allocation_command()
/third_party/boost/libs/container/test/
Dexpand_bwd_test_allocator.hpp129 size_type limit_size,size_type &prefer_in_recvd_out_size,pointer &reuse) in allocation_command() argument
135 prefer_in_recvd_out_size = limit_size; in allocation_command()
138 if((m_offset + limit_size) > m_size){ in allocation_command()
146 if(limit_size > m_size){ in allocation_command()
/third_party/boost/boost/interprocess/mem_algo/detail/
Dsimple_seq_fit_impl.hpp196 T *allocation_command (boost::interprocess::allocation_type command, size_type limit_size,
199 …id * raw_allocation_command (boost::interprocess::allocation_type command, size_type limit_size,
587 allocation_command (boost::interprocess::allocation_type command, size_type limit_size, in allocation_command() argument
592 (command, limit_size, prefer_in_recvd_out_size, raw_reuse, sizeof(T)); in allocation_command()
623 priv_allocation_command (boost::interprocess::allocation_type command, size_type limit_size, in priv_allocation_command() argument
633 if(limit_size > max_count || preferred_size > max_count){ in priv_allocation_command()
636 size_type l_size = limit_size*sizeof_object; in priv_allocation_command()
764 ,size_type limit_size, size_type &prefer_in_recvd_out_size, void *&reuse_ptr) in priv_allocate() argument
769 bool success = algo_impl_t::shrink(this, reuse_ptr, limit_size, prefer_in_recvd_out_size); in priv_allocate()
774 if(limit_size > preferred_size){ in priv_allocate()
[all …]
/third_party/boost/boost/interprocess/mem_algo/
Drbtree_best_fit.hpp240 T * allocation_command (boost::interprocess::allocation_type command, size_type limit_size,
262 …void* priv_allocation_command(boost::interprocess::allocation_type command, size_type limit_size,
268 , size_type limit_size, size_type &prefer_in_recvd_out_size
689 allocation_command (boost::interprocess::allocation_type command, size_type limit_size, in allocation_command() argument
693 …void* const ret = priv_allocation_command(command, limit_size, prefer_in_recvd_out_size, raw_reuse… in allocation_command()
724 priv_allocation_command (boost::interprocess::allocation_type command, size_type limit_size, in priv_allocation_command() argument
731 if(limit_size > max_count || preferred_size > max_count){ in priv_allocation_command()
734 size_type l_size = limit_size*sizeof_object; in priv_allocation_command()
938 ,size_type limit_size in priv_allocate() argument
947 … algo_impl_t::shrink(this, reuse_ptr, limit_size, prefer_in_recvd_out_size = preferred_size); in priv_allocate()
[all …]
/third_party/boost/boost/container/detail/
Dallocator_version_traits.hpp63 size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse) in allocation_command()
64 { return a.allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse); } in allocation_command()
/third_party/boost/boost/interprocess/allocators/
Dallocator.hpp180 … size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse) in allocation_command() argument
183 …pointer const p = mp_mngr->allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse… in allocation_command()
Dcached_node_allocator.hpp248 … size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse);
Dcached_adaptive_pool.hpp276 size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse);
Dprivate_node_allocator.hpp373 size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse);
Dnode_allocator.hpp381 size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse);
Dadaptive_pool.hpp396 size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse);
Dprivate_adaptive_pool.hpp396 size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse);
/third_party/boost/libs/container/src/
Ddlmalloc_ext_2_8_6.c1360 (allocation_type command, size_t sizeof_object, size_t limit_size in boost_cont_allocation_command() argument
1366 int success = boost_cont_shrink( reuse_ptr, preferred_size, limit_size in boost_cont_allocation_command()
1374 if(limit_size > preferred_size) in boost_cont_allocation_command()
1393 ( ms, command, reuse_ptr, limit_size in boost_cont_allocation_command()
1404 if(!addr) addr = mspace_malloc_lockless(ms, limit_size); in boost_cont_allocation_command()
1419 ( ms, command, reuse_ptr, limit_size in boost_cont_allocation_command()
/third_party/boost/boost/interprocess/detail/
Dmanaged_memory_impl.hpp296 T * allocation_command (boost::interprocess::allocation_type command, size_type limit_size, in allocation_command() argument
298 { return mp_header->allocation_command(command, limit_size, prefer_in_recvd_out_size, reuse); } in allocation_command()
/third_party/mindspore/mindspore/core/ir/
Dtensor.cc612 std::string Tensor::ToStringInternal(int limit_size) const { in ToStringInternal()
617 if (limit_size <= 0 || DataSize() < limit_size) { in ToStringInternal()
Dtensor.h275 std::string ToStringInternal(int limit_size) const;
/third_party/boost/boost/interprocess/allocators/detail/
Dallocator_common.hpp345 size_type limit_size, size_type &prefer_in_recvd_out_size, pointer &reuse) in allocation_command() argument
349 (command, limit_size, prefer_in_recvd_out_size, reuse_raw); in allocation_command()
/third_party/boost/boost/interprocess/
Dsegment_manager.hpp201 T *allocation_command (boost::interprocess::allocation_type command, size_type limit_size, in allocation_command() argument
205 … (command | boost::interprocess::nothrow_allocation, limit_size, prefer_in_recvd_out_size, reuse); in allocation_command()
/third_party/mindspore/mindspore/_extends/graph_kernel/model/
Dgraph_split.py342 def limit_area_size(self, dominant, fuse_areas, limit_size=200): argument
346 if dom_size + prod_reduce(lambda x, y: x + y, area_sizes) <= limit_size:
352 if dom_size + len(area.ops) > limit_size:
/third_party/boost/libs/interprocess/doc/
Dinterprocess.qbk4023 , std::size_t limit_size
4037 `limit_size` must be equal or greater than the parameter `preferred_size`.
4040 the parameter `limit_size` must be equal or less than the parameter `preferred_size`.
4048 much as possible as long as this results in `size(p) <= limit_size`. Success
4049 is reported only if this results in `preferred_size <= size(p)` and `size(p) <= limit_size`.
4056 `size(p) >= limit_size`. Success is reported only if this results in `limit_size <= size(p)`.
4063 `size(new_ptr) >= limit_size`. Success is reported only if this results in
4064 `limit_size <= size(new_ptr)`.
4069 at least `limit_size` objects.
4078 If this fails, it will try to obtain `limit_size` objects using both methods if
[all …]

12