GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "oct-alloc.h"
Classes | |
struct | link |
Public Member Functions | |
octave_allocator (size_t item_sz, int grow_sz=256) | |
void * | alloc (size_t size) |
void | free (void *p, size_t size) |
Private Member Functions | |
bool | grow (void) |
Private Attributes | |
int | grow_size |
link * | head |
size_t | item_size |
Definition at line 28 of file oct-alloc.h.
Definition at line 34 of file oct-alloc.h.
Definition at line 32 of file oct-alloc.cc.
References grow(), head, item_size, octave_allocator::link::next, and size().
Definition at line 52 of file oct-alloc.cc.
References head, item_size, and octave_allocator::link::next.
|
private |
Definition at line 55 of file oct-alloc.h.
Referenced by grow().
|
private |
Definition at line 52 of file oct-alloc.h.
|
private |
Definition at line 59 of file oct-alloc.h.