Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ move_to_next_block()

char * stan::math::stack_alloc::move_to_next_block ( size_t  len)
inlineprivate

Moves us to the next block of memory, allocating that block if necessary, and allocates len bytes of memory within that block.

Parameters
lenNumber of bytes to allocate.
Returns
A pointer to the allocated memory.

Definition at line 94 of file stack_alloc.hpp.