MagickCore 7.1.0
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.

Macros

#define CACHE_LINE_SIZE   (8 * MAGICKCORE_SIZEOF_VOID_P)
 
#define CACHE_ALIGNED(n)   MAGICKCORE_ALIGN_UP(n,CACHE_LINE_SIZE)
 
#define MagickAssumeAligned(address)   (address)
 

Functions

static size_t OverAllocateMemory (const size_t length)
 
MagickPrivate void ResetMaxMemoryRequest (void)
 
MagickPrivate void ResetVirtualAnonymousMemory (void)
 

Macro Definition Documentation

◆ CACHE_ALIGNED

#define CACHE_ALIGNED (   n)    MAGICKCORE_ALIGN_UP(n,CACHE_LINE_SIZE)

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

◆ CACHE_LINE_SIZE

#define CACHE_LINE_SIZE   (8 * MAGICKCORE_SIZEOF_VOID_P)

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

◆ MagickAssumeAligned

#define MagickAssumeAligned (   address)    (address)

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

Function Documentation

◆ OverAllocateMemory()

static size_t OverAllocateMemory ( const size_t  length)
inlinestatic

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

Referenced by ConcatenateString(), ConcatenateStringInfo(), and SubstituteString().

◆ ResetMaxMemoryRequest()

MagickPrivate void ResetMaxMemoryRequest ( void  )

◆ ResetVirtualAnonymousMemory()

MagickPrivate void ResetVirtualAnonymousMemory ( void  )

Definition at line 1345 of file memory.c.

References virtual_anonymous_memory.

Referenced by SetMagickSecurityPolicyValue().