|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
buffer.h File Reference Detailed Descriptioninternal methods for memory buffers for temporary objects Definition in file buffer.h. #include "scip/def.h"#include "scip/type_retcode.h"#include "scip/type_set.h"#include "scip/type_buffer.h"Go to the source code of this file.
Function Documentation
creates memory buffer storage
Definition at line 36 of file buffer.c. References BMSallocMemory, NULL, SCIP_ALLOC, and SCIP_OKAY.
frees memory buffer storage frees memory buffer
Definition at line 53 of file buffer.c. References BMSfreeMemory, BMSfreeMemoryArrayNull, and NULL.
allocates the next unused buffer
Definition at line 73 of file buffer.c. References BMSallocMemorySize, BMSreallocMemoryArray, BMSreallocMemorySize, SCIP_Buffer::data, FALSE, SCIP_Buffer::firstfree, SCIP_Buffer::ndata, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPdebugMessage, SCIPsetCalcMemGrowSize(), SCIP_Buffer::size, TRUE, and SCIP_Buffer::used. Referenced by SCIPbufferAllocMemSave(), SCIPbufferDuplicateMem(), and SCIPbufferReallocMem().
allocates the next unused buffer and copies the given memory into the buffer
Definition at line 142 of file buffer.c. References BMScopyMemorySize, NULL, SCIP_CALL, SCIP_OKAY, and SCIPbufferAllocMem(). Referenced by SCIPbufferDuplicateMemSave().
reallocates the buffer to at least the given size
Definition at line 163 of file buffer.c. References BMSreallocMemorySize, SCIP_Buffer::data, SCIP_Buffer::firstfree, SCIP_Buffer::ndata, NULL, SCIP_ALLOC, SCIP_OKAY, SCIPbufferAllocMem(), SCIPdebugMessage, SCIPsetCalcMemGrowSize(), SCIP_Buffer::size, and SCIP_Buffer::used. Referenced by SCIPbufferReallocMemSave().
allocates the next unused buffer; checks for integer overflow
Definition at line 224 of file buffer.c. References NULL, SCIP_CALL, SCIP_NOMEMORY, SCIP_OKAY, and SCIPbufferAllocMem().
allocates the next unused buffer and copies the given memory into the buffer; checks for integer overflows
Definition at line 244 of file buffer.c. References NULL, SCIP_CALL, SCIP_NOMEMORY, SCIP_OKAY, and SCIPbufferDuplicateMem().
reallocates the buffer to at least the given size; checks for integer overflows
Definition at line 265 of file buffer.c. References NULL, SCIP_CALL, SCIP_NOMEMORY, SCIP_OKAY, and SCIPbufferReallocMem().
frees a buffer
Definition at line 286 of file buffer.c. References BMSfreeMemory, SCIP_Buffer::data, FALSE, SCIP_Buffer::firstfree, SCIP_Buffer::ndata, NULL, SCIPdebugMessage, SCIP_Buffer::size, and SCIP_Buffer::used.
gets number of used buffers
Definition at line 327 of file buffer.c. References SCIP_Buffer::firstfree, and NULL. Referenced by exitPresolve(), initPresolve(), presolve(), presolveRound(), priceAndCutLoop(), propAndSolve(), SCIPsolveCIP(), and solveNode().
outputs statistics about currently allocated buffers to the screen
Definition at line 337 of file buffer.c. References SCIP_Buffer::data, SCIP_Buffer::ndata, NULL, SCIP_Buffer::size, and SCIP_Buffer::used. Referenced by SCIPprintMemoryDiagnostic(). |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||