- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 899 for finalizerB (0.21 sec)
-
android/guava/src/com/google/common/base/internal/Finalizer.java
* point, Finalizer can stop running */ if (!finalizableReferenceClass.getName().equals(FINALIZABLE_REFERENCE)) { throw new IllegalArgumentException("Expected " + FINALIZABLE_REFERENCE + "."); } Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference); String threadName = Finalizer.class.getName(); Thread thread = null;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/base/internal/Finalizer.java
* point, Finalizer can stop running */ if (!finalizableReferenceClass.getName().equals(FINALIZABLE_REFERENCE)) { throw new IllegalArgumentException("Expected " + FINALIZABLE_REFERENCE + "."); } Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference); String threadName = Finalizer.class.getName(); Thread thread = null;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 23 12:54:09 UTC 2023 - 9.4K bytes - Viewed (0) -
pkg/volume/util/finalizer.go
limitations under the License. */ package util const ( // PVCProtectionFinalizer is the name of finalizer on PVCs that have a running pod. PVCProtectionFinalizer = "kubernetes.io/pvc-protection" // PVProtectionFinalizer is the name of finalizer on PVs that are bound by PVCs PVProtectionFinalizer = "kubernetes.io/pv-protection"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 10 21:24:35 UTC 2018 - 874 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) -
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) -
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) -
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) -
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)