Lines Matching refs:std

38     return static_cast<const T &>(*this).record_event_(std::forward<E>(event));  in record_event()
44 return static_cast<const T &>(*this).wait_for_(std::forward<E>(event)); in wait_for_event()
51 using default_stream_type = std::nullptr_t;
98 using size_type = std::size_t;
165std::move(other.event_)), open_(util::exchange(other.open_, false)), stream_id_(util::exchange(oth… in MemoryChunk()
174 event_ = std::move(other.event_); in operator =()
178 start_ = std::move(other.start_); in operator =()
308 using chunk_list_type = std::vector<chunk_type>;
313 ~MemoryBlock() noexcept(std::is_nothrow_destructible<chunk_list_type>::value);
375 MemoryBlock<T, A, S>::~MemoryBlock() noexcept(std::is_nothrow_destructible<chunk_list_type>::value) in ~MemoryBlock()
385 …locator_(other.allocator_), size_(util::exchange(other.size_, 0)), chunks_(std::move(other.chunks_… in MemoryBlock()
400 chunks_ = std::move(other.chunks_); in operator =()
412 return (ptr >= mem_) && (ptr < std::next(mem_, size())); in owns_pointer()
554 …tr_t>(ptr), reinterpret_cast<uintptr_t>(mem_), reinterpret_cast<uintptr_t>(std::next(mem_, size())… in try_find_chunk()
577 using size_type = std::size_t;
632 using limit_type = std::numeric_limits<real_value_type>; in set_canary()
685 …eam, typename AllocType = impl::SegmentedMemoryPoolAllocatorBase<MemType>, std::size_t DefaultChun…
689 template <typename MemType, typename StreamType, typename AllocType, std::size_t DefaultChunkSize>
696 using pool_type = std::deque<block_type>;
699 …explicit SegmentedMemoryPool(AllocType = AllocType{}, std::size_t = DefaultChunkSize) noexcept(std
701 …PetscErrorCode allocate(size_t, value_type **, const stream_type *, size_type = std::alignment_of<…
723 template <typename MemType, typename StreamType, typename AllocType, std::size_t DefaultChunkSize>
726 const auto block_size = std::max(size, chunk_size_); in make_block_()
734 template <typename MemType, typename StreamType, typename AllocType, std::size_t DefaultChunkSize>
742 template <typename MemType, typename StreamType, typename AllocType, std::size_t DefaultChunkSize>
751 template <typename MemType, typename StreamType, typename AllocType, std::size_t DefaultChunkSize>
776 template <typename MemType, typename StreamType, typename AllocType, std::size_t DefaultChunkSize>
777 …moryPool(AllocType alloc, std::size_t size) noexcept(std::is_nothrow_default_constructible<pool_ty… in SegmentedMemoryPool()
795 template <typename MemType, typename StreamType, typename AllocType, std::size_t DefaultChunkSize>
810 std::align(alignment, size, vptr, aligned_size); in allocate()
829 template <typename MemType, typename StreamType, typename AllocType, std::size_t DefaultChunkSize>
862 template <typename MemType, typename StreamType, typename AllocType, std::size_t DefaultChunkSize>