/dports/audio/sphinxbase/sphinxbase-0.8/test/unit/test_alloc/ |
H A D | test_ckd_alloc.c | 10 int *alloc1; 15 TEST_ASSERT(alloc1 = ckd_calloc(3*3*3, sizeof(*alloc1))); 20 TEST_EQUAL(alloc1[i], 0); 21 alloc1[i] = i + 1; 24 TEST_EQUAL(alloc1[i], i+1); 36 TEST_EQUAL(alloc2[0][i], alloc1[i]); 46 alloc2 = ckd_alloc_2d_ptr(3, 3, alloc1, sizeof(*alloc1)); 49 TEST_EQUAL(alloc2[0][i], alloc1[i]); 72 TEST_EQUAL(alloc3[0][0][i], alloc1[i]); 85 alloc3 = ckd_alloc_3d_ptr(3, 3, 3, alloc1, sizeof(*alloc1)); [all …]
|
/dports/devel/thrust/thrust-1.9.5/testing/ |
H A D | vector_allocators.cu | 108 Alloc alloc1(1); in TestVectorAllocatorConstructors() local 111 Vector v1(alloc1); in TestVectorAllocatorConstructors() 114 Vector v2(10, alloc1); in TestVectorAllocatorConstructors() 166 Alloc alloc1(1); in TestVectorAllocatorPropagateOnCopyAssignment() local 169 Vector v1(10, alloc1); in TestVectorAllocatorPropagateOnCopyAssignment() 199 Alloc alloc1(1); in TestVectorAllocatorPropagateOnMoveAssignment() local 203 Vector v1(10, alloc1); in TestVectorAllocatorPropagateOnMoveAssignment() 232 Alloc alloc1(1); in TestVectorAllocatorPropagateOnSwap() local 235 Vector v1(10, alloc1); in TestVectorAllocatorPropagateOnSwap() 236 Vector v2(17, alloc1); in TestVectorAllocatorPropagateOnSwap() [all …]
|
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/test/unit_test/page_fault_manager/ |
H A D | cpu_page_fault_manager_tests.cpp | 23 void *alloc1 = reinterpret_cast<void *>(0x1); in TEST_F() local 54 pageFaultManager->removeAllocation(alloc1); in TEST_F() 65 void *alloc1 = reinterpret_cast<void *>(0x1); in TEST_F() local 74 pageFaultManager->removeAllocation(alloc1); in TEST_F() 81 void *alloc1 = reinterpret_cast<void *>(0x1); in TEST_F() local 83 pageFaultManager->removeAllocation(alloc1); in TEST_F() 91 void *alloc1 = reinterpret_cast<void *>(0x1); in TEST_F() local 122 void *alloc1 = reinterpret_cast<void *>(0x1); in TEST_F() local 154 void *alloc1 = reinterpret_cast<void *>(0x1); in TEST_F() local 281 pageFaultManager->verifyPageFault(alloc1); in TEST_F() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/lang/gcc9/gcc-9.4.0/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/libstdc++-v3/testsuite/20_util/uses_allocator/ |
H A D | make_obj.cc | 103 test_allocator alloc1(1); variable 109 auto i0 = std::make_obj_using_allocator<int>(alloc1, 2); in test01() 114 auto a0 = std::make_obj_using_allocator<A>(alloc1); in test01() 117 auto a1 = std::make_obj_using_allocator<A>(alloc1, f); in test01() 120 auto a2 = std::make_obj_using_allocator<A>(alloc1, 123, nullptr); in test01() 124 auto b0 = std::make_obj_using_allocator<B>(alloc1); in test01() 130 auto b2 = std::make_obj_using_allocator<B>(alloc1, 123, nullptr); in test01() 134 auto c0 = std::make_obj_using_allocator<C>(alloc1); in test01() 140 auto c2 = std::make_obj_using_allocator<C>(alloc1, 123, nullptr); in test01() 282 auto aa00 = std::make_obj_using_allocator<pair<A, A>>(alloc1); in test06() [all …]
|
/dports/science/py-dlib/dlib-19.22/dlib/data_io/ |
H A D | libsvm_io_abstract.h | 27 typename alloc1, 32 std::vector<sample_type, alloc1>& samples, 56 typename alloc1, 61 const std::vector<sample_type, alloc1>& samples, 82 typename alloc1, 87 const std::vector<sample_type, alloc1>& samples,
|
/dports/science/dlib-cpp/dlib-19.22/dlib/data_io/ |
H A D | libsvm_io_abstract.h | 27 typename alloc1, 32 std::vector<sample_type, alloc1>& samples, 56 typename alloc1, 61 const std::vector<sample_type, alloc1>& samples, 82 typename alloc1, 87 const std::vector<sample_type, alloc1>& samples,
|
/dports/audio/sdl_sound/SDL_sound-1.0.3/decoders/mpglib/ |
H A D | layer2.c | 66 struct al_table *alloc1 = fr->alloc; in II_step_one() local 75 for (i=jsbound;i;i--,alloc1+=(1<<step)) in II_step_one() 77 *bita++ = (char) getbits(step=alloc1->bits); in II_step_one() 82 bita[0] = (char) getbits(step=alloc1->bits); in II_step_one() 94 for (i=sblimit;i;i--,alloc1+=(1<<step)) in II_step_one() 139 struct al_table *alloc2,*alloc1 = fr->alloc; in II_step_two() local 143 for (i=0;i<jsbound;i++,alloc1+=(1<<step)) in II_step_two() 145 step = alloc1->bits; in II_step_two() 150 k=(alloc2 = alloc1+ba)->bits; in II_step_two() 177 step = alloc1->bits; in II_step_two() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-25.c | 18 alloc1 (size_t, int); 184 #define alloc1(n) alloc1 (n, 1) in test_strcpy_alloc1() macro 186 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc1() 189 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc1() 190 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc1() 193 T (S (0), alloc1 (r_2_3)); in test_strcpy_alloc1() 194 T (S (2), alloc1 (r_2_3)); in test_strcpy_alloc1() 207 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc2() 210 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc2() 211 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc2() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-25.c | 18 alloc1 (size_t, int); 184 #define alloc1(n) alloc1 (n, 1) in test_strcpy_alloc1() macro 186 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc1() 189 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc1() 190 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc1() 193 T (S (0), alloc1 (r_2_3)); in test_strcpy_alloc1() 194 T (S (2), alloc1 (r_2_3)); in test_strcpy_alloc1() 207 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc2() 210 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc2() 211 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc2() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-25.c | 19 alloc1 (size_t, int); 185 #define alloc1(n) alloc1 (n, 1) in test_strcpy_alloc1() macro 187 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc1() 190 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc1() 191 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc1() 194 T (S (0), alloc1 (r_2_3)); in test_strcpy_alloc1() 195 T (S (2), alloc1 (r_2_3)); in test_strcpy_alloc1() 208 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc2() 211 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc2() 212 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc2() [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-25.c | 19 alloc1 (size_t, int); 185 #define alloc1(n) alloc1 (n, 1) in test_strcpy_alloc1() macro 187 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc1() 190 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc1() 191 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc1() 194 T (S (0), alloc1 (r_2_3)); in test_strcpy_alloc1() 195 T (S (2), alloc1 (r_2_3)); in test_strcpy_alloc1() 208 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc2() 211 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc2() 212 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc2() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-25.c | 19 alloc1 (size_t, int); 185 #define alloc1(n) alloc1 (n, 1) in test_strcpy_alloc1() macro 187 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc1() 190 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc1() 191 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc1() 194 T (S (0), alloc1 (r_2_3)); in test_strcpy_alloc1() 195 T (S (2), alloc1 (r_2_3)); in test_strcpy_alloc1() 208 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc2() 211 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc2() 212 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc2() [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-25.c | 18 alloc1 (size_t, int); 184 #define alloc1(n) alloc1 (n, 1) in test_strcpy_alloc1() macro 186 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc1() 189 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc1() 190 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc1() 193 T (S (0), alloc1 (r_2_3)); in test_strcpy_alloc1() 194 T (S (2), alloc1 (r_2_3)); in test_strcpy_alloc1() 207 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc2() 210 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc2() 211 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc2() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-25.c | 19 alloc1 (size_t, int); 185 #define alloc1(n) alloc1 (n, 1) in test_strcpy_alloc1() macro 187 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc1() 190 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc1() 191 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc1() 194 T (S (0), alloc1 (r_2_3)); in test_strcpy_alloc1() 195 T (S (2), alloc1 (r_2_3)); in test_strcpy_alloc1() 208 T (S (0), alloc1 (r_0_1)); in test_strcpy_alloc2() 211 T (S (0), alloc1 (r_1_2)); in test_strcpy_alloc2() 212 T (S (1), alloc1 (r_1_2)); in test_strcpy_alloc2() [all …]
|
/dports/multimedia/libmpeg3/libmpeg3-1.8/audio/ |
H A D | layer2.c | 192 struct al_table *alloc1 = audio->alloc; in step_one() local 205 i--, alloc1 += (1 << step)) in step_one() 212 i--, alloc1 += (1 << step)) in step_one() 215 step = alloc1->bits); in step_one() 227 for(i = sblimit; i; i--, alloc1 += (1 << step)) in step_one() 273 struct al_table *alloc2, *alloc1 = audio->alloc; in step_two() local 277 for(i = 0; i < jsbound; i++, alloc1 += (1 << step)) in step_two() 279 step = alloc1->bits; in step_two() 284 k = (alloc2 = alloc1 + ba)->bits; in step_two() 314 step = alloc1->bits; in step_two() [all …]
|
/dports/lang/squeak/Squeak-4.10.2.2614-src/Cross/plugins/Mpeg3Plugin/libmpeg/audio/ |
H A D | layer2.c | 219 struct al_table *alloc1 = audio->alloc; in mpeg3audio_II_step_one() local 229 for(i = jsbound;i ; i--, alloc1 += (1 << step)) in mpeg3audio_II_step_one() 234 for(i = sblimit-jsbound; i; i--, alloc1 += (1 << step)) in mpeg3audio_II_step_one() 248 for(i = sblimit; i; i--, alloc1 += (1 << step)) in mpeg3audio_II_step_one() 293 struct al_table *alloc2, *alloc1 = audio->alloc; in mpeg3audio_II_step_two() local 297 for(i = 0; i < jsbound; i++, alloc1 += (1 << step)) in mpeg3audio_II_step_two() 299 step = alloc1->bits; in mpeg3audio_II_step_two() 304 k = (alloc2 = alloc1 + ba)->bits; in mpeg3audio_II_step_two() 332 for(i = jsbound; i < sblimit; i++, alloc1 += (1 << step)) in mpeg3audio_II_step_two() 334 step = alloc1->bits; in mpeg3audio_II_step_two() [all …]
|