|
memory allocation routines
- Author
- Tobias Achterberg
Definition in file memory.h.
#include <limits.h>
#include <stdlib.h>
Go to the source code of this file.
|
#define | ASSIGN(pointerstarstar, voidstarfunction) (*(pointerstarstar) = (voidstarfunction)) |
|
#define | EXTERN extern |
|
#define | BMSallocMemoryArray(ptr, num) |
|
#define | BMSreallocMemoryArray(ptr, num) |
|
#define | BMSallocMemoryArrayCPP(num, size) |
|
#define | BMSallocClearMemoryArray(ptr, num) |
|
#define | BMSallocMemory(ptr) ASSIGN((ptr), BMSallocMemory_call( sizeof(**(ptr)), __FILE__, __LINE__ )) |
|
#define | BMSallocMemorySize(ptr, size) ASSIGN((ptr), BMSallocMemory_call( (size_t)(size), __FILE__, __LINE__ )) |
|
#define | BMSallocMemoryCPP(size) BMSallocMemory_call( (size_t)(size), __FILE__, __LINE__ ) |
|
#define | BMSreallocMemorySize(ptr, size) |
|
#define | BMSclearMemory(ptr) BMSclearMemory_call( (void*)(ptr), sizeof(*(ptr)) ) |
|
#define | BMSclearMemoryArray(ptr, num) BMSclearMemory_call( (void*)(ptr), (num)*sizeof(*(ptr)) ) |
|
#define | BMSclearMemorySize(ptr, size) BMSclearMemory_call( (void*)(ptr), (size_t)(size) ) |
|
#define | BMScopyMemory(ptr, source) BMScopyMemory_call( (void*)(ptr), (const void*)(source), sizeof(*(ptr)) ) |
|
#define | BMScopyMemoryArray(ptr, source, num) BMScopyMemory_call( (void*)(ptr), (const void*)(source), (num)*sizeof(*(ptr)) ) |
|
#define | BMScopyMemorySize(ptr, source, size) BMScopyMemory_call( (void*)(ptr), (const void*)(source), (size_t)(size) ) |
|
#define | BMSmoveMemory(ptr, source) BMSmoveMemory_call( (void*)(ptr), (const void*)(source), sizeof(*(ptr)) ) |
|
#define | BMSmoveMemoryArray(ptr, source, num) BMSmoveMemory_call( (void*)(ptr), (const void*)(source), (num) * sizeof(*(ptr)) ) |
|
#define | BMSmoveMemorySize(ptr, source, size) BMSmoveMemory_call( (void*)(ptr), (const void*)(source), (size_t)(size) ) |
|
#define | BMSduplicateMemory(ptr, source) |
|
#define | BMSduplicateMemoryArray(ptr, source, num) |
|
#define | BMSduplicateMemorySize(ptr, source, size) |
|
#define | BMSfreeMemory(ptr) |
|
#define | BMSfreeMemoryNull(ptr) { if( *(ptr) != NULL ) BMSfreeMemory( (ptr) ); } |
|
#define | BMSfreeMemoryArray(ptr) |
|
#define | BMSfreeMemoryArrayNull(ptr) { if( *(ptr) != NULL ) BMSfreeMemoryArray( (ptr) ); } |
|
#define | BMSfreeMemorySize(ptr) |
|
#define | BMSfreeMemorySizeNull(ptr) { if( *(ptr) != NULL ) BMSfreeMemorySize( (ptr) ); } |
|
#define | BMSgetPointerSize(ptr) BMSgetPointerSize_call(ptr) |
|
#define | BMSdisplayMemory() BMSdisplayMemory_call() |
|
#define | BMScheckEmptyMemory() BMScheckEmptyMemory_call() |
|
#define | BMSgetMemoryUsed() BMSgetMemoryUsed_call() |
|
#define | BMScreateChunkMemory(sz, isz, gbf) BMScreateChunkMemory_call( (sz), (isz), (gbf), __FILE__, __LINE__ ) |
|
#define | BMSclearChunkMemory(mem) BMSclearChunkMemory_call( (mem), __FILE__, __LINE__ ) |
|
#define | BMSclearChunkMemoryNull(mem) { if( (mem) != NULL ) BMSclearChunkMemory( (mem) ); } |
|
#define | BMSdestroyChunkMemory(mem) BMSdestroyChunkMemory_call( (mem), __FILE__, __LINE__ ) |
|
#define | BMSdestroyChunkMemoryNull(mem) { if( *(mem) != NULL ) BMSdestroyChunkMemory( (mem) ); } |
|
#define | BMSallocChunkMemory(mem, ptr) |
|
#define | BMSduplicateChunkMemory(mem, ptr, source) |
|
#define | BMSfreeChunkMemory(mem, ptr) |
|
#define | BMSfreeChunkMemoryNull(mem, ptr) { if( *(ptr) != NULL ) BMSfreeChunkMemory( (mem), (ptr) ); } |
|
#define | BMSgarbagecollectChunkMemory(mem) BMSgarbagecollectChunkMemory_call(mem) |
|
#define | BMSgetChunkMemoryUsed(mem) BMSgetChunkMemoryUsed_call(mem) |
|
#define | BMSallocBlockMemoryArray(mem, ptr, num) |
|
#define | BMSreallocBlockMemoryArray(mem, ptr, oldnum, newnum) |
|
#define | BMScreateBlockMemory(csz, gbf) BMScreateBlockMemory_call( (csz), (gbf), __FILE__, __LINE__ ) |
|
#define | BMSclearBlockMemory(mem) BMSclearBlockMemory_call( (mem), __FILE__, __LINE__ ) |
|
#define | BMSclearBlockMemoryNull(mem) { if( (mem) != NULL ) BMSclearBlockMemory( (mem) ); } |
|
#define | BMSdestroyBlockMemory(mem) BMSdestroyBlockMemory_call( (mem), __FILE__, __LINE__ ) |
|
#define | BMSdestroyBlockMemoryNull(mem) { if( *(mem) != NULL ) BMSdestroyBlockMemory( (mem) ); } |
|
#define | BMSallocBlockMemory(mem, ptr) |
|
#define | BMSallocBlockMemorySize(mem, ptr, size) |
|
#define | BMSreallocBlockMemorySize(mem, ptr, oldsize, newsize) |
|
#define | BMSduplicateBlockMemory(mem, ptr, source) |
|
#define | BMSduplicateBlockMemoryArray(mem, ptr, source, num) |
|
#define | BMSfreeBlockMemory(mem, ptr) |
|
#define | BMSfreeBlockMemoryNull(mem, ptr) { if( *(ptr) != NULL ) BMSfreeBlockMemory( (mem), (ptr) ); } |
|
#define | BMSfreeBlockMemoryArray(mem, ptr, num) |
|
#define | BMSfreeBlockMemoryArrayNull(mem, ptr, num) { if( *(ptr) != NULL ) BMSfreeBlockMemoryArray( (mem), (ptr), (num) ); } |
|
#define | BMSfreeBlockMemorySize(mem, ptr, size) |
|
#define | BMSfreeBlockMemorySizeNull(mem, ptr, size) { if( *(ptr) != NULL ) BMSfreeBlockMemorySize( (mem), (ptr), (size) ); } |
|
#define | BMSgarbagecollectBlockMemory(mem) BMSgarbagecollectBlockMemory_call(mem) |
|
#define | BMSgetBlockMemoryUsed(mem) BMSgetBlockMemoryUsed_call(mem) |
|
#define | BMSgetBlockPointerSize(mem, ptr) BMSgetBlockPointerSize_call((mem), (ptr)) |
|
#define | BMSdisplayBlockMemory(mem) BMSdisplayBlockMemory_call(mem) |
|
#define | BMSblockMemoryCheckEmpty(mem) BMScheckEmptyBlockMemory_call(mem) |
|
|
void * | BMSallocClearMemory_call (size_t num, size_t size, const char *filename, int line) |
|
void * | BMSallocMemory_call (size_t size, const char *filename, int line) |
|
void * | BMSreallocMemory_call (void *ptr, size_t size, const char *filename, int line) |
|
void | BMSclearMemory_call (void *ptr, size_t size) |
|
void | BMScopyMemory_call (void *ptr, const void *source, size_t size) |
|
void | BMSmoveMemory_call (void *ptr, const void *source, size_t size) |
|
void * | BMSduplicateMemory_call (const void *source, size_t size, const char *filename, int line) |
|
void | BMSfreeMemory_call (void *ptr, const char *filename, int line) |
|
size_t | BMSgetPointerSize_call (const void *ptr) |
|
void | BMSdisplayMemory_call (void) |
|
void | BMScheckEmptyMemory_call (void) |
|
long long | BMSgetMemoryUsed_call (void) |
|
void | BMSalignMemsize (size_t *size) |
|
int | BMSisAligned (size_t size) |
|
BMS_CHKMEM * | BMScreateChunkMemory_call (size_t size, int initchunksize, int garbagefactor, const char *filename, int line) |
|
void | BMSclearChunkMemory_call (BMS_CHKMEM *chkmem, const char *filename, int line) |
|
void | BMSdestroyChunkMemory_call (BMS_CHKMEM **chkmem, const char *filename, int line) |
|
void * | BMSallocChunkMemory_call (BMS_CHKMEM *chkmem, size_t size, const char *filename, int line) |
|
void * | BMSduplicateChunkMemory_call (BMS_CHKMEM *chkmem, const void *source, size_t size, const char *filename, int line) |
|
void | BMSfreeChunkMemory_call (BMS_CHKMEM *chkmem, void *ptr, size_t size, const char *filename, int line) |
|
void | BMSgarbagecollectChunkMemory_call (BMS_CHKMEM *chkmem) |
|
long long | BMSgetChunkMemoryUsed_call (const BMS_CHKMEM *chkmem) |
|
BMS_BLKMEM * | BMScreateBlockMemory_call (int initchunksize, int garbagefactor, const char *filename, int line) |
|
void | BMSclearBlockMemory_call (BMS_BLKMEM *blkmem, const char *filename, int line) |
|
void | BMSdestroyBlockMemory_call (BMS_BLKMEM **blkmem, const char *filename, int line) |
|
void * | BMSallocBlockMemory_call (BMS_BLKMEM *blkmem, size_t size, const char *filename, int line) |
|
void * | BMSreallocBlockMemory_call (BMS_BLKMEM *blkmem, void *ptr, size_t oldsize, size_t newsize, const char *filename, int line) |
|
void * | BMSduplicateBlockMemory_call (BMS_BLKMEM *blkmem, const void *source, size_t size, const char *filename, int line) |
|
void | BMSfreeBlockMemory_call (BMS_BLKMEM *blkmem, void *ptr, size_t size, const char *filename, int line) |
|
void | BMSgarbagecollectBlockMemory_call (BMS_BLKMEM *blkmem) |
|
long long | BMSgetBlockMemoryUsed_call (const BMS_BLKMEM *blkmem) |
|
size_t | BMSgetBlockPointerSize_call (const BMS_BLKMEM *blkmem, const void *ptr) |
|
void | BMSdisplayBlockMemory_call (const BMS_BLKMEM *blkmem) |
|
void | BMScheckEmptyBlockMemory_call (const BMS_BLKMEM *blkmem) |
|
#define ASSIGN |
( |
|
pointerstarstar, |
|
|
|
voidstarfunction |
|
) |
| (*(pointerstarstar) = (voidstarfunction)) |
#define BMSallocMemoryArray |
( |
|
ptr, |
|
|
|
num |
|
) |
| |
Value:( ( ((size_t)(num)) > (UINT_MAX / sizeof(**(ptr))) ) \
__FILE__, __LINE__ )) ) )
Definition at line 76 of file memory.h.
Referenced by allocDiveChgSideArrays(), branch(), createClique(), createCliquehash(), doCdata(), ensureSuccessorsSize(), eval(), exprgraphNodeEval(), exprgraphNodeUpdateBounds(), getASlice(), getAttrval(), getEndptrs(), getIndicesFromDense(), getIndicesRange(), getName(), lpiGetBInvVec(), lpiStrongbranch(), lpiStrongbranches(), procPcdata(), SCIPdialoghdlrCreate(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphSetSizes(), SCIPdigraphTopoSortComponents(), SCIPexprCheckCurvature(), SCIPexprEval(), SCIPexprEvalInt(), SCIPexprgraphSimplify(), SCIPexprgraphUpdateNodeBoundsCurvature(), SCIPexprtreePrintWithNames(), SCIPexprtreeSimplify(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiChgBounds(), SCIPlpiChgSides(), SCIPlpiCreate(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetCoef(), SCIPlpiGetColNames(), SCIPlpiGetCols(), SCIPlpiGetPrimalRay(), SCIPlpiGetRowNames(), SCIPlpiGetRows(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiSetBase(), SCIPlpiStrongbranchFrac(), SCIPmessagehdlrCreate(), SCIPprofileCreate(), SCIPreaderWrite(), SCIPsparseSolCreate(), tcliqueAddEdge(), tcliqueColoring(), tcliqueLoadFile(), tcliqueMaxClique(), and xmlProcess().
#define BMSreallocMemoryArray |
( |
|
ptr, |
|
|
|
num |
|
) |
| |
Value:( ( ((size_t)(num)) > (UINT_MAX / sizeof(**(ptr))) ) \
__FILE__, __LINE__ )) ) )
Definition at line 80 of file memory.h.
Referenced by cliquetableEnsureSize(), conflictEnsureConflictsetsMem(), conflictEnsureTmpbdchginfosMem(), conshdlrEnsureCheckconssMem(), conshdlrEnsureConssMem(), conshdlrEnsureEnfoconssMem(), conshdlrEnsureInitconssMem(), conshdlrEnsurePropconssMem(), conshdlrEnsureSepaconssMem(), conshdlrEnsureUpdateconssMem(), cutpoolEnsureCutsMem(), doCdata(), ensureBoundchgMem(), ensureChgcolsSize(), ensureChgrowsSize(), ensureCliquehashSize(), ensureColMem(), ensureColsSize(), ensureCstatMem(), ensureExistingsolsSize(), ensureExterncandsSize(), ensureLazycolsSize(), ensureLpcandsSize(), ensureLpicolsSize(), ensureLpirowsSize(), ensureProfileSize(), ensurePropagationStorage(), ensurePseudocandsSize(), ensureRowMem(), ensureRowsSize(), ensureRstatMem(), ensureSidechgMem(), ensureSolsSize(), ensureStateMem(), ensureSubdialogMem(), ensureSuccessorsSize(), ensureTabMem(), ensureValMem(), eventqueueEnsureEventsMem(), getAttrval(), getName(), linkChunk(), nodepqResize(), paramsetAdd(), pqueueResize(), pricestoreEnsureBdviolvarsMem(), pricestoreEnsureVarsMem(), probEnsureConssMem(), probEnsureDeletedvarsMem(), probEnsureFixedvarsMem(), probEnsureVarsMem(), procPcdata(), queueResize(), reallocDiveChgSideArrays(), SCIPbufferAllocMem(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphResize(), SCIPsetIncludeBranchrule(), SCIPsetIncludeConflicthdlr(), SCIPsetIncludeConshdlr(), SCIPsetIncludeDialog(), SCIPsetIncludeDisp(), SCIPsetIncludeEventhdlr(), SCIPsetIncludeExternalCode(), SCIPsetIncludeHeur(), SCIPsetIncludeNlpi(), SCIPsetIncludeNodesel(), SCIPsetIncludePresol(), SCIPsetIncludePricer(), SCIPsetIncludeProp(), SCIPsetIncludeReader(), SCIPsetIncludeRelax(), SCIPsetIncludeSepa(), sepastoreEnsureCutsMem(), tcliqueEnsureSizeCachedEdges(), tcliqueEnsureSizeEdges(), tcliqueEnsureSizeNodes(), treeEnsureChildrenMem(), treeEnsurePathMem(), and treeEnsurePendingbdchgsMem().
#define BMSallocMemoryArrayCPP |
( |
|
num, |
|
|
|
size |
|
) |
| |
Value:( ( ((size_t)(num)) > (UINT_MAX / size) ) \
Definition at line 84 of file memory.h.
#define BMSallocClearMemoryArray |
( |
|
ptr, |
|
|
|
num |
|
) |
| |
Definition at line 92 of file memory.h.
Referenced by BMScreateBlockMemory_call(), createChkmem(), createClique(), createCliquehash(), hashmaplistAppend(), lpStoreSolVals(), pushPstack(), SCIPactivityCreate(), SCIPbranchcandCreate(), SCIPbranchruleCreate(), SCIPbtCreate(), SCIPbufferCreate(), SCIPcliquetableCreate(), SCIPclockCreate(), SCIPconflictCreate(), SCIPconflicthdlrCreate(), SCIPconshdlrCreate(), SCIPcreate(), SCIPcutpoolCreate(), SCIPdialogCreate(), SCIPdialoghdlrAddInputLine(), SCIPdialoghdlrCreate(), SCIPdigraphCopy(), SCIPdigraphCreate(), SCIPdispCreate(), SCIPeventhdlrCreate(), SCIPeventqueueCreate(), SCIPexprintCreate(), SCIPhashmapCreate(), SCIPhashtableCreate(), SCIPheurCreate(), SCIPinterruptCreate(), SCIPlpCreate(), SCIPlpiCreate(), SCIPmemCreate(), SCIPmessagehdlrCreate(), SCIPnlpCreate(), SCIPnlpiCreate(), SCIPnlpiOracleCreate(), SCIPnlpStatisticsCreate(), SCIPnodepqCreate(), SCIPnodeselCreate(), SCIPparamsetCreate(), SCIPpqueueCreate(), SCIPpresolCreate(), SCIPpricerCreate(), SCIPpricestoreCreate(), SCIPprimalCreate(), SCIPprobCreate(), SCIPprofileCreate(), SCIPpropCreate(), SCIPqueueCreate(), SCIPreaderCreate(), SCIPrelaxationCreate(), SCIPrelaxCreate(), SCIPsepaCreate(), SCIPsepastoreCreate(), SCIPsetCreate(), SCIPsparseSolCreate(), SCIPstatCreate(), SCIPtreeCreate(), SCIPvbcCreate(), tcliqueCreate(), xmlNewAttr(), and xmlNewNode().
#define BMSreallocMemorySize |
( |
|
ptr, |
|
|
|
size |
|
) |
| |
Definition at line 97 of file memory.h.
Referenced by consdataCreate(), consdataCreateEmpty(), createConstraint(), exprgraphCreateNode(), SCIPcreateConsAbspower(), SCIPcreateConsBivariate(), SCIPexprgraphCreate(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrQuadratic(), SCIPincludeHeurDualval(), SCIPincludeHeurSubNlp(), SCIPnlpiOracleCreate(), xmlNewAttr(), and xmlNewNode().
#define BMSclearMemoryArray |
( |
|
ptr, |
|
|
|
num |
|
) |
| BMSclearMemory_call( (void*)(ptr), (num)*sizeof(*(ptr)) ) |
Definition at line 98 of file memory.h.
Referenced by addCliques(), addNegatedCliques(), aggregation(), branch(), checkCurvature(), checkFactorable(), checkForOverlapping(), checkSolution(), checkSystemGF2(), cleanupNetwork(), cliquePresolve(), computeCut(), computeMinDistance(), conflictsetCalcInsertDepth(), consCatchAllEvents(), constructSNFRelaxation(), createCoveringProblem(), createSubproblem(), createSubSCIP(), createSubscip(), createTcliqueGraph(), decomposeProblem(), detectParallelCols(), ensureMemorySize(), evalFunctionGradient(), exprgraphEnsureDepth(), exprgraphNodeAddChildren(), exprgraphNodeSimplify(), exprsimplifyAddChildren(), exprsimplifyRemovePolynomialUnusedChildren(), exprsimplifySeparateLinearFromPolynomial(), exprUnconvertPolynomial(), extractCapacityRows(), extractCliques(), extractFlow(), extractNodes(), fillDigraph(), findAggregation(), findNewBounds(), fullDualPresolve(), generateClusterCuts(), generateCutConvex(), generateCutNonConvex(), getFlowCover(), getInputString(), getLiftingSequenceGUB(), getNextLine(), getNodeIdx(), getRelevantColumns(), getRelevantRows(), getZerohalfWeightvectorForSingleRow(), getZerohalfWeightvectorFromSelectedRowsBitarray(), identifySourcesTargets(), initBounds(), initData(), initMatrix(), initPropdata(), insertSortedRootNeighbors(), lpbdchgsCreate(), lpbdchgsReset(), lpCleanupCols(), lpCleanupRows(), lpRemoveObsoleteCols(), lpRemoveObsoleteRows(), mcfnetworkExtract(), mcfnetworkFill(), nlpSolve(), nlrowRemoveFixedQuadVars(), nodepartitionCreate(), preprocessCliques(), preprocessColumns(), preprocessConsiderMinSlack(), preprocessIdenticalColums(), preprocessRows(), preprocessTrivialZerohalfCuts(), presolveConsEffectiveHorizon(), presolvePropagateCons(), presolveRemoveFixedVariables(), printPseudobooleanCons(), process(), processNlRow(), propagateCons(), propdataInit(), readOPBFile(), reformulate(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantConssAndNonzeros(), resolvePropagationCoretimes(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPEXEC(), SCIP_DECL_PROPPRESOL(), SCIP_DECL_QUADCONSUPGD(), SCIP_DECL_SEPAEXECLP(), SCIPboolarrayClear(), SCIPcreateConsSOC(), SCIPdigraphComputeUndirectedComponents(), SCIPexprgraphGetSubtreeVarsUsage(), SCIPexprgraphNodeSplitOffLinear(), SCIPexprtreeCreate(), SCIPexprtreeGetVarsUsage(), SCIPexprtreeRemoveFixedVars(), SCIPgetBinvarRepresentatives(), SCIPintarrayClear(), SCIPlpComputeRelIntPoint(), SCIPlpGetSol(), SCIPlpiGetBInvRow(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpRemoveRedundantRows(), SCIPnlpGetVarsNonlinearity(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleGetJacobianSparsity(), SCIPprimalTransformSol(), SCIPptrarrayClear(), SCIPrealarrayClear(), SCIPseparateRelaxedKnapsack(), SCIPshrinkDisjunctiveVarSet(), SCIPwritePbm(), separateCuts(), separateGLS(), separateHeur(), sequentialUpAndDownLifting(), sequentialUpAndDownLiftingGUB(), setColumnMajorFormat(), singletonColumnStuffing(), stableSort(), stableSortBinvars(), storeMod2Data(), sumMIRRow(), sumStrongCGRow(), superadditiveUpLifting(), tcliqueAddEdge(), tcliqueColoring(), tcliquegraphConstructCliqueTable(), tightenWeightsLift(), topologicalSort(), tryUpgradingXor(), undoBdchgsDualfarkas(), undoBdchgsDualsol(), updatePrimalRay(), and updateVariableDegrees().
#define BMScopyMemory |
( |
|
ptr, |
|
|
|
source |
|
) |
| BMScopyMemory_call( (void*)(ptr), (const void*)(source), sizeof(*(ptr)) ) |
#define BMScopyMemoryArray |
( |
|
ptr, |
|
|
|
source, |
|
|
|
num |
|
) |
| BMScopyMemory_call( (void*)(ptr), (const void*)(source), (num)*sizeof(*(ptr)) ) |
Definition at line 102 of file memory.h.
Referenced by addConcaveEstimatorMultivariate(), computeConsAndDataChanges(), conflictsetCopy(), createSolTuple(), cutGenerationHeuristic(), extendCliqueZeroWeight(), mergeAndCleanQuadVarTerms(), newSolution(), polynomialdataAddMonomials(), presolComponents(), removeConstraintsDueToNegCliques(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSTRANS(), SCIP_DECL_HEUREXEC(), SCIP_DECL_NLPISETINITIALGUESS(), SCIPboolarrayExtend(), SCIPconshdlrsStorePropagationStatus(), SCIPcreateConsPseudobooleanWithConss(), SCIPdigraphComputeUndirectedComponents(), SCIPexprAddMonomialFactors(), SCIPexprAddToLinear(), SCIPexprCreateLinear(), SCIPexprgraphAddExprtreeSum(), SCIPexprgraphCreateNodeLinear(), SCIPexprgraphReplaceVarByLinearSum(), SCIPexprgraphSetVarsBounds(), SCIPexprtreeAddVars(), SCIPexprtreeSetParams(), SCIPexprtreeSetVars(), SCIPgetBinvarRepresentatives(), SCIPgetRandomSubset(), SCIPintarrayExtend(), SCIPlpCalcMIR(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiGetBounds(), SCIPlpiGetCols(), SCIPlpiGetDualfarkas(), SCIPlpiGetObj(), SCIPlpiGetPrimalRay(), SCIPlpiGetRows(), SCIPlpiGetSides(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetJacobianSparsity(), SCIPnlpSetInitialGuess(), SCIPptrarrayExtend(), SCIPrealarrayExtend(), SCIPvarsGetActiveVars(), separateByEnumerationHeuristics(), stableSortBinvars(), storeMod2Data(), tcliqueColoring(), tcliqueLoadFile(), tryToInsert(), and xmlProcess().
#define BMScopyMemorySize |
( |
|
ptr, |
|
|
|
source, |
|
|
|
size |
|
) |
| BMScopyMemory_call( (void*)(ptr), (const void*)(source), (size_t)(size) ) |
#define BMSmoveMemory |
( |
|
ptr, |
|
|
|
source |
|
) |
| BMSmoveMemory_call( (void*)(ptr), (const void*)(source), sizeof(*(ptr)) ) |
#define BMSmoveMemoryArray |
( |
|
ptr, |
|
|
|
source, |
|
|
|
num |
|
) |
| BMSmoveMemory_call( (void*)(ptr), (const void*)(source), (num) * sizeof(*(ptr)) ) |
#define BMSmoveMemorySize |
( |
|
ptr, |
|
|
|
source, |
|
|
|
size |
|
) |
| BMSmoveMemory_call( (void*)(ptr), (const void*)(source), (size_t)(size) ) |
#define BMSduplicateMemory |
( |
|
ptr, |
|
|
|
source |
|
) |
| |
Value:
sizeof(**(ptr)), __FILE__, __LINE__ ))
Definition at line 109 of file memory.h.
#define BMSduplicateMemoryArray |
( |
|
ptr, |
|
|
|
source, |
|
|
|
num |
|
) |
| |
Value:
(num)*sizeof(**(ptr)), __FILE__, __LINE__ ))
Definition at line 111 of file memory.h.
Referenced by BMSallocBlockMemory_call(), handleDecl(), paramCreate(), paramCreateChar(), paramCreateString(), procPcdata(), SCIP_DECL_NLPISETINITIALGUESS(), SCIPbranchruleCreate(), SCIPconflicthdlrCreate(), SCIPconshdlrCreate(), SCIPdialogCreate(), SCIPdialoghdlrAddInputLine(), SCIPdigraphCopy(), SCIPdispAutoActivate(), SCIPdispCreate(), SCIPeventhdlrCreate(), SCIPheurCreate(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPnlpiCreate(), SCIPnodeselCreate(), SCIPparamSetString(), SCIPpresolCreate(), SCIPpricerCreate(), SCIPprobCreate(), SCIPprobSetName(), SCIPpropCreate(), SCIPreaderCreate(), SCIPrelaxCreate(), SCIPsepaCreate(), SCIPsetIncludeExternalCode(), SCIPsparseSolCreate(), SCIPtransformMinUC(), writeProblem(), xmlNewAttr(), and xmlNewNode().
#define BMSduplicateMemorySize |
( |
|
ptr, |
|
|
|
source, |
|
|
|
size |
|
) |
| |
Value:
(size_t)(size), __FILE__, __LINE__ ))
Definition at line 114 of file memory.h.
#define BMSfreeMemory |
( |
|
ptr | ) |
|
Value:
Definition at line 117 of file memory.h.
Referenced by BMSdestroyBlockMemory_call(), destroyChkmem(), destroyChunk(), dialogFree(), freeClique(), freeCliquehash(), hashmaplistFree(), hashmaplistRemove(), linelistFree(), messagehdlrFree(), popPstack(), resetVarname(), SCIPactivityFree(), SCIPbranchcandFree(), SCIPbranchruleFree(), SCIPbtFree(), SCIPbufferFree(), SCIPbufferFreeMem(), SCIPcliquetableFree(), SCIPclockFree(), SCIPconflictFree(), SCIPconflicthdlrFree(), SCIPconshdlrFree(), SCIPcutpoolFree(), SCIPdialoghdlrFree(), SCIPdigraphFree(), SCIPdispFree(), SCIPeventhdlrFree(), SCIPeventqueueFree(), SCIPexprintFree(), SCIPfree(), SCIPhashmapFree(), SCIPhashtableFree(), SCIPheurFree(), SCIPinterruptFree(), SCIPlpFree(), SCIPlpiFree(), SCIPmemFree(), SCIPmessageVFPrintDialog(), SCIPmessageVFPrintInfo(), SCIPmessageVFPrintVerbInfo(), SCIPmessageVFPrintWarning(), SCIPmessageVPrintError(), SCIPnlpFree(), SCIPnlpiFree(), SCIPnlpiOracleFree(), SCIPnlpStatisticsFree(), SCIPnodepqDestroy(), SCIPnodeselFree(), SCIPparamsetFree(), SCIPpqueueFree(), SCIPpresolFree(), SCIPpricerFree(), SCIPpricestoreFree(), SCIPprimalFree(), SCIPprobFree(), SCIPprofileFree(), SCIPpropFree(), SCIPqueueFree(), SCIPreaderFree(), SCIPreaderWrite(), SCIPrelaxationFree(), SCIPrelaxFree(), SCIPsepaFree(), SCIPsepastoreFree(), SCIPsetFree(), SCIPsparseSolFree(), SCIPstatFree(), SCIPtreeFree(), SCIPvbcFree(), tcliqueFree(), xmlFreeAttr(), and xmlFreeNode().
#define BMSfreeMemoryArray |
( |
|
ptr | ) |
|
Value:
Definition at line 120 of file memory.h.
Referenced by branch(), doCdata(), exprgraphNodeEval(), exprgraphNodeUpdateBounds(), freeClique(), freeCliquehash(), getASlice(), getAttrval(), getName(), handleDecl(), handleEndtag(), handleStarttag(), hashtableResize(), linelistFree(), lpiGetBInvVec(), lpiStrongbranch(), lpiStrongbranches(), paramFree(), procInTag(), procPcdata(), SCIPbranchruleFree(), SCIPconflicthdlrFree(), SCIPconshdlrFree(), SCIPdialoghdlrFree(), SCIPdigraphComputeUndirectedComponents(), SCIPdigraphFree(), SCIPdigraphFreeComponents(), SCIPdigraphTopoSortComponents(), SCIPdispAutoActivate(), SCIPdispFree(), SCIPeventhdlrFree(), SCIPexprCheckCurvature(), SCIPexprEval(), SCIPexprEvalInt(), SCIPexprgraphSimplify(), SCIPexprgraphUpdateNodeBoundsCurvature(), SCIPexprtreePrintWithNames(), SCIPexprtreeSimplify(), SCIPhashmapFree(), SCIPhashtableFree(), SCIPheurFree(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPlpiAddCols(), SCIPlpiAddRows(), SCIPlpiChgBounds(), SCIPlpiChgSides(), SCIPlpiDelCols(), SCIPlpiDelColset(), SCIPlpiDelRows(), SCIPlpiDelRowset(), SCIPlpiFree(), SCIPlpiGetBasisInd(), SCIPlpiGetBInvACol(), SCIPlpiGetBInvARow(), SCIPlpiGetBInvCol(), SCIPlpiGetBInvRow(), SCIPlpiGetCoef(), SCIPlpiGetCols(), SCIPlpiGetPrimalRay(), SCIPlpiGetRows(), SCIPlpiGetSol(), SCIPlpiLoadColLP(), SCIPlpiScaleCol(), SCIPlpiScaleRow(), SCIPlpiSetBase(), SCIPlpiStrongbranchFrac(), SCIPnlpiFree(), SCIPnodeselFree(), SCIPpqueueFree(), SCIPpresolFree(), SCIPpricerFree(), SCIPprobFree(), SCIPprobSetName(), SCIPprofileFree(), SCIPpropFree(), SCIPqueueFree(), SCIPreaderFree(), SCIPreaderWrite(), SCIPrelaxFree(), SCIPsepaFree(), SCIPshrinkDisjunctiveVarSet(), SCIPsparseSolFree(), SCIPtransformMinUC(), tcliqueColoring(), tcliqueFlush(), tcliqueFree(), tcliqueLoadFile(), tcliqueMaxClique(), writeProblem(), xmlFreeAttr(), xmlFreeNode(), and xmlProcess().
Definition at line 122 of file memory.h.
Referenced by destroyChkmem(), dialogFree(), eval(), freeDiveChgSideArrays(), invalidateSolution(), messagehdlrFree(), paramFree(), SCIP_DECL_NLPIADDVARS(), SCIP_DECL_NLPIDELVARSET(), SCIP_DECL_NLPIFREEPROBLEM(), SCIP_DECL_NLPISETINITIALGUESS(), SCIPbranchcandFree(), SCIPbufferFree(), SCIPcliquetableFree(), SCIPconflictFree(), SCIPconshdlrFree(), SCIPconshdlrInitLP(), SCIPcutpoolFree(), SCIPdigraphFree(), SCIPeventqueueFree(), SCIPlpFree(), SCIPlpiFree(), SCIPlpiGetBInvARow(), SCIPlpiSetBase(), SCIPnodepqDestroy(), SCIPparamsetFree(), SCIPparamSetString(), SCIPpricestoreFree(), SCIPprimalFree(), SCIPprobFree(), SCIPsepastoreClearCuts(), SCIPsepastoreFree(), SCIPsetFree(), SCIPtreeFree(), and tcliqueFree().
#define BMSfreeMemorySize |
( |
|
ptr | ) |
|
#define BMSallocChunkMemory |
( |
|
mem, |
|
|
|
ptr |
|
) |
| |
#define BMSduplicateChunkMemory |
( |
|
mem, |
|
|
|
ptr, |
|
|
|
source |
|
) |
| |
Value:
sizeof(**(ptr)), __FILE__, __LINE__ ))
Definition at line 253 of file memory.h.
#define BMSfreeChunkMemory |
( |
|
mem, |
|
|
|
ptr |
|
) |
| |
#define BMSallocBlockMemoryArray |
( |
|
mem, |
|
|
|
ptr, |
|
|
|
num |
|
) |
| |
Value:( ( ((size_t)(num)) > UINT_MAX / sizeof(**(ptr)) ) \
__FILE__, __LINE__)) ) )
Definition at line 386 of file memory.h.
Referenced by conflictsetCopy(), evalFunctionGradient(), evalFunctionValue(), exprgraphAddExpr(), exprgraphFindParentByOperator(), exprgraphNodeCreateExpr(), exprgraphNodeRemovePolynomialDuplicateChildren(), exprgraphNodeRemovePolynomialNullChildren(), exprgraphNodeSimplify(), exprsimplifyRemoveDuplicatePolynomialChildren(), exprsimplifyRemovePolynomialNullChildren(), exprsimplifyRemovePolynomialUnusedChildren(), exprsimplifySeparateLinearFromPolynomial(), exprUnconvertPolynomial(), hessLagAddExprtree(), hessLagSparsitySetNzFlagForExprtree(), lpistateCreate(), nlpCalcFracVars(), polynomialdataCopy(), polynomialdataCreate(), printFunction(), SCIPboolarrayExtend(), SCIPcliquetableAdd(), SCIPcolCreate(), SCIPexprCopyDeep(), SCIPexprCreate(), SCIPexprCreateLinear(), SCIPexprCreateMonomial(), SCIPexprgraphAddExprtreeSum(), SCIPexprgraphCreateNodeLinear(), SCIPexprgraphGetSeparableTrees(), SCIPexprgraphGetSumTrees(), SCIPexprgraphGetTree(), SCIPexprgraphNodeSplitOffLinear(), SCIPexprgraphReplaceVarByLinearSum(), SCIPexprtreeCreate(), SCIPexprtreeRemoveFixedVars(), SCIPintarrayExtend(), SCIPlpiGetNorms(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleGetJacobianSparsity(), SCIPptrarrayExtend(), SCIPrealarrayExtend(), SCIProwCreate(), and SCIPvaluehistoryCreate().
#define BMSreallocBlockMemoryArray |
( |
|
mem, |
|
|
|
ptr, |
|
|
|
oldnum, |
|
|
|
newnum |
|
) |
| |
Value:( ( ((size_t)(newnum)) > UINT_MAX / sizeof(**(ptr)) ) \
(oldnum)*sizeof(**(ptr)), (newnum)*sizeof(**(ptr)), __FILE__, \
__LINE__)) ) )
Definition at line 390 of file memory.h.
Referenced by cliqueEnsureSize(), cliquelistEnsureSize(), colEnsureSize(), conflictsetEnsureBdchginfosMem(), conssetchgEnsureAddedconssSize(), conssetchgEnsureDisabledconssSize(), domchgEnsureBoundchgsSize(), domchgEnsureHolechgsSize(), ensureConsLinSize(), ensureConsQuadSize(), ensureConssSize(), ensureIntArraySize(), ensureVarsSize(), eventfilterEnsureMem(), exprgraphNodeAddChildren(), exprgraphNodeRemovePolynomialNullChildren(), exprsimplifyAddChildren(), exprsimplifyFlattenPolynomials(), exprsimplifyRemovePolynomialNullChildren(), implicsEnsureSize(), monomialdataEnsureFactorsSize(), nlpCalcFracVars(), nlpEnsureNlRowsSolverSize(), nlpEnsureVarsSolverSize(), SCIPdomchgMakeStatic(), SCIPexprAddToLinear(), SCIPexprgraphNodeSplitOffLinear(), SCIPexprtreeAddVars(), SCIPexprtreeRemoveFixedVars(), SCIPexprtreeSetParams(), SCIPexprtreeSetVars(), SCIPnlpEnsureNlRowsSize(), SCIPnlpEnsureVarsSize(), SCIPnlpiOracleGetJacobianSparsity(), SCIPnlrowEnsureLinearSize(), SCIPnlrowEnsureQuadElementsSize(), SCIPnlrowEnsureQuadVarsSize(), SCIProwEnsureSize(), SCIPvaluehistoryFind(), SCIPvarFlattenAggregationGraph(), SCIPvarMultiaggregate(), varEnsureLbchginfosSize(), varEnsureParentvarsSize(), varEnsureUbchginfosSize(), and vboundsEnsureSize().
#define BMSallocBlockMemory |
( |
|
mem, |
|
|
|
ptr |
|
) |
| |
Value:
Definition at line 404 of file memory.h.
Referenced by btnodeCreateEmpty(), cliqueCreateWithData(), cliquelistCreate(), colStoreSolVals(), conflictsetCopy(), conflictsetCreate(), conssetchgCreate(), createConstraint(), cutCreate(), exprCreate(), exprgraphCreateNode(), exprUnconvertPolynomial(), forkCreate(), hashmaplistAppend(), hashtablelistAppend(), holelistCreate(), implicsCreate(), lpistateCreate(), nodeCreate(), paramCreate(), polynomialdataCreate(), probingnodeCreate(), pseudoforkCreate(), quadraticdataCreate(), rowStoreSolVals(), SCIPbdchginfoCreate(), SCIPboolarrayCreate(), SCIPcolCreate(), SCIPconsCreate(), SCIPeventCreateGholeAdded(), SCIPeventCreateGholeRemoved(), SCIPeventCreateGlbChanged(), SCIPeventCreateGubChanged(), SCIPeventCreateImplAdded(), SCIPeventCreateLbChanged(), SCIPeventCreateLholeAdded(), SCIPeventCreateLholeRemoved(), SCIPeventCreateObjChanged(), SCIPeventCreateRowAddedLP(), SCIPeventCreateRowAddedSepa(), SCIPeventCreateRowCoefChanged(), SCIPeventCreateRowConstChanged(), SCIPeventCreateRowDeletedLP(), SCIPeventCreateRowDeletedSepa(), SCIPeventCreateRowSideChanged(), SCIPeventCreateUbChanged(), SCIPeventCreateVarAdded(), SCIPeventCreateVarDeleted(), SCIPeventCreateVarFixed(), SCIPeventCreateVarUnlocked(), SCIPeventfilterCreate(), SCIPexprCreateMonomial(), SCIPexprgraphCreate(), SCIPexprtreeCreate(), SCIPhistoryCreate(), SCIPintarrayCreate(), SCIPlpiGetNorms(), SCIPlpiGetState(), SCIPnlrowCreate(), SCIPptrarrayCreate(), SCIPrealarrayCreate(), SCIProwCreate(), SCIPsolCopy(), SCIPsolCreate(), SCIPsolCreateOriginal(), SCIPsolCreateUnknown(), SCIPvaluehistoryCreate(), varCreate(), and vboundsCreate().
#define BMSallocBlockMemorySize |
( |
|
mem, |
|
|
|
ptr, |
|
|
|
size |
|
) |
| |
#define BMSreallocBlockMemorySize |
( |
|
mem, |
|
|
|
ptr, |
|
|
|
oldsize, |
|
|
|
newsize |
|
) |
| |
#define BMSduplicateBlockMemory |
( |
|
mem, |
|
|
|
ptr, |
|
|
|
source |
|
) |
| |
#define BMSduplicateBlockMemoryArray |
( |
|
mem, |
|
|
|
ptr, |
|
|
|
source, |
|
|
|
num |
|
) |
| |
Value:
(num)*sizeof(**(ptr)), __FILE__, __LINE__ ))
Definition at line 414 of file memory.h.
Referenced by createConstraint(), forkCreate(), polynomialdataCreate(), pseudoforkCreate(), quadraticdataCreate(), SCIP_DECL_EXPRCOPYDATA(), SCIPboolarrayCopy(), SCIPcliquetableAdd(), SCIPcolCreate(), SCIPconsChgName(), SCIPconsCreate(), SCIPexprCreate(), SCIPexprCreateLinear(), SCIPexprCreateMonomial(), SCIPexprCreatePolynomial(), SCIPexprCreateQuadratic(), SCIPexprgraphAddNode(), SCIPexprtreeAddVars(), SCIPexprtreeCopy(), SCIPexprtreeCreate(), SCIPexprtreeSetParams(), SCIPexprtreeSetVars(), SCIPintarrayCopy(), SCIPnlpCreate(), SCIPnlpiOracleAddVars(), SCIPnlpiOracleChgExprtree(), SCIPnlpiOracleChgLinearCoefs(), SCIPnlpiOracleChgQuadCoefs(), SCIPnlpiOracleSetProblemName(), SCIPnlpSetInitialGuess(), SCIPnlrowCreate(), SCIPptrarrayCopy(), SCIPrealarrayCopy(), SCIProwCreate(), SCIPvarMultiaggregate(), and varSetName().
#define BMSfreeBlockMemory |
( |
|
mem, |
|
|
|
ptr |
|
) |
| |
Value:
Definition at line 417 of file memory.h.
Referenced by btnodeFreeLeaf(), cliqueFree(), conflictsetFree(), cutFree(), forkFree(), freeConstraint(), hashmaplistFree(), hashmaplistRemove(), hashtablelistFree(), hashtablelistRemove(), holelistFree(), lpistateFree(), paramFree(), polynomialdataFree(), probingnodeFree(), pseudoforkFree(), SCIP_DECL_EXPRFREEDATA(), SCIPbdchginfoFree(), SCIPboolarrayFree(), SCIPcliquelistFree(), SCIPcolFree(), SCIPconsFree(), SCIPconssetchgFree(), SCIPeventfilterFree(), SCIPeventFree(), SCIPexprFreeDeep(), SCIPexprFreeMonomial(), SCIPexprFreeShallow(), SCIPexprgraphFree(), SCIPexprgraphFreeNode(), SCIPexprtreeFree(), SCIPhistoryFree(), SCIPimplicsFree(), SCIPintarrayFree(), SCIPlpiFreeNorms(), SCIPlpiGetNorms(), SCIPnlrowFree(), SCIPnodeFree(), SCIPptrarrayFree(), SCIPrealarrayFree(), SCIProwFree(), SCIPsolFree(), SCIPvaluehistoryFree(), SCIPvboundsFree(), subrootFree(), treeCreateProbingNode(), and varFree().
#define BMSfreeBlockMemoryArray |
( |
|
mem, |
|
|
|
ptr, |
|
|
|
num |
|
) |
| |
Value:
Definition at line 421 of file memory.h.
Referenced by evalFunctionGradient(), evalFunctionValue(), exprgraphAddExpr(), exprgraphFindParentByOperator(), exprgraphNodeRemovePolynomialDuplicateChildren(), exprgraphNodeRemovePolynomialNullChildren(), exprgraphNodeSimplify(), exprsimplifyFlattenPolynomials(), exprsimplifyRemoveDuplicatePolynomialChildren(), exprsimplifyRemovePolynomialNullChildren(), exprsimplifyRemovePolynomialUnusedChildren(), exprsimplifySeparateLinearFromPolynomial(), freeVariables(), hessLagAddExprtree(), hessLagSparsitySetNzFlagForExprtree(), invalidateHessianLagSparsity(), invalidateJacobiSparsity(), lpistateFree(), nlrowRemoveFixedQuadVars(), polynomialdataFree(), printFunction(), SCIP_DECL_EXPRFREEDATA(), SCIPcliquetableAdd(), SCIPconsChgName(), SCIPconsFree(), SCIPexprFreeDeep(), SCIPexprFreeMonomial(), SCIPexprgraphAddExprtreeSum(), SCIPexprgraphFree(), SCIPexprgraphGetSeparableTrees(), SCIPexprgraphGetSumTrees(), SCIPexprgraphGetTree(), SCIPexprgraphNodeSplitOffLinear(), SCIPexprtreeRemoveFixedVars(), SCIPlpiFreeNorms(), SCIPlpiGetNorms(), SCIPnlpFree(), SCIPnlpiOracleChgExprtree(), SCIPnlpiOracleDelVarSet(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpiOracleGetJacobianSparsity(), SCIPnlpiOracleSetProblemName(), SCIPnlrowFree(), SCIProwFree(), SCIPvaluehistoryFree(), SCIPvarChgName(), SCIPvarMultiaggregate(), and varFree().
Definition at line 424 of file memory.h.
Referenced by cliqueFree(), conflictsetFree(), evalFunctionGradient(), exprgraphNodeCreateExpr(), exprgraphNodeSimplify(), exprsimplifyFlattenPolynomials(), forkFree(), freeConstraint(), freeConstraints(), freeVariables(), hessLagAddExprtree(), lpistateFree(), pseudoforkFree(), SCIPboolarrayExtend(), SCIPboolarrayFree(), SCIPcliquelistFree(), SCIPcolFree(), SCIPconssetchgFree(), SCIPdomchgFree(), SCIPdomchgMakeStatic(), SCIPeventfilterFree(), SCIPexprFreeShallow(), SCIPexprgraphFree(), SCIPexprgraphFreeNode(), SCIPexprgraphGetSeparableTrees(), SCIPexprgraphSimplify(), SCIPexprtreeFree(), SCIPexprtreeSetParams(), SCIPexprtreeSetVars(), SCIPimplicsFree(), SCIPintarrayExtend(), SCIPintarrayFree(), SCIPnlpFree(), SCIPnlpiOracleDelVarSet(), SCIPnlpiOracleEvalJacobian(), SCIPnlpiOracleGetHessianLagSparsity(), SCIPnlpReset(), SCIPnlrowFree(), SCIPptrarrayExtend(), SCIPptrarrayFree(), SCIPrealarrayExtend(), SCIPrealarrayFree(), SCIProwFree(), SCIPvboundsFree(), subrootFree(), varFree(), and varFreeParents().
#define BMSfreeBlockMemorySize |
( |
|
mem, |
|
|
|
ptr, |
|
|
|
size |
|
) |
| |
collection of memory chunks of the same element size
Definition at line 240 of file memory.h.
block memory: collection of chunk blocks
Definition at line 371 of file memory.h.
void* BMSallocClearMemory_call |
( |
size_t |
num, |
|
|
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
allocates memory and initializes it with 0; returns NULL if memory allocation failed
- Parameters
-
num | number of memory element to allocate |
size | size of one memory element to allocate |
filename | source file where the allocation is performed |
line | line number in source file where the allocation is performed |
Definition at line 280 of file memory.c.
References debugMessage, MAX, NULL, printError, and printErrorHeader.
void* BMSallocMemory_call |
( |
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
void* BMSreallocMemory_call |
( |
void * |
ptr, |
|
|
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
allocates memory; returns NULL if memory allocation failed
- Parameters
-
ptr | pointer to memory to reallocate |
size | new size of memory element |
filename | source file where the reallocation is performed |
line | line number in source file where the reallocation is performed |
Definition at line 336 of file memory.c.
References MAX, NULL, printError, and printErrorHeader.
void BMSclearMemory_call |
( |
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
clears a memory element (i.e. fills it with zeros)
- Parameters
-
ptr | pointer to memory element |
size | size of memory element |
Definition at line 369 of file memory.c.
References NULL.
void BMScopyMemory_call |
( |
void * |
ptr, |
|
|
const void * |
source, |
|
|
size_t |
size |
|
) |
| |
copies the contents of one memory element into another memory element
- Parameters
-
ptr | pointer to target memory element |
source | pointer to source memory element |
size | size of memory element to copy |
Definition at line 382 of file memory.c.
References NULL.
Referenced by BMSduplicateMemory_call().
void BMSmoveMemory_call |
( |
void * |
ptr, |
|
|
const void * |
source, |
|
|
size_t |
size |
|
) |
| |
moves the contents of one memory element into another memory element, should be used if both elements overlap, otherwise BMScopyMemory is faster
- Parameters
-
ptr | pointer to target memory element |
source | pointer to source memory element |
size | size of memory element to copy |
Definition at line 399 of file memory.c.
References NULL.
void* BMSduplicateMemory_call |
( |
const void * |
source, |
|
|
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
allocates memory and copies the contents of the given memory element into the new memory element
- Parameters
-
source | pointer to source memory element |
size | size of memory element to copy |
filename | source file where the duplication is performed |
line | line number in source file where the duplication is performed |
Definition at line 414 of file memory.c.
References BMSallocMemory_call(), BMScopyMemory_call(), and NULL.
void BMSfreeMemory_call |
( |
void * |
ptr, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
frees an allocated memory element
- Parameters
-
ptr | pointer to memory element |
filename | source file where the deallocation is performed |
line | line number in source file where the deallocation is performed |
Definition at line 433 of file memory.c.
References NULL, printError, and printErrorHeader.
size_t BMSgetPointerSize_call |
( |
const void * |
ptr | ) |
|
returns the size of an allocated memory element
- Parameters
-
ptr | pointer to allocated memory |
Definition at line 242 of file memory.c.
void BMSdisplayMemory_call |
( |
void |
| ) |
|
outputs information about currently allocated memory to the screen
Definition at line 250 of file memory.c.
References printInfo.
void BMScheckEmptyMemory_call |
( |
void |
| ) |
|
displays a warning message on the screen, if allocated memory exists
Definition at line 260 of file memory.c.
References printInfo.
long long BMSgetMemoryUsed_call |
( |
void |
| ) |
|
returns total number of allocated bytes
Definition at line 270 of file memory.c.
void BMSalignMemsize |
( |
size_t * |
size | ) |
|
aligns the given byte size corresponding to the minimal alignment for chunk and block memory
- Parameters
-
size | pointer to the size to align |
Definition at line 535 of file memory.c.
References ALIGNMENT, and alignSize().
int BMSisAligned |
( |
size_t |
size | ) |
|
BMS_CHKMEM* BMScreateChunkMemory_call |
( |
size_t |
size, |
|
|
int |
initchunksize, |
|
|
int |
garbagefactor, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
creates a new chunk block data structure
- Parameters
-
size | element size of the chunk block |
initchunksize | number of elements in the first chunk of the chunk block |
garbagefactor | garbage collector is called, if at least garbagefactor * avg. chunksize elements are free (-1: disable garbage collection) |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1283 of file memory.c.
References alignSize(), createChkmem(), debugMessage, NULL, printError, and printErrorHeader.
void BMSclearChunkMemory_call |
( |
BMS_CHKMEM * |
chkmem, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
void BMSdestroyChunkMemory_call |
( |
BMS_CHKMEM ** |
chkmem, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
void* BMSallocChunkMemory_call |
( |
BMS_CHKMEM * |
chkmem, |
|
|
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
void* BMSduplicateChunkMemory_call |
( |
BMS_CHKMEM * |
chkmem, |
|
|
const void * |
source, |
|
|
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
duplicates a given memory element by allocating a new element of the same chunk block and copying the data
- Parameters
-
chkmem | chunk block |
source | source memory element |
size | size of memory element to allocate (only needed for sanity check) |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1372 of file memory.c.
References BMSallocChunkMemory_call(), BMScopyMemorySize, and NULL.
void BMSfreeChunkMemory_call |
( |
BMS_CHKMEM * |
chkmem, |
|
|
void * |
ptr, |
|
|
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
void BMSgarbagecollectChunkMemory_call |
( |
BMS_CHKMEM * |
chkmem | ) |
|
long long BMSgetChunkMemoryUsed_call |
( |
const BMS_CHKMEM * |
chkmem | ) |
|
returns the number of allocated bytes in the chunk block
- Parameters
-
Definition at line 1431 of file memory.c.
References NULL.
BMS_BLKMEM* BMScreateBlockMemory_call |
( |
int |
initchunksize, |
|
|
int |
garbagefactor, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
creates a block memory allocation data structure
- Parameters
-
initchunksize | number of elements in the first chunk of each chunk block |
garbagefactor | garbage collector is called, if at least garbagefactor * avg. chunksize elements are free (-1: disable garbage collection) |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1539 of file memory.c.
References BMSallocMemory, CHKHASH_SIZE, NULL, printError, and printErrorHeader.
void BMSclearBlockMemory_call |
( |
BMS_BLKMEM * |
blkmem, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
void BMSdestroyBlockMemory_call |
( |
BMS_BLKMEM ** |
blkmem, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
void* BMSallocBlockMemory_call |
( |
BMS_BLKMEM * |
blkmem, |
|
|
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
allocates memory in the block memory pool
- Parameters
-
blkmem | block memory |
size | size of memory element to allocate |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1624 of file memory.c.
References alignSize(), allocChkmemElement(), BMSduplicateMemoryArray, checkBlkmem, createChkmem(), debugMessage, getHashNumber(), NULL, printError, and printErrorHeader.
Referenced by BMSduplicateBlockMemory_call(), and BMSreallocBlockMemory_call().
void* BMSreallocBlockMemory_call |
( |
BMS_BLKMEM * |
blkmem, |
|
|
void * |
ptr, |
|
|
size_t |
oldsize, |
|
|
size_t |
newsize, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
void* BMSduplicateBlockMemory_call |
( |
BMS_BLKMEM * |
blkmem, |
|
|
const void * |
source, |
|
|
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
duplicates memory element in the block memory pool, and copies the data
- Parameters
-
blkmem | block memory |
source | memory element to duplicate |
size | size of memory elements |
filename | source file of the function call |
line | line number in source file of the function call |
Definition at line 1710 of file memory.c.
References BMSallocBlockMemory_call(), BMScopyMemorySize, and NULL.
void BMSfreeBlockMemory_call |
( |
BMS_BLKMEM * |
blkmem, |
|
|
void * |
ptr, |
|
|
size_t |
size, |
|
|
const char * |
filename, |
|
|
int |
line |
|
) |
| |
void BMSgarbagecollectBlockMemory_call |
( |
BMS_BLKMEM * |
blkmem | ) |
|
long long BMSgetBlockMemoryUsed_call |
( |
const BMS_BLKMEM * |
blkmem | ) |
|
returns the number of allocated bytes in the block memory
- Parameters
-
Definition at line 1814 of file memory.c.
References NULL.
size_t BMSgetBlockPointerSize_call |
( |
const BMS_BLKMEM * |
blkmem, |
|
|
const void * |
ptr |
|
) |
| |
returns the size of the given memory element; returns 0, if the element is not member of the block memory
- Parameters
-
blkmem | block memory |
ptr | memory element |
Definition at line 1824 of file memory.c.
References findChkmem(), and NULL.
void BMSdisplayBlockMemory_call |
( |
const BMS_BLKMEM * |
blkmem | ) |
|
void BMScheckEmptyBlockMemory_call |
( |
const BMS_BLKMEM * |
blkmem | ) |
|
|