Blender V5.0
guardedalloc_alignment_test.cc File Reference
#include "testing/testing.h"
#include "BLI_utildefines.h"
#include "MEM_guardedalloc.h"
#include "guardedalloc_test_base.h"

Go to the source code of this file.

Macros

#define CHECK_ALIGNMENT(ptr, align)

Functions

 TEST_F (LockFreeAllocatorTest, MEM_mallocN_aligned)
 TEST_F (GuardedAllocatorTest, MEM_mallocN_aligned)

Macro Definition Documentation

◆ CHECK_ALIGNMENT

#define CHECK_ALIGNMENT ( ptr,
align )
Value:
EXPECT_EQ(size_t(ptr) % align, 0)
EXPECT_EQ(BLI_expr_pylike_eval(expr, nullptr, 0, &result), EXPR_PYLIKE_INVALID)
PointerRNA * ptr
Definition wm_files.cc:4238

Definition at line 12 of file guardedalloc_alignment_test.cc.

Function Documentation

◆ TEST_F() [1/2]

◆ TEST_F() [2/2]