Scippy

SCIP

Solving Constraint Integer Programs

BMS_BufMem Struct Reference

Detailed Description

memory buffer storage for temporary objects

Definition at line 2496 of file memory.c.

Data Fields

void ** data
 
size_t * size
 
unsigned int * used
 
size_t totalmem
 
unsigned int clean
 
size_t ndata
 
size_t firstfree
 
double arraygrowfac
 
unsigned int arraygrowinit
 

Field Documentation

◆ data

void** BMS_BufMem::data

allocated memory chunks for arbitrary data

Definition at line 2498 of file memory.c.

Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSfreeBufferMemory_work(), BMSprintBufferMemory(), and BMSreallocBufferMemory_work().

◆ size

size_t* BMS_BufMem::size

◆ used

◆ totalmem

size_t BMS_BufMem::totalmem

total memory consumption of buffer

Definition at line 2501 of file memory.c.

Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSgetBufferMemoryUsed(), and BMSreallocBufferMemory_work().

◆ clean

unsigned int BMS_BufMem::clean

1 iff the memory blocks in the buffer should be initialized to zero?

Definition at line 2502 of file memory.c.

Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSfreeBufferMemory_work(), and BMSreallocBufferMemory_work().

◆ ndata

◆ firstfree

size_t BMS_BufMem::firstfree

◆ arraygrowfac

double BMS_BufMem::arraygrowfac

memory growing factor for dynamically allocated arrays

Definition at line 2505 of file memory.c.

Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSreallocBufferMemory_work(), and BMSsetBufferMemoryArraygrowfac().

◆ arraygrowinit

unsigned int BMS_BufMem::arraygrowinit

initial size of dynamically allocated arrays

Definition at line 2506 of file memory.c.

Referenced by BMSallocBufferMemory_work(), BMScreateBufferMemory_call(), BMSreallocBufferMemory_work(), and BMSsetBufferMemoryArraygrowinit().