Lines Matching refs:set_b
103 PetscInt64 *set_a, *set_b; in test_empty_empty() local
109 PetscCall(PetscMalloc1(1, &set_b)); in test_empty_empty()
113 set_b[0] = 0; in test_empty_empty()
115 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_empty_empty()
120 PetscCall(PetscFree(set_b)); in test_empty_empty()
127 PetscInt64 *set_a, *set_b; in test_a_empty() local
133 PetscCall(PetscMalloc1(2, &set_b)); in test_a_empty()
137 set_b[0] = 1; in test_a_empty()
138 set_b[1] = 1; in test_a_empty()
140 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_a_empty()
145 PetscCall(PetscFree(set_b)); in test_a_empty()
152 PetscInt64 *set_a, *set_b; in test_b_empty() local
158 PetscCall(PetscMalloc1(1, &set_b)); in test_b_empty()
163 set_b[0] = 0; in test_b_empty()
165 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_b_empty()
170 PetscCall(PetscFree(set_b)); in test_b_empty()
177 PetscInt64 *set_a, *set_b; in test_identical() local
183 PetscCall(PetscMalloc1(4, &set_b)); in test_identical()
190 set_b[0] = 3; in test_identical()
191 set_b[1] = 1; in test_identical()
192 set_b[2] = 4; in test_identical()
193 set_b[3] = 9; in test_identical()
195 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_identical()
200 PetscCall(PetscFree(set_b)); in test_identical()
207 PetscInt64 *set_a, *set_b; in test_disjoint() local
213 PetscCall(PetscMalloc1(4, &set_b)); in test_disjoint()
220 set_b[0] = 3; in test_disjoint()
221 set_b[1] = 2; in test_disjoint()
222 set_b[2] = 6; in test_disjoint()
223 set_b[3] = 8; in test_disjoint()
225 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_disjoint()
230 PetscCall(PetscFree(set_b)); in test_disjoint()
237 PetscInt64 *set_a, *set_b; in test_single_common() local
243 PetscCall(PetscMalloc1(5, &set_b)); in test_single_common()
250 set_b[0] = 3; in test_single_common()
251 set_b[1] = 2; in test_single_common()
252 set_b[2] = 4; in test_single_common()
253 set_b[3] = 6; in test_single_common()
254 set_b[4] = 8; in test_single_common()
256 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_single_common()
261 PetscCall(PetscFree(set_b)); in test_single_common()
268 PetscInt64 *set_a, *set_b; in test_issue_1247() local
274 PetscCall(PetscMalloc1(2, &set_b)); in test_issue_1247()
280 set_b[0] = 1; in test_issue_1247()
281 set_b[1] = 1; in test_issue_1247()
283 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_issue_1247()
288 PetscCall(PetscFree(set_b)); in test_issue_1247()
295 PetscInt64 *set_a, *set_b; in test_empty_big() local
301 PetscCall(Square(&set_b, 999)); in test_empty_big()
305 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_empty_big()
310 PetscCall(PetscFree(set_b)); in test_empty_big()
317 PetscInt64 *set_a, *set_b; in test_small_big() local
323 PetscCall(Square(&set_b, 999)); in test_small_big()
331 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_small_big()
336 PetscCall(PetscFree(set_b)); in test_small_big()
343 PetscInt64 *set_a, *set_b; in test_moderate_big() local
349 PetscCall(Square(&set_b, 999)); in test_moderate_big()
351 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_moderate_big()
356 PetscCall(PetscFree(set_b)); in test_moderate_big()
363 PetscInt64 *set_a, *set_b; in test_big_big() local
369 PetscCall(Square(&set_b, 999)); in test_big_big()
371 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_big_big()
378 PetscCall(PetscFree(set_b)); in test_big_big()
386 PetscInt64 *set_a, *set_b; in test_big_empty() local
392 PetscCall(PetscMalloc1(1, &set_b)); in test_big_empty()
394 set_b[0] = 0; in test_big_empty()
396 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_big_empty()
401 PetscCall(PetscFree(set_b)); in test_big_empty()
408 PetscInt64 *set_a, *set_b; in test_big_small() local
414 PetscCall(PetscMalloc1(5, &set_b)); in test_big_small()
416 set_b[0] = 4; in test_big_small()
417 set_b[1] = 1; in test_big_small()
418 set_b[2] = 4; in test_big_small()
419 set_b[3] = 8; in test_big_small()
420 set_b[4] = 9; in test_big_small()
422 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_big_small()
427 PetscCall(PetscFree(set_b)); in test_big_small()
434 PetscInt64 *set_a, *set_b; in test_big_moderate() local
440 PetscCall(Fibonnaci(&set_b, 49)); in test_big_moderate()
442 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_big_moderate()
447 PetscCall(PetscFree(set_b)); in test_big_moderate()
455 PetscInt64 *set_a, *set_b; in test_big_big_reversed() local
461 PetscCall(Square(&set_b, 999)); in test_big_big_reversed()
463 PetscGarbageKeySortedIntersect((void *)set_b, (void *)set_a, &length, NULL); in test_big_big_reversed()
470 PetscCall(PetscFree(set_b)); in test_big_big_reversed()