proxygen
|
#include <folly/CachelinePadded.h>
#include <type_traits>
#include <folly/lang/Align.h>
#include <folly/portability/GTest.h>
Go to the source code of this file.
Classes | |
struct | SizedData< dataSize, alignment > |
struct | CachelinePaddedTests< T > |
Functions | |
TYPED_TEST_CASE (CachelinePaddedTests, CachelinePaddedTypes) | |
TYPED_TEST (CachelinePaddedTests, alignment) | |
TYPED_TEST (CachelinePaddedTests, integrity) | |
TYPED_TEST (CachelinePaddedTests, size) | |
TEST (CachelinePadded, PtrOperator) | |
TEST (CachelinePadded, PropagatesConstness) | |
TEST (CachelinePadded, ConstructsAndDestructs) | |
TEST (CachelinePadded, ConstructsAndDestructsArrays) | |
TEST (CachelinePadded, ForwardsCorrectly) | |
Variables | |
static constexpr int | kCachelineSize |
Definition at line 105 of file CachelinePaddedTest.cpp.
using SizedDataMimic = SizedData<N * sizeof(T), alignof(T)> |
Definition at line 63 of file CachelinePaddedTest.cpp.
TEST | ( | CachelinePadded | , |
PtrOperator | |||
) |
Definition at line 128 of file CachelinePaddedTest.cpp.
References EXPECT_TRUE, and folly::CachelinePadded< T >::get().
TEST | ( | CachelinePadded | , |
PropagatesConstness | |||
) |
Definition at line 137 of file CachelinePaddedTest.cpp.
TEST | ( | CachelinePadded | , |
ConstructsAndDestructs | |||
) |
Definition at line 158 of file CachelinePaddedTest.cpp.
References EXPECT_EQ, and ptr.
TEST | ( | CachelinePadded | , |
ConstructsAndDestructsArrays | |||
) |
Definition at line 181 of file CachelinePaddedTest.cpp.
References EXPECT_EQ, and ptr.
TEST | ( | CachelinePadded | , |
ForwardsCorrectly | |||
) |
Definition at line 202 of file CachelinePaddedTest.cpp.
References EXPECT_EQ.
TYPED_TEST | ( | CachelinePaddedTests | , |
alignment | |||
) |
Definition at line 108 of file CachelinePaddedTest.cpp.
References EXPECT_EQ.
TYPED_TEST | ( | CachelinePaddedTests | , |
integrity | |||
) |
Definition at line 112 of file CachelinePaddedTest.cpp.
References folly::CachelinePadded< T >::get().
TYPED_TEST | ( | CachelinePaddedTests | , |
size | |||
) |
Definition at line 117 of file CachelinePaddedTest.cpp.
References EXPECT_EQ, EXPECT_GT, and kCachelineSize.
TYPED_TEST_CASE | ( | CachelinePaddedTests | , |
CachelinePaddedTypes | |||
) |
|
static |
Definition at line 30 of file CachelinePaddedTest.cpp.
Referenced by TYPED_TEST().