- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,370 for finalizers (0.26 sec)
-
pkg/registry/core/namespace/storage/storage.go
} // determine whether there are changes changeNeeded := false for finalizer, shouldHave := range shouldHaveFinalizers { changeNeeded = currentFinalizers[finalizer] != shouldHave || changeNeeded if shouldHave { currentFinalizers[finalizer] = true } else { delete(currentFinalizers, finalizer) } } // make the changes if needed if changeNeeded {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 13.4K bytes - Viewed (0) -
pkg/controller/controller_ref_manager_test.go
} for _, f := range test.manager.finalizers { if !strings.Contains(patch, f) { t.Errorf("Patch doesn't contain finalizer %s, %q", patch, f) } } } }) } } func TestGeneratePatchBytesForDelete(t *testing.T) { tests := []struct { name string ownerUID []types.UID dependentUID types.UID finalizers []string want []byte }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 17:19:26 UTC 2021 - 10.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/DetermineExecutionPlanAction.java
* `entryNodes` is not changed by this class. * * <h2>Note about finalizers</h2> * A dependency of a finalizer must not run until it is known to be needed by something else that should run. * So if the dependency is only required by a finalizer, then it should not start until the finalizer is ready to start
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 17.7K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespacespec.go
type NamespaceSpecApplyConfiguration struct { Finalizers []v1.FinalizerName `json:"finalizers,omitempty"` } // NamespaceSpecApplyConfiguration constructs an declarative configuration of the NamespaceSpec type for use with // apply. func NamespaceSpec() *NamespaceSpecApplyConfiguration { return &NamespaceSpecApplyConfiguration{} } // WithFinalizers adds the given value to the Finalizers field in the declarative configuration
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 1.6K bytes - Viewed (0) -
pkg/registry/core/namespace/storage/storage_test.go
if !ok { t.Errorf("unexpected object kind: %+v", obj) } if len(ns.Finalizers) != len(test.remainingFinalizers) { t.Errorf("%s: unexpected remaining finalizers: %v", test.name, ns.Finalizers) } for _, f := range ns.Finalizers { if test.remainingFinalizers[f] != true { t.Errorf("%s: unexpected finalizer %s", test.name, f) } } } } func TestShortNames(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 17 05:13:34 UTC 2022 - 19.8K bytes - Viewed (0) -
test/tinyfin.go
runtime.SetFinalizer(x, func(p *int32) { finalized <- *p }) } runtime.GC() count := 0 done := make([]bool, N) timeout := time.After(5*time.Second) for { select { case <-timeout: println("timeout,", count, "finalized so far") panic("not all finalizers are called") case x := <-finalized: // Check that p points to the correct subobject of the tiny allocation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 03 18:57:18 UTC 2015 - 1.6K bytes - Viewed (0) -
pkg/controller/job/tracking_utils_test.go
wantDelete int }{ "new non-finished Pod with finalizer": { newPod: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Finalizers: []string{batch.JobTrackingFinalizer}, }, Status: v1.PodStatus{ Phase: v1.PodPending, }, }, }, "pod with finalizer fails": { oldPod: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Finalizers: []string{batch.JobTrackingFinalizer}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 05:40:02 UTC 2023 - 5.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/DefaultPlannedTask.java
private final List<TaskIdentity> shouldRunAfter; private final List<TaskIdentity> finalizers; public DefaultPlannedTask( TaskIdentity taskIdentity, List<? extends NodeIdentity> nodeDependencies, List<TaskIdentity> mustRunAfter, List<TaskIdentity> shouldRunAfter, List<TaskIdentity> finalizers ) { this.taskIdentity = taskIdentity;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 22 14:29:39 UTC 2023 - 3.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/DefaultExecutionPlan.java
node.dependenciesProcessed(); // Finalizers run immediately after the node for (Node finalizer : node.getFinalizers()) { finalizers.add(finalizer); if (!visiting.contains(finalizer)) { queue.addFirst(finalizer); } } } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 13.6K bytes - Viewed (0) -
test/finprofiled.go
// only for middle bytes. The finalizer resurrects that object. // As the result, all allocated memory must stay alive. const ( N = 1 << 20 tinyBlockSize = 16 // runtime._TinySize ) hold := make([]*int32, 0, N) for i := 0; i < N; i++ { x := new(int32) if i%3 == 0 { runtime.SetFinalizer(x, func(p *int32) { hold = append(hold, p) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 05:48:00 UTC 2023 - 2.1K bytes - Viewed (0)