Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for _finalize (0.24 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. src/runtime/mfinal.go

    			if finptrmask[0] == 0 {
    				// Build pointer mask for Finalizer array in block.
    				// Check assumptions made in finalizer1 array above.
    				if (unsafe.Sizeof(finalizer{}) != 5*goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.fn) != 0 ||
    					unsafe.Offsetof(finalizer{}.arg) != goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.nret) != 2*goarch.PtrSize ||
    					unsafe.Offsetof(finalizer{}.fint) != 3*goarch.PtrSize ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      public void testAwait_CountDownLatch() {
        final CountDownLatch latch = new CountDownLatch(1);
        Object x =
            new Object() {
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        x = null; // Hint to the JIT that x is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. 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)
  5. pkg/controller/job/job_controller.go

    		jm.deletePod(logger, curPod, false)
    		return
    	}
    
    	// Don't check if oldPod has the finalizer, as during ownership transfer
    	// finalizers might be re-added and removed again in behalf of the new owner.
    	// If all those Pod updates collapse into a single event, the finalizer
    	// might be removed in oldPod and curPod. We want to record the latest
    	// state.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheLifecyclePluginIntegrationTest.groovy

    import org.gradle.api.services.BuildServiceParameters
    
    class ConfigurationCacheLifecyclePluginIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        def 'buildDirectory is finalized when writing to the cache'() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            def buildDirName = 'my-build-dir'
            def buildDir = file(buildDirName)
            buildFile """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			true,
    			[]string{},
    		},
    		// cases run with nil DeleteOptions.OrphanDependents. If the object
    		// already has the orphan finalizer, then the DeleteStrategy should be
    		// ignored. Otherwise the DeleteStrategy decides whether to add the
    		// orphan finalizer.
    		{
    			podWithOrphanFinalizer("pod9"),
    			nilOrphanOptions,
    			defaultDeleteStrategy,
    			false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

            configurationCacheRun()
    
            then:
            configurationCache.assertStateLoaded()
            outputDoesNotContain onFinishMessage
        }
    
        def "build service is restored"(String serviceName, boolean finalize, boolean finalizeOnRead) {
            given:
            def legacy = serviceName == null
            def propertyAnnotations = legacy ?
                """@$Internal.name""" :
                """@$ServiceReference.name("$serviceName")"""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  9. 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)
  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