Go to the source code of this file.
◆ add_five()
static void add_five |
( |
int * |
x | ) |
|
|
static |
◆ DEF_TEST() [1/3]
DEF_TEST |
( |
SkOnce_Multithreaded |
, |
|
|
r |
|
|
) |
| |
Definition at line 32 of file OnceTest.cpp.
32 {
34
35
38 once([&] {
x += 6; });
39 });
40
41
43}
#define REPORTER_ASSERT(r, cond,...)
void batch(int N, std::function< void(int)> fn)
◆ DEF_TEST() [2/3]
DEF_TEST |
( |
SkOnce_NoArg |
, |
|
|
r |
|
|
) |
| |
◆ DEF_TEST() [3/3]
DEF_TEST |
( |
SkOnce_Singlethreaded |
, |
|
|
r |
|
|
) |
| |
Definition at line 18 of file OnceTest.cpp.
18 {
20
21
28
30}
static void add_five(int *x)
◆ inc_gX()
◆ gX