Scippy

    SCIP

    Solving Constraint Integer Programs

    BMS_BufMem Struct Reference

    Detailed Description

    memory buffer storage for temporary objects

    Definition at line 2544 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 2546 of file memory.c.

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

    ◆ size

    size_t* BMS_BufMem::size

    ◆ used

    unsigned int* BMS_BufMem::used

    1 iff corresponding buffer is in use

    Definition at line 2548 of file memory.c.

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

    ◆ totalmem

    size_t BMS_BufMem::totalmem

    total memory consumption of buffer

    Definition at line 2549 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 2550 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 2553 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 2554 of file memory.c.

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