- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,402 for finalizer (0.15 sec)
-
src/crypto/internal/boring/rsa.go
runtime.SetFinalizer(k, (*PublicKeyRSA).finalize) return k, nil } func (k *PublicKeyRSA) finalize() { C._goboringcrypto_RSA_free(k._key) } func (k *PublicKeyRSA) withKey(f func(*C.GO_RSA) C.int) C.int { // Because of the finalizer, any time _key is passed to cgo, that call must // be followed by a call to runtime.KeepAlive, to make sure k is not // collected (and finalized) before the cgo call returns.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 23:38:03 UTC 2024 - 12K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher_test.go
expectedLabels: namespace1Labels, }, { name: "request is for namespace/finalizer", attr: admission.NewAttributesRecord(nil, nil, schema.GroupVersionKind{}, namespace1.Name, "mock-name", schema.GroupVersionResource{Resource: "namespaces"}, "finalizers", admission.Create, &metav1.CreateOptions{}, false, nil), expectedLabels: namespace1Labels, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 26 00:41:14 UTC 2022 - 4.8K bytes - Viewed (0) -
src/runtime/stack_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 23.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/apiserver.go
"k8s.io/apiextensions-apiserver/pkg/controller/apiapproval" "k8s.io/apiextensions-apiserver/pkg/controller/establish" "k8s.io/apiextensions-apiserver/pkg/controller/finalizer" "k8s.io/apiextensions-apiserver/pkg/controller/nonstructuralschema" openapicontroller "k8s.io/apiextensions-apiserver/pkg/controller/openapi" openapiv3controller "k8s.io/apiextensions-apiserver/pkg/controller/openapiv3"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 14:31:43 UTC 2023 - 11.5K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskFailureIntegrationTest.groovy
failure.assertHasFailures(1) failure.assertHasDescription("Execution failed for task ':buildB:compileJava'.") } @Issue("https://github.com/gradle/gradle/issues/5714") def "build fails when finalizer task in included build that is not a dependency of any other task fails"() { given: dependency("org.test:buildB:1.0") buildB.buildFile << """ task broken {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 08 20:51:23 UTC 2021 - 5.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
GcFinalization.awaitClear(finalizableWeakReference); Field sepFrqUserFinalizedF = sepFrqUserC.getField("finalized"); Semaphore finalizeCount = (Semaphore) sepFrqUserFinalizedF.get(null); boolean finalized = finalizeCount.tryAcquire(5, TimeUnit.SECONDS); assertTrue(finalized); Field sepFrqUserFrqF = sepFrqUserC.getField("frq"); Closeable frq = (Closeable) sepFrqUserFrqF.get(null);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy
blockingServer.expectConcurrent(':b:pingB', ':a:pingA') blockingServer.expect(':b:pingA') blockingServer.expect(':b:pingC') run 'b:pingC' } def "finalizer tasks are run in parallel"() { buildFile << """ tasks.getByPath(':c:ping').dependsOn ":a:ping", ":b:ping" tasks.getByPath(':d:ping').finalizedBy ":c:ping" """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 4.9K bytes - Viewed (0) -
src/os/exec_plan9.go
status: &waitmsg, } return ps, nil } func (p *Process) release() error { p.Pid = -1 // Just mark the PID unusable. p.pidDeactivate(statusReleased) // no need for a finalizer anymore runtime.SetFinalizer(p, nil) return nil } func findProcess(pid int) (p *Process, err error) { // NOOP for Plan 9. return newPIDProcess(pid), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.4K bytes - Viewed (0) -
src/runtime/debug/stack.go
// that cannot be closed by the user. // This also alleviates us from concerns about the // lifetime and finalization of f. // (DupCloseOnExec returns an fd, not a *File, so // there is no finalizer, and we are responsible for // closing it.) // // The new fd must be close-on-exec, otherwise if the // crash monitor is a child process, it may inherit // it, so it will never see EOF from the pipe even
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package finalizer import ( "context" "fmt" "reflect" "time" "k8s.io/klog/v2" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/meta"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 12.6K bytes - Viewed (0)