MagickCore  7.0.8
Convert, Edit, Or Compose Bitmap Images
memory-private.h File Reference
Include dependency graph for memory-private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define CACHE_LINE_SIZE   64
#define CacheAlign(size)   ((size) < CACHE_LINE_SIZE ? CACHE_LINE_SIZE : (size))
#define MagickAssumeAligned(address)   (address)


MagickExport MagickBooleanType HeapOverflowSanityCheck (const size_t, const size_t) magick_alloc_sizes(1
MagickExport MagickBooleanType MagickExport size_t GetMaxMemoryRequest (void)
MagickPrivate void ResetMaxMemoryRequest (void)
MagickPrivate void ResetVirtualAnonymousMemory (void)
static void * AcquireCriticalMemory (const size_t size)

Macro Definition Documentation


#define CACHE_LINE_SIZE   64

Definition at line 30 of file memory-private.h.

Referenced by AcquireAlignedMemory(), and AcquireSemaphoreMemory().

◆ CacheAlign

#define CacheAlign (   size)    ((size) < CACHE_LINE_SIZE ? CACHE_LINE_SIZE : (size))

Definition at line 33 of file memory-private.h.

◆ MagickAssumeAligned

Function Documentation

◆ AcquireCriticalMemory()

◆ GetMaxMemoryRequest()

MagickExport MagickBooleanType MagickExport size_t GetMaxMemoryRequest ( void  )

◆ HeapOverflowSanityCheck()

MagickExport MagickBooleanType HeapOverflowSanityCheck ( const size_t  ,
const size_t   

◆ ResetMaxMemoryRequest()

MagickPrivate void ResetMaxMemoryRequest ( void  )

◆ ResetVirtualAnonymousMemory()

MagickPrivate void ResetVirtualAnonymousMemory ( void  )

Definition at line 1226 of file memory.c.

References virtual_anonymous_memory.

Referenced by SetMagickSecurityPolicyValue().