- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for condition1 (0.2 sec)
-
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractSpockTaskTest.groovy
final MutableBoolean condition1 = new MutableBoolean(true) final MutableBoolean condition2 = new MutableBoolean(true) DefaultTask task = getTask() task.onlyIf { condition1.get() } task.onlyIf { condition2.get() } expect: task.getOnlyIf().isSatisfiedBy(task)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 23 14:27:55 UTC 2023 - 7.6K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractTaskTest.groovy
given: final MutableBoolean condition1 = new MutableBoolean(true) final MutableBoolean condition2 = new MutableBoolean(true) def task = getTask() task.onlyIf(new Spec<Task>() { boolean isSatisfiedBy(Task element) { return condition1.get() } }) task.onlyIf("Condition 2 was not met", new Spec<Task>() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/EndpointPair.java
// boolean condition1 = nodeU().equals(other.nodeU()) && nodeV().equals(other.nodeV()); // boolean condition2 = nodeU().equals(other.nodeV()) && nodeV().equals(other.nodeU()); // return condition1 || condition2; if (nodeU().equals(other.nodeU())) { // check condition1 // Here's the tricky bit. We don't have to explicitly check for condition2 in this case.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 8.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/TaskOnlyIfReasonIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 01 11:18:25 UTC 2022 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/EndpointPair.java
// boolean condition1 = nodeU().equals(other.nodeU()) && nodeV().equals(other.nodeV()); // boolean condition2 = nodeU().equals(other.nodeV()) && nodeV().equals(other.nodeU()); // return condition1 || condition2; if (nodeU().equals(other.nodeU())) { // check condition1 // Here's the tricky bit. We don't have to explicitly check for condition2 in this case.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 8.1K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
{ ConditionType: api.PodConditionType(condition1), }, { ConditionType: api.PodConditionType(condition2), }, }, }, Status: api.PodStatus{ Conditions: []api.PodCondition{ { Type: api.PodConditionType(condition1), Status: api.ConditionFalse, }, { Type: api.PodConditionType(condition2), Status: api.ConditionTrue, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_conversion_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 07 15:19:26 UTC 2020 - 16.4K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
if !reflect.DeepEqual(test.expect, rows) { t.Errorf("%d mismatch: %s", i, cmp.Diff(test.expect, rows)) } } } func TestPrintPodwide(t *testing.T) { condition1 := "condition1" condition2 := "condition2" condition3 := "condition3" tests := []struct { pod api.Pod expect []metav1.TableRow }{ { // Test when the NodeName and PodIP are not none api.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conditions.go
cond := conditions[k] setter := kstatus.UpdateConditionIfChanged if cond.setOnce != "" { setter = func(conditions []metav1.Condition, condition metav1.Condition) []metav1.Condition { return kstatus.CreateCondition(conditions, condition, cond.setOnce) } } // A condition can be "negative polarity" (ex: ListenerInvalid) or "positive polarity" (ex:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 13:05:41 UTC 2024 - 14.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/conditions.go
} } removed = len(*conditions) != len(newConditions) *conditions = newConditions return removed } // FindStatusCondition finds the conditionType in conditions. func FindStatusCondition(conditions []metav1.Condition, conditionType string) *metav1.Condition { for i := range conditions { if conditions[i].Type == conditionType { return &conditions[i] } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 22 01:13:33 UTC 2023 - 4.2K bytes - Viewed (0)