Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
FPlatformMemory Struct Reference

#include <GenericPlatformMemory.h>

Static Public Member Functions

static FORCEINLINE void * Memmove (void *Dest, const void *Src, SIZE_T Count)
 
static FORCEINLINE int32 Memcmp (const void *Buf1, const void *Buf2, SIZE_T Count)
 
static FORCEINLINE void * Memset (void *Dest, uint8 Char, SIZE_T Count)
 
static FORCEINLINE void * Memzero (void *Dest, SIZE_T Count)
 
static FORCEINLINE void * Memcpy (void *Dest, const void *Src, SIZE_T Count)
 
static FORCEINLINE void * BigBlockMemcpy (void *Dest, const void *Src, SIZE_T Count)
 
static FORCEINLINE void * StreamingMemcpy (void *Dest, const void *Src, SIZE_T Count)
 
static void MemswapGreaterThan8 (void *RESTRICT Ptr1, void *RESTRICT Ptr2, SIZE_T Size)
 
static void Memswap (void *Ptr1, void *Ptr2, SIZE_T Size)
 

Static Private Member Functions

template<typename T >
static FORCEINLINE void Valswap (T &A, T &B)
 

Detailed Description

Definition at line 14 of file GenericPlatformMemory.h.

Member Function Documentation

◆ BigBlockMemcpy()

static FORCEINLINE void * FPlatformMemory::BigBlockMemcpy ( void * Dest,
const void * Src,
SIZE_T Count )
inlinestatic

Memcpy optimized for big blocks.

Definition at line 42 of file GenericPlatformMemory.h.

+ Here is the caller graph for this function:

◆ Memcmp()

static FORCEINLINE int32 FPlatformMemory::Memcmp ( const void * Buf1,
const void * Buf2,
SIZE_T Count )
inlinestatic

Definition at line 21 of file GenericPlatformMemory.h.

+ Here is the caller graph for this function:

◆ Memcpy()

static FORCEINLINE void * FPlatformMemory::Memcpy ( void * Dest,
const void * Src,
SIZE_T Count )
inlinestatic

Definition at line 36 of file GenericPlatformMemory.h.

+ Here is the caller graph for this function:

◆ Memmove()

static FORCEINLINE void * FPlatformMemory::Memmove ( void * Dest,
const void * Src,
SIZE_T Count )
inlinestatic

Definition at line 16 of file GenericPlatformMemory.h.

+ Here is the caller graph for this function:

◆ Memset()

static FORCEINLINE void * FPlatformMemory::Memset ( void * Dest,
uint8 Char,
SIZE_T Count )
inlinestatic

Definition at line 26 of file GenericPlatformMemory.h.

+ Here is the caller graph for this function:

◆ Memswap()

static void FPlatformMemory::Memswap ( void * Ptr1,
void * Ptr2,
SIZE_T Size )
inlinestatic

Definition at line 119 of file GenericPlatformMemory.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MemswapGreaterThan8()

static void FPlatformMemory::MemswapGreaterThan8 ( void *RESTRICT Ptr1,
void *RESTRICT Ptr2,
SIZE_T Size )
inlinestatic

Definition at line 53 of file GenericPlatformMemory.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Memzero()

static FORCEINLINE void * FPlatformMemory::Memzero ( void * Dest,
SIZE_T Count )
inlinestatic

Definition at line 31 of file GenericPlatformMemory.h.

+ Here is the caller graph for this function:

◆ StreamingMemcpy()

static FORCEINLINE void * FPlatformMemory::StreamingMemcpy ( void * Dest,
const void * Src,
SIZE_T Count )
inlinestatic

On some platforms memcpy optimized for big blocks that avoid L2 cache pollution are available

Definition at line 48 of file GenericPlatformMemory.h.

+ Here is the caller graph for this function:

◆ Valswap()

template<typename T >
static FORCEINLINE void FPlatformMemory::Valswap ( T & A,
T & B )
inlinestaticprivate

Definition at line 176 of file GenericPlatformMemory.h.

+ Here is the caller graph for this function:

The documentation for this struct was generated from the following file: