- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 920 for finalizer (0.42 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) -
pkg/controller/volume/protectionutil/utils_test.go
{ name: "pv lacks delete time and finalizer", obj: pv(), finalizer: util.PVProtectionFinalizer, result: false, }, { name: "pvc lacks delete time and finalizer", obj: pvc(), finalizer: util.PVCProtectionFinalizer, result: false, }, } for _, test := range tests { if test.result != IsDeletionCandidate(test.obj, test.finalizer) { t.Error(test.name) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 17 14:24:42 UTC 2019 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy
@Requires(IntegTestPreconditions.NotParallelExecutor) def "finalizer task dependencies from sibling project must run after finalized task dependencies"() { server.start() given: def configurationCache = newConfigurationCacheFixture() createDirs("finalized", "finalizer") settingsFile << """ include 'finalized', 'finalizer' """ buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 7.2K 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) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/finalization_test.go
require.NoError(t, err) // Create a CR with a finalizer. ns := "not-the-default" name := "foo123" noxuResourceClient := newNamespacedCustomResourceClient(ns, dynamicClient, noxuDefinition) instance := fixtures.NewNoxuInstance(ns, name) instance.SetFinalizers([]string{"noxu.example.com/finalizer"})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 02 19:34:41 UTC 2021 - 5.8K bytes - Viewed (0) -
pkg/controller/volume/pvprotection/pv_protection_controller_test.go
}{ // PV events // { name: "PV without finalizer -> finalizer is added", updatedPV: pv(), expectedActions: []clienttesting.Action{ clienttesting.NewUpdateAction(pvVer, "", withProtectionFinalizer(pv())), }, }, { name: "PVC with finalizer -> no action", updatedPV: withProtectionFinalizer(pv()),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 12:57:29 UTC 2023 - 7.5K 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) -
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)