public methods for memory management
Definition in file scip_mem.h.
#include "blockmemshell/memory.h"
#include "scip/def.h"
#include "scip/type_retcode.h"
#include "scip/type_scip.h"
Go to the source code of this file.
Macros | |
#define | SCIPallocMemory(scip, ptr) |
#define | SCIPallocClearMemory(scip, ptr) |
#define | SCIPallocMemoryArray(scip, ptr, num) |
#define | SCIPallocClearMemoryArray(scip, ptr, num) |
#define | SCIPallocMemorySize(scip, ptr, size) |
#define | SCIPreallocMemoryArray(scip, ptr, newnum) |
#define | SCIPreallocMemorySize(scip, ptr, newsize) |
#define | SCIPduplicateMemory(scip, ptr, source) |
#define | SCIPduplicateMemoryArray(scip, ptr, source, num) |
#define | SCIPfreeMemory(scip, ptr) |
#define | SCIPfreeMemoryNull(scip, ptr) |
#define | SCIPfreeMemoryArray(scip, ptr) |
#define | SCIPfreeMemoryArrayNull(scip, ptr) |
#define | SCIPfreeMemorySize(scip, ptr) |
#define | SCIPfreeMemorySizeNull(scip, ptr) |
#define | SCIPallocBlockMemory(scip, ptr) |
#define | SCIPallocClearBlockMemory(scip, ptr) |
#define | SCIPallocBlockMemoryArray(scip, ptr, num) |
#define | SCIPallocBlockMemorySize(scip, ptr, size) |
#define | SCIPallocClearBlockMemoryArray(scip, ptr, num) |
#define | SCIPreallocBlockMemoryArray(scip, ptr, oldnum, newnum) |
#define | SCIPreallocBlockMemorySize(scip, ptr, oldsize, newsize) |
#define | SCIPduplicateBlockMemory(scip, ptr, source) |
#define | SCIPduplicateBlockMemoryArray(scip, ptr, source, num) |
#define | SCIPensureBlockMemoryArray(scip, ptr, arraysizeptr, minsize) |
#define | SCIPfreeBlockMemory(scip, ptr) |
#define | SCIPfreeBlockMemoryNull(scip, ptr) |
#define | SCIPfreeBlockMemoryArray(scip, ptr, num) |
#define | SCIPfreeBlockMemoryArrayNull(scip, ptr, num) |
#define | SCIPfreeBlockMemorySize(scip, ptr, size) |
#define | SCIPfreeBlockMemorySizeNull(scip, ptr, size) |
#define | SCIPallocBuffer(scip, ptr) |
#define | SCIPallocBufferArray(scip, ptr, num) |
#define | SCIPallocClearBufferArray(scip, ptr, num) |
#define | SCIPreallocBufferArray(scip, ptr, num) |
#define | SCIPduplicateBuffer(scip, ptr, source) |
#define | SCIPduplicateBufferArray(scip, ptr, source, num) |
#define | SCIPfreeBuffer(scip, ptr) |
#define | SCIPfreeBufferNull(scip, ptr) |
#define | SCIPfreeBufferArray(scip, ptr) |
#define | SCIPfreeBufferArrayNull(scip, ptr) |
#define | SCIPallocCleanBuffer(scip, ptr) |
#define | SCIPallocCleanBufferArray(scip, ptr, num) |
#define | SCIPfreeCleanBuffer(scip, ptr) |
#define | SCIPfreeCleanBufferNull(scip, ptr) |
#define | SCIPfreeCleanBufferArray(scip, ptr) |
#define | SCIPfreeCleanBufferArrayNull(scip, ptr) |
Functions | |
BMS_BLKMEM * | SCIPblkmem (SCIP *scip) |
BMS_BUFMEM * | SCIPbuffer (SCIP *scip) |
BMS_BUFMEM * | SCIPcleanbuffer (SCIP *scip) |
SCIP_Longint | SCIPgetMemUsed (SCIP *scip) |
SCIP_Longint | SCIPgetMemTotal (SCIP *scip) |
SCIP_Longint | SCIPgetMemExternEstim (SCIP *scip) |
int | SCIPcalcMemGrowSize (SCIP *scip, int num) |
SCIP_RETCODE | SCIPensureBlockMemoryArray_call (SCIP *scip, void **arrayptr, size_t elemsize, int *arraysize, int minsize) |
void | SCIPprintMemoryDiagnostic (SCIP *scip) |