- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,318 for finalizerB (0.18 sec)
-
src/runtime/mfinal_test.go
ch := make(chan bool, 10) finalize := func(x *int) { if *x != 97531 { t.Errorf("finalizer %d, want %d", *x, 97531) } ch <- true } var finalizerTests = []struct { convert func(*int) any finalizer any }{ {func(x *int) any { return x }, func(v *int) { finalize(v) }}, {func(x *int) any { return Tintptr(x) }, func(v Tintptr) { finalize(v) }},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:58 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/controller/garbagecollector/operations.go
for _, f := range finalizers { if f == targetFinalizer { found = true continue } newFinalizers = append(newFinalizers, f) } if !found { logger.V(5).Info("finalizer already removed from object", "finalizer", targetFinalizer, "object", owner.identity) return nil } // remove the owner from dependent's OwnerReferences patch, err := json.Marshal(&objectForFinalizersPatch{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 13:37:56 UTC 2023 - 4.9K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 25.7K bytes - Viewed (0) -
src/runtime/debug/heapdump_test.go
// bug 9172: WriteHeapDump couldn't handle more than one finalizer println("allocating objects") x := &Obj{} runtime.SetFinalizer(x, objfin) y := &Obj{} runtime.SetFinalizer(y, objfin) // Trigger collection of x and y, queueing of their finalizers. println("starting gc") runtime.GC() // Make sure WriteHeapDump doesn't fail with multiple queued finalizers. println("starting dump") WriteHeapDump(f.Fd())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 12 00:32:29 UTC 2022 - 2K 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) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/Finalize.java
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Denotes that the {@link RuleSource} method rule carrying this annotation finalizes the rule subject. * <p> * Finalize rules execute after {@link Mutate} rules, but before {@link Validate} rules. * The first parameter of the rule is the rule subject, which is mutable for the duration of the rule. * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.3K bytes - Viewed (0) -
plugin/pkg/admission/storage/storageobjectinuseprotection/admission.go
// if we can't convert the obj to PV, just return if !ok { return nil } for _, f := range pv.Finalizers { if f == volumeutil.PVProtectionFinalizer { // Finalizer is already present, nothing to do return nil } } klog.V(4).Infof("adding PV protection finalizer to %s", pv.Name) pv.Finalizers = append(pv.Finalizers, volumeutil.PVProtectionFinalizer) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 02 21:13:50 UTC 2021 - 3.2K 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) -
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) -
pkg/controller/volume/pvprotection/pv_protection_controller.go
logger.V(3).Info("Error adding protection finalizer to PV", "PV", klog.KObj(pv), "err", err) return err } logger.V(3).Info("Added protection finalizer to PV", "PV", klog.KObj(pv)) return nil } func (c *Controller) removeFinalizer(ctx context.Context, pv *v1.PersistentVolume) error { pvClone := pv.DeepCopy() pvClone.ObjectMeta.Finalizers = slice.RemoveString(pvClone.ObjectMeta.Finalizers, volumeutil.PVProtectionFinalizer, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6.4K bytes - Viewed (0)