Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for finalizer (0.78 sec)

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        assertNotNull(getClass().getResource("internal/Finalizer.class"));
      }
    
      public void testFinalizeClassHasNoNestedClasses() throws Exception {
        // Ensure that the Finalizer class has no nested classes.
        // See https://code.google.com/p/guava-libraries/issues/detail?id=1505
        assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. src/internal/weak/pointer.go

    // Returns nil if the original value for the weak pointer was reclaimed by
    // the garbage collector.
    // If a weak pointer points to an object with a finalizer, then Strong will
    // return nil as soon as the object's finalizer is queued for execution.
    func (p Pointer[T]) Strong() *T {
    	return (*T)(runtime_makeStrongFromWeak(p.u))
    }
    
    // Implemented in runtime.
    
    //go:linkname runtime_registerWeakPointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:13:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/internal/weak/pointer_test.go

    	}
    
    	// Wait for the finalizer to run.
    	<-done
    
    	// The weak pointer should still be nil after the finalizer runs.
    	runtime.GC()
    	if wt.Strong() != nil {
    		t.Errorf("weak pointer is non-nil even after finalization: %v", wt)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. operator/pkg/controller/istiocontrolplane/errdict.go

    			"error persists, " + actionCheckBugList,
    	}
    	operatorFailedToAddFinalizer = &structured.Error{
    		MoreInfo: "A finalizer could not be added to the IstioOperator resource. The " +
    			"controller uses the finalizer to temporarily prevent the resource from being deleted while the Istio " +
    			"control plane is being deleted.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskExecutionIntegrationTest.groovy

                    void configureFinalizerTask(@Path("tasks.finalizer") EchoTask task) {
                        task.message = "configured"
                    }
    
                    @Mutate
                    void addTasks(ModelMap<Task> tasks) {
                        tasks.create("requested") {
                            dependsOn "dependency"
                            finalizedBy "finalizer"
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/os/exec_unix.go

    		// racing with Wait, or a double Release.
    		p.handlePersistentRelease(statusReleased)
    	case modePID:
    		// 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) {
    	h, err := pidfdFind(pid)
    	if err == ErrProcessDone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top