Functions | Variables
test_debug_ring.cpp File Reference

Go to the source code of this file.

Functions

void * operator new (std::size_t size)
 
void operator delete (void *ptr, std::size_t size) throw ()
 
void operator delete (void *ptr) throw ()
 
void init_wb (uint64_t num, char val='A')
 

Variables

debug_ring_resources_tdrr
 
char rb [DEBUG_RING_SIZE]
 
char wb [DEBUG_RING_SIZE+100]
 
bool out_of_memory = false
 

Function Documentation

◆ operator new()

void* operator new ( std::size_t  size)

Definition at line 35 of file test_debug_ring.cpp.

◆ operator delete() [1/2]

void operator delete ( void *  ptr,
std::size_t  size 
)
throw (
)

Definition at line 44 of file test_debug_ring.cpp.

◆ operator delete() [2/2]

void operator delete ( void *  ptr)
throw (
)

Definition at line 51 of file test_debug_ring.cpp.

◆ init_wb()

void init_wb ( uint64_t  num,
char  val = 'A' 
)

Definition at line 57 of file test_debug_ring.cpp.

Variable Documentation

◆ drr

Definition at line 27 of file test_debug_ring.cpp.

◆ rb

char rb[DEBUG_RING_SIZE]

Definition at line 29 of file test_debug_ring.cpp.

◆ wb

char wb[DEBUG_RING_SIZE+100]

Definition at line 30 of file test_debug_ring.cpp.

◆ out_of_memory

bool out_of_memory = false

Definition at line 32 of file test_debug_ring.cpp.