Home
last modified time | relevance | path

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

/petsc/src/sys/objects/cxx/memory/
H A Dobject_pool.cxx29 PETSC_NODISCARD static constexpr size_type header_size() noexcept;
85 constexpr PoolAllocator::size_type PoolAllocator::AllocationHeader::header_size() noexcept in header_size() function in Petsc::memory::PoolAllocator::AllocationHeader
106 return AllocationHeader::header_size() + size + util::to_underlying(align) - 1; in total_size_()
299 constexpr auto header_size = AllocationHeader::header_size(); in allocate_ptr_() local
301 const auto size_before = total_size - header_size; in allocate_ptr_()
331 aligned_ptr = base_ptr + header_size; in allocate_ptr_()
344 const auto computed_aligned_ptr = base_ptr + header_size + alignment_offset; in allocate_ptr_()
346 …offset %zu = %p != aligned pointer %p", static_cast<void *>(base_ptr), header_size, alignment_offs… in allocate_ptr_()