◆ AllocateAsync() [1/2]
Asynchronously allocates a MultiBuf of at least min_size bytes and at most `desired_size bytes.
Memory allocated by an arbitrary MultiBufAllocator does not provide any alignment requirements, preferring instead to allow the allocator maximum flexibility for placing regions (especially discontiguous regions).
- Return values
-
◆ AllocateAsync() [2/2]
Asynchronously allocates a MultiBuf of exactly size bytes.
Memory allocated by an arbitrary MultiBufAllocator does not provide any alignment requirements, preferring instead to allow the allocator maximum flexibility for placing regions (especially discontiguous regions).
- Return values
-
◆ AllocateContiguousAsync() [1/2]
| MultiBufAllocationFuture pw::multibuf::MultiBufAllocatorAsync::AllocateContiguousAsync |
( |
size_t |
min_size, |
|
|
size_t |
desired_size |
|
) |
| |
Asynchronously allocates an OwnedChunk of at least min_size bytes and at most desired_size bytes.
- Return values
-
◆ AllocateContiguousAsync() [2/2]
Asynchronously allocates a contiguous MultiBuf of exactly size bytes.
Memory allocated by an arbitrary MultiBufAllocator does not provide any alignment requirements, preferring instead to allow the allocator maximum flexibility for placing regions (especially discontiguous regions).
- Return values
-
The documentation for this class was generated from the following file: