proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
|
#include <proxsuite/linalg/veg/memory/alloc.hpp>
Public Member Functions | |
VEG_NODISCARD VEG_INLINE auto | try_grow_in_place (void *, Layout, usize) const noexcept -> bool |
Static Public Member Functions | |
static VEG_INLINE void | dealloc (RefMut< SystemAlloc >, void *ptr, Layout layout) noexcept |
VEG_NODISCARD static VEG_INLINE auto | alloc (RefMut< SystemAlloc >, Layout layout) noexcept -> mem::AllocBlock |
VEG_NODISCARD static VEG_NO_INLINE auto | realloc (RefMut< SystemAlloc >, void *ptr, Layout layout, usize new_size, usize copy_size, RelocFn reloc) noexcept -> mem::AllocBlock |
VEG_NODISCARD static VEG_INLINE auto | grow (RefMut< SystemAlloc > alloc, void *ptr, Layout layout, usize new_size, RelocFn reloc) noexcept -> mem::AllocBlock |
VEG_NODISCARD static VEG_INLINE auto | shrink (RefMut< SystemAlloc > alloc, void *ptr, Layout layout, usize new_size, RelocFn reloc) noexcept -> mem::AllocBlock |
Static Public Attributes | |
static constexpr usize | max_base_align = alignof(std::max_align_t) |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
staticconstexpr |