Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for _finalize (0.15 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Finalize.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Denotes that the {@link RuleSource} method rule carrying this annotation finalizes the rule subject.
     * <p>
     * Finalize rules execute after {@link Mutate} rules, but before {@link Validate} rules.
     * The first parameter of the rule is the rule subject, which is mutable for the duration of the rule.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/crypto/internal/boring/ecdsa.go

    	if err != nil {
    		return nil, err
    	}
    	k := &PublicKeyECDSA{key}
    	// Note: Because of the finalizer, any time k.key is passed to cgo,
    	// that call must be followed by a call to runtime.KeepAlive(k),
    	// to make sure k is not collected (and finalized) before the cgo
    	// call returns.
    	runtime.SetFinalizer(k, (*PublicKeyECDSA).finalize)
    	return k, nil
    }
    
    func newECKey(curve string, X, Y BigInt) (*C.GO_EC_KEY, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. src/crypto/internal/boring/ecdh.go

    	}
    
    	k := &PublicKeyECDH{curve, key, group, append([]byte(nil), bytes...)}
    	// Note: Because of the finalizer, any time k.key is passed to cgo,
    	// that call must be followed by a call to runtime.KeepAlive(k),
    	// to make sure k is not collected (and finalized) before the cgo
    	// call returns.
    	runtime.SetFinalizer(k, (*PublicKeyECDH).finalize)
    	return k, nil
    }
    
    func (k *PublicKeyECDH) Bytes() []byte { return k.bytes }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. 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)
  8. test/fixedbugs/issue27518b.go

    	runtime.GC()
    	if shouldFinalize != finalized {
    		err = "heap object finalized at the wrong time"
    	}
    }
    
    func main() {
    	var s StackObj
    	s.h = new(HeapObj)
    	s.h.init()
    	runtime.SetFinalizer(s.h, func(h *HeapObj) {
    		finalized = true
    	})
    	gc(false)
    	h := g(&s)
    	gc(false)
    	h.check()
    	gc(true) // finalize here, after return value's last use. (Go1.11 never runs the finalizer.)
    	if err != "" {
    		panic(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 19:54:23 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/plan/TaskNode.java

            updateDependencyNodes(getDependencyNodes().addMustSuccessor(toNode));
            toNode.addMustPredecessor(this);
        }
    
        public void addFinalizingSuccessor(Node finalized) {
            finalizingSuccessors.add(finalized);
            finalized.addFinalizer(this);
        }
    
        public void addShouldSuccessor(Node toNode) {
            deprecateLifecycleHookReferencingNonLocalTask("shouldRunAfter", toNode);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 29 13:54:06 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. 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)
Back to top