34 #ifndef OCTAVE_LOCBUF_CHUNKSIZE_MB
35 #define OCTAVE_LOCBUF_CHUNKSIZE_MB 32
54 static const size_t align_mask = (
sizeof (long) <
sizeof (
double)
66 size = ((size - 1) | align_mask) + 1;
146 (*current_liboctave_warning_with_id_handler)
147 (
"Octave:local-buffer-inconsistency",
148 "octave_chunk_buffer::clear: %d active allocations remain!",
static OCTAVE_API void clear(void)
#define OCTAVE_LOCBUF_CHUNKSIZE_MB
static const size_t chunk_size
size_t size(T const (&)[z])
virtual OCTAVE_API ~octave_chunk_buffer(void)
OCTAVE_API octave_chunk_buffer(size_t size)