Home
last modified time | relevance | path

Searched refs:targets (Results 1 – 25 of 10043) sorted by relevance

12345678910>>...402

/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/hdfs/server/namenode/
H A DTestReplicationPolicyWithNodeGroup.java183 assertFalse(cluster.isOnSameRack(targets[0], targets[1])); in testChooseTarget1()
189 assertFalse(cluster.isOnSameRack(targets[0], targets[1])); in testChooseTarget1()
190 assertTrue(cluster.isOnSameRack(targets[1], targets[2])); in testChooseTarget1()
197 assertTrue(cluster.isOnSameRack(targets[1], targets[2]) || in testChooseTarget1()
198 cluster.isOnSameRack(targets[2], targets[3])); in testChooseTarget1()
199 assertFalse(cluster.isOnSameRack(targets[0], targets[2])); in testChooseTarget1()
242 assertTrue(cluster.isOnSameRack(targets[1], targets[2]) || in testChooseTarget2()
243 cluster.isOnSameRack(targets[2], targets[3])); in testChooseTarget2()
282 assertTrue(cluster.isOnSameRack(targets[1], targets[2])); in testChooseTarget3()
292 cluster.isOnSameRack(targets[2], targets[3])); in testChooseTarget3()
[all …]
H A DTestReplicationPolicy.java129 assertFalse(cluster.isOnSameRack(targets[0], targets[1])); in testChooseTarget1()
135 assertFalse(cluster.isOnSameRack(targets[0], targets[1])); in testChooseTarget1()
136 assertTrue(cluster.isOnSameRack(targets[1], targets[2])); in testChooseTarget1()
142 assertTrue(cluster.isOnSameRack(targets[1], targets[2]) || in testChooseTarget1()
143 cluster.isOnSameRack(targets[2], targets[3])); in testChooseTarget1()
144 assertFalse(cluster.isOnSameRack(targets[0], targets[2])); in testChooseTarget1()
186 assertFalse(cluster.isOnSameRack(targets[0], targets[1])); in testChooseTarget2()
196 assertTrue(cluster.isOnSameRack(targets[1], targets[2])); in testChooseTarget2()
209 cluster.isOnSameRack(targets[2], targets[3])); in testChooseTarget2()
247 assertTrue(cluster.isOnSameRack(targets[1], targets[2])); in testChooseTarget3()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/
H A DTestReplicationPolicyWithNodeGroup.java294 assertFalse(isOnSameRack(targets[0], targets[1])); in testChooseTarget1()
300 assertFalse(isOnSameRack(targets[0], targets[1])); in testChooseTarget1()
301 assertTrue(isOnSameRack(targets[1], targets[2])); in testChooseTarget1()
308 assertTrue(isOnSameRack(targets[1], targets[2]) || in testChooseTarget1()
309 isOnSameRack(targets[2], targets[3])); in testChooseTarget1()
310 assertFalse(isOnSameRack(targets[0], targets[2])); in testChooseTarget1()
354 isOnSameRack(targets[2], targets[3])); in testChooseTarget2()
403 assertTrue(isOnSameRack(targets[1], targets[2]));
412 isOnSameRack(targets[2], targets[3]));
457 isOnSameRack(targets[1], targets[2]));
[all …]
H A DTestReplicationPolicy.java231 assertFalse(isOnSameRack(targets[0], targets[1])); in testChooseTarget1()
236 assertFalse(isOnSameRack(targets[0], targets[1])); in testChooseTarget1()
237 assertTrue(isOnSameRack(targets[1], targets[2])); in testChooseTarget1()
242 assertTrue(isOnSameRack(targets[1], targets[2]) || in testChooseTarget1()
243 isOnSameRack(targets[2], targets[3])); in testChooseTarget1()
244 assertFalse(isOnSameRack(targets[0], targets[2])); in testChooseTarget1()
328 assertTrue(isOnSameRack(targets[1], targets[2])); in testChooseTarget2()
341 isOnSameRack(targets[2], targets[3])); in testChooseTarget2()
390 assertTrue(isOnSameRack(targets[1], targets[2]));
400 isOnSameRack(targets[2], targets[3]));
[all …]
/dports/security/masscan/masscan-1.3.2/src/
H A Dmassip-rangesv4.c204 if (targets->count + 1 >= targets->max) {
205 targets->max = targets->max * 2 + 1;
206 targets->list = REALLOCARRAY(targets->list, targets->max, sizeof(targets->list[0]));
221 range_combine(&targets->list[targets->count - 1], range);
227 targets->list[targets->count] = range;
241 memset(targets, 0, sizeof(*targets));
817 memset(targets, 0, sizeof(targets[0]));
845 … REGRESS(memcmp(targets->list, duplicate->list, targets->count*sizeof(targets->list[0])) == 0);
1112 memset(targets, 0, sizeof(targets[0]));
1176 memset(targets, 0, sizeof(targets[0]));
[all …]
H A Dmassip-rangesv6.c206 (targets->count - index) * sizeof(targets->list[index]) in todo_remove_at()
208 targets->count--; in todo_remove_at()
353 if (targets->count + 1 >= targets->max) { in range6list_add_range()
354 targets->max = targets->max * 2 + 1; in range6list_add_range()
355 targets->list = REALLOCARRAY(targets->list, targets->max, sizeof(targets->list[0])); in range6list_add_range()
370 range6_combine(&targets->list[targets->count - 1], range); in range6list_add_range()
376 targets->list[targets->count] = range; in range6list_add_range()
390 memset(targets, 0, sizeof(*targets)); in range6list_remove_all()
648 memset(targets, 0, sizeof(targets[0])); in regress_pick2()
680 … REGRESS(i, memcmp(targets->list, duplicate->list, targets->count*sizeof(targets->list[0])) == 0); in regress_pick2()
[all …]
/dports/science/qiskit-aer/qiskit-aer-0.5.2/test/terra/reference/
H A Dref_1q_clifford.py48 targets = []
55 return targets
60 targets = []
63 return targets
68 targets = []
95 targets = []
107 targets = []
115 targets = []
170 targets = []
190 targets = []
[all …]
H A Dref_2q_clifford.py117 targets = []
157 targets = []
179 targets = []
257 targets = []
273 targets = []
283 targets = []
372 targets = []
400 targets = []
416 targets = []
479 targets = []
[all …]
H A Dref_measure.py82 targets = []
101 return targets
106 targets = []
125 return targets
131 targets = []
140 return targets
169 targets = []
237 targets = []
258 targets = []
279 targets = []
[all …]
H A Dref_non_clifford.py86 targets = []
105 return targets
110 targets = []
124 targets = []
186 targets = []
206 targets = []
218 targets = []
291 targets = []
311 targets = []
323 targets = []
[all …]
H A Dref_initialize.py143 targets = []
146 targets.append({'0x1': shots/4,
151 targets.append({'0x2': shots/4,
156 targets.append({'0x4': shots/4,
249 return targets
254 targets = []
294 return targets
331 targets = []
342 return targets
347 targets = []
[all …]
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-google/cirq_google/calibration/test_data/
H A Dxeb_results.textproto4 targets: "layer_0"
5 targets: "pair_0"
6 targets: "0_0"
7 targets: "0_1"
16 targets: "0_0"
17 targets: "0_1"
26 targets: "0_2"
27 targets: "0_3"
36 targets: "0_2"
37 targets: "0_3"
[all …]
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-google/cirq_google/calibration/test_data/
H A Dxeb_results.textproto4 targets: "layer_0"
5 targets: "pair_0"
6 targets: "0_0"
7 targets: "0_1"
16 targets: "0_0"
17 targets: "0_1"
26 targets: "0_2"
27 targets: "0_3"
36 targets: "0_2"
37 targets: "0_3"
[all …]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-google/cirq_google/calibration/test_data/
H A Dxeb_results.textproto4 targets: "layer_0"
5 targets: "pair_0"
6 targets: "0_0"
7 targets: "0_1"
16 targets: "0_0"
17 targets: "0_1"
26 targets: "0_2"
27 targets: "0_3"
36 targets: "0_2"
37 targets: "0_3"
[all …]
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-google/cirq_google/calibration/test_data/
H A Dxeb_results.textproto4 targets: "layer_0"
5 targets: "pair_0"
6 targets: "0_0"
7 targets: "0_1"
16 targets: "0_0"
17 targets: "0_1"
26 targets: "0_2"
27 targets: "0_3"
36 targets: "0_2"
37 targets: "0_3"
[all …]
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-google/cirq_google/calibration/test_data/
H A Dxeb_results.textproto4 targets: "layer_0"
5 targets: "pair_0"
6 targets: "0_0"
7 targets: "0_1"
16 targets: "0_0"
17 targets: "0_1"
26 targets: "0_2"
27 targets: "0_3"
36 targets: "0_2"
37 targets: "0_3"
[all …]
/dports/devel/msbuild/msbuild-0.06/src/Deprecated/Engine.UnitTests/Compatibility/
H A DTargetCollection_Tests.cs133 TargetCollection targets = p.Targets; in CountWithImportedTargets()
163 TargetCollection targets = p.Targets; in CountWhenImportedAndParentBothContainSameTarget()
285 targets.AddNewTarget("tNew"); in AddNewTargetSimple()
299 targets.AddNewTarget("t1"); in AddNewTargetWhenTargetOfSameNameAlreadyExists()
314 targets.AddNewTarget(String.Empty); in AddNewTargetEmptyStringName()
326 targets.AddNewTarget(null); in AddNewTargetNullName()
349 targets.AddNewTarget("t"); in AddNewTargetWhenNoOtherTargetsExist()
379 targets.RemoveTarget(null); in RemoveTargetNull()
406 targets.CopyTo(array, 0); in CopyToSimple()
435 targets.CopyTo(null, 0); in CopyToNull()
[all …]
/dports/devel/dmake/dmake-4.13.1/tests/
H A DMakefile.am14 targets-1 targets-2 targets-3 targets-4 targets-5 targets-6 \
15 targets-7 targets-8 targets-10 targets-11 targets-12 \
16 targets-13 targets-14 targets-15 targets-16 targets-17 targets-18 \
17 targets-19 targets-20 targets-21 targets-22 targets-23 targets-24 \
18 targets-25 targets-26 targets-27 targets-28 targets-29 targets-30
/dports/misc/opennn/opennn-5.0.5/tests/
H A Dtesting_analysis_test.cpp665 targets(0,0) = 0.0; in test_calculate_roc_curve()
666 targets(1,0) = 0.0; in test_calculate_roc_curve()
667 targets(2,0) = 1.0; in test_calculate_roc_curve()
668 targets(3,0) = 1.0; in test_calculate_roc_curve()
697 targets(0,0) = 0.0; in test_calculate_roc_curve()
698 targets(1,0) = 1.0; in test_calculate_roc_curve()
699 targets(2,0) = 1.0; in test_calculate_roc_curve()
700 targets(3,0) = 0.0; in test_calculate_roc_curve()
745 targets(0,0) = 0.0; in test_calculate_area_under_curve()
746 targets(1,0) = 0.0; in test_calculate_area_under_curve()
[all …]
/dports/textproc/mdocml/mandoc-1.14.5/regress/
H A Dregress.pl42 my %targets;
122 $targets{$_} = 1;
124 $targets{all} = 1
125 unless $targets{ascii} || $targets{utf8} || $targets{man} ||
126 $targets{html} || $targets{markdown} ||
127 $targets{lint} || $targets{clean};
128 $targets{ascii} = $targets{utf8} = $targets{man} = $targets{html} =
129 $targets{markdown} = $targets{lint} = 1 if $targets{all};
246 if ($targets{ascii} || $targets{man}) {
284 if ($targets{ascii} || $targets{man}) {
[all …]
/dports/net/shmux/shmux-1.0.3/src/
H A Dtarget.c92 targets = (struct target *) realloc(targets,
95 if (targets == NULL)
105 targets[tmax].type = 0;
513 assert( targets[tcur].status == targets[tcur].phase );
514 assert( targets[tcur].phase >= 0 && targets[tcur].phase < 4 );
516 targets[tcur].phase = targets[tcur].phase + 1;
529 assert( targets[tcur].status >= -1 && targets[tcur].status < 4 );
530 assert( targets[tcur].phase > 0 && targets[tcur].phase <= 4 );
540 targets[tcur].status = targets[tcur].phase;
598 assert( targets[tcur].phase == 3 || targets[tcur].phase == 4 );
[all …]
/dports/www/h2o-devel/h2o-dcc7134/t/00unit/lib/common/balancer/
H A Droundrobin.c14 targets.entries[i] = target; in gen_targets()
16 targets.size = size; in gen_targets()
18 return targets; in gen_targets()
25 for (i = 0; i < targets->size; i++) { in free_targets()
26 free(targets->entries[i]); in free_targets()
29 free(targets->entries); in free_targets()
51 free_targets(&targets); in test_when_backend_down()
80 for (i = 0; i < targets.size; i++) in test_round_robin()
86 if (selected > targets.size) { in test_round_robin()
102 free_targets(&targets); in test_round_robin()
[all …]
H A Dleast_conn.c9 h2o_vector_reserve(NULL, &targets, size); in gen_targets()
14 targets.entries[i] = target; in gen_targets()
16 targets.size = size; in gen_targets()
18 return targets; in gen_targets()
25 for (i = 0; i < targets->size; i++) { in free_targets()
26 free(targets->entries[i]); in free_targets()
29 free(targets->entries); in free_targets()
49 free_targets(&targets); in test_when_backend_down()
60 for (i = 0; i < targets->size; i++) { in check_if_acceptable()
99 free_targets(&targets); in test_least_conn()
[all …]
/dports/misc/usd/USD-21.11/pxr/usd/usd/testenv/
H A DtestUsdHardToReach.cpp92 SdfPathVector targets; in TestGetTargetsAndConnections() local
96 TF_AXIOM(targets.empty()); in TestGetTargetsAndConnections()
98 TF_AXIOM(targets.empty()); in TestGetTargetsAndConnections()
111 TF_AXIOM(targets.empty()); in TestGetTargetsAndConnections()
116 TF_AXIOM(rel.GetTargets(&targets)); in TestGetTargetsAndConnections()
138 TF_AXIOM(targets.empty()); in TestGetTargetsAndConnections()
174 TF_AXIOM(targets.empty()); in TestGetTargetsAndConnections()
177 TF_AXIOM(targets.empty()); in TestGetTargetsAndConnections()
184 TF_AXIOM(targets.empty()); in TestGetTargetsAndConnections()
188 TF_AXIOM(targets.empty()); in TestGetTargetsAndConnections()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/tools/xbuild/
H A Dxbuild_test.make10 clean-local: clean-targets clean-test-config
18 copy-targets: copy-targets-$(XBUILD_VERSION)
20 clean-targets: clean-targets-$(XBUILD_VERSION)
26 copy-targets-4.0:
32 copy-targets-12.0:
38 copy-targets-14.0:
44 clean-targets-4.0:
50 clean-targets-12.0:
56 clean-targets-14.0:
65 copy-targets: copy-targets-4.0
[all …]

12345678910>>...402