- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 690 for finalizerB (0.14 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) -
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) -
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) -
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) -
subprojects/core/src/main/java/org/gradle/execution/plan/edges/ComplexDependentNodesSet.java
return this; } @Override public SortedSet<Node> getFinalizers() { return finalizers; } @Override public DependentNodesSet addFinalizer(Node finalizer) { finalizers.add(finalizer); return this; } @Override public Set<Node> getMustPredecessors() { return mustPredecessors; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 12 20:17:10 UTC 2022 - 2.4K bytes - Viewed (0) -
src/runtime/abi_test.go
runtime.SetFinalizer(x, test.fin) runtime.KeepAlive(x) // Queue the finalizer. runtime.GC() runtime.GC() if !runtime.BlockUntilEmptyFinalizerQueue(int64(time.Second)) { t.Fatal("finalizer failed to execute") } if got := int(regConfirmRun.Load()); got != test.confirmValue { t.Fatalf("wrong finalizer executed? got %d, want %d", got, test.confirmValue) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.1K bytes - Viewed (0)