- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 287 for finalizer (0.13 sec)
-
src/runtime/arena_test.go
// Try to queue the object's finalizer that we set earlier. GC() GC() if !BlockUntilEmptyFinalizerQueue(int64(2 * time.Second)) { t.Fatal("finalizer queue was never emptied") } if !finalized.Load() { t.Error("expected arena-referenced object to be finalized") } } func TestUserArenaClearsPointerBits(t *testing.T) { // This is a regression test for a serious issue wherein if pointer bits
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 13.4K bytes - Viewed (0) -
pkg/controller/controller_ref_manager_test.go
return test{ name: "Controller claims or release pods according to selector with finalizers", manager: NewPodControllerRefManager(&FakePodControl{}, &controller, productionLabelSelector, controllerKind, func(ctx context.Context) error { return nil }, "foo-finalizer", "bar-finalizer"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 17:19:26 UTC 2021 - 10.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta.go
hasFinalizerOrphanDependents := false hasFinalizerDeleteDependents := false for _, finalizer := range finalizers { allErrs = append(allErrs, ValidateFinalizerName(finalizer, fldPath)...) if finalizer == metav1.FinalizerOrphanDependents { hasFinalizerOrphanDependents = true } if finalizer == metav1.FinalizerDeleteDependents { hasFinalizerDeleteDependents = true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 07 03:12:31 UTC 2022 - 12K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go
ResourceVersion: "1", SelfLink: "some/place/only/we/know", Labels: map[string]string{"foo": "bar"}, Annotations: map[string]string{"x": "y"}, Finalizers: []string{ "finalizer.1", "finalizer.2", }, }, } var _ metav1.Object = &j.ObjectMeta var _ metav1.ObjectMetaAccessor = j accessor, err := meta.Accessor(j) if err != nil { t.Fatalf("unexpected error: %v", err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 14 10:11:56 UTC 2022 - 12.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/execution/plan/Node.java
state = ExecutionState.EXECUTING; Set<Node> finalizers = getFinalizers(); if (!finalizers.isEmpty()) { for (Node finalizer : finalizers) { finalizer.getGroup().onNodeStart(finalizer, this); } } nodeStartAction.accept(this); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 24 13:30:48 UTC 2023 - 22.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc
==== include::sample[dir="snippets/tasks/finalizers/kotlin",files="build.gradle.kts[]"] include::sample[dir="snippets/tasks/finalizers/groovy",files="build.gradle[]"] ---- $ gradle -q taskX include::{snippetsPath}/tasks/finalizers/tests/taskFinalizers.out[] ---- ==== Finalizer tasks are executed even if the finalized task fails or if the finalized task is considered `UP-TO-DATE`: ====
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Mar 23 22:37:03 UTC 2024 - 14.2K bytes - Viewed (0) -
src/os/file_unix.go
// Fd returns the integer Unix file descriptor referencing the open file. // If f is closed, the file descriptor becomes invalid. // If f is garbage collected, a finalizer may close the file descriptor, // making it invalid; see [runtime.SetFinalizer] for more information on when // a finalizer might be run. On Unix systems this will cause the [File.SetDeadline] // methods to stop working.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:52:34 UTC 2024 - 14.9K bytes - Viewed (0) -
src/runtime/pinner.go
p.pinner = new(pinner) p.refs = p.refStore[:0] // We set this finalizer once and never clear it. Thus, if the // pinner gets cached, we'll reuse it, along with its finalizer. // This lets us avoid the relatively expensive SetFinalizer call // when reusing from the cache. The finalizer however has to be // resilient to an empty pinner being finalized, which is done // by checking p.refs' length.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 11K bytes - Viewed (0) -
src/os/file_windows.go
} // Fd returns the Windows handle referencing the open file. // If f is closed, the file descriptor becomes invalid. // If f is garbage collected, a finalizer may close the file descriptor, // making it invalid; see [runtime.SetFinalizer] for more information on when // a finalizer might be run. On Unix systems this will cause the [File.SetDeadline] // methods to stop working. func (file *File) Fd() uintptr { if file == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:38:38 UTC 2024 - 13.4K bytes - Viewed (0) -
pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go
t.Errorf("Expected finalize-namespace action %v", actions[0]) } finalizers := actions[0].(core.CreateAction).GetObject().(*v1.Namespace).Spec.Finalizers if len(finalizers) != 1 { t.Errorf("There should be a single finalizer remaining") } if string(finalizers[0]) != "other" { t.Errorf("Unexpected finalizer value, %v", finalizers[0]) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 07:34:23 UTC 2023 - 15.8K bytes - Viewed (0)