test/mpool_tests.h

Thu, 04 Oct 2012 14:08:31 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 04 Oct 2012 14:08:31 +0200
changeset 41
7f90a03e186e
parent 28
1666cbeb1db8
child 59
c80c910fe191
permissions
-rw-r--r--

simplified UCX_MAP_FOREACH

13
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
1 /*
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
2 *
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
3 */
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
4
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
5 #ifndef MPOOL_TESTS_H
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
6 #define MPOOL_TESTS_H
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
7
28
1666cbeb1db8 new mempool tests
Mike Becker <universe@uap-core.de>
parents: 17
diff changeset
8 #include "ucx/test.h"
17
2e7050c3a18e fix for ultra fail fix
Olaf Wintermann <olaf.wintermann@gmail.com>
parents: 13
diff changeset
9 #include "ucx/mempool.h"
13
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
10
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
11 #ifdef __cplusplus
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
12 extern "C" {
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
13 #endif
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
14
28
1666cbeb1db8 new mempool tests
Mike Becker <universe@uap-core.de>
parents: 17
diff changeset
15 UCX_TEST_DECLARE(test_ucx_mempool_new)
1666cbeb1db8 new mempool tests
Mike Becker <universe@uap-core.de>
parents: 17
diff changeset
16 UCX_TEST_DECLARE(test_ucx_mempool_malloc)
1666cbeb1db8 new mempool tests
Mike Becker <universe@uap-core.de>
parents: 17
diff changeset
17 UCX_TEST_DECLARE(test_ucx_mempool_malloc_with_chcap)
1666cbeb1db8 new mempool tests
Mike Becker <universe@uap-core.de>
parents: 17
diff changeset
18 UCX_TEST_DECLARE(test_ucx_mempool_calloc)
1666cbeb1db8 new mempool tests
Mike Becker <universe@uap-core.de>
parents: 17
diff changeset
19 UCX_TEST_DECLARE(test_ucx_mempool_set_destr)
1666cbeb1db8 new mempool tests
Mike Becker <universe@uap-core.de>
parents: 17
diff changeset
20 UCX_TEST_DECLARE(test_ucx_mempool_reg_destr)
1666cbeb1db8 new mempool tests
Mike Becker <universe@uap-core.de>
parents: 17
diff changeset
21 UCX_TEST_DECLARE(test_ucx_mempool_realloc)
13
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
22
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
23 #ifdef __cplusplus
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
24 }
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
25 #endif
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
26
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
27 #endif /* MPOOL_TESTS_H */
98ac89e3aa37 Added mempool
Olaf Wintermann <olaf.wintermann@gmail.com>
parents:
diff changeset
28

mercurial