Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 332 for _finalize (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

                                           /*only_one_return_value=*/false,
                                           /*allow_return_of_existing=*/true);
    
      finalize_name = GetName(regional, "_finalize");
      finalize_name =
          ExtractSingleBlockRegion(symbol_table, regional.getFinalize(),
                                   finalize_name, extern_values, worklist,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

            }
            2.times {
                fails "thing", "-Pfinalizer.broken"
                result.assertTasksExecutedInOrder ":thing", ":finalizerDep", ":finalizer"
            }
        }
    
        def "finalizer can indirectly depend on the entry point finalized by it"() {
            given:
            buildFile '''
                task finalizer(type: BreakingTask) {
                    dependsOn 'finalizerDep'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

            then:
            executes(finalized, finalizerDependency, finalizer, dependsOnFinalizer)
        }
    
        def "finalizer tasks run as soon as possible for tasks that depend on finalized tasks"() {
            Task finalizer = task("finalizer")
            Task finalized = task("finalized", finalizedBy: [finalizer])
            Task dependsOnFinalized = task("dependsOnFinalized", dependsOn: [finalized])
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

      - <b>""")
        }
    
        def "can finalize value when no value defined"() {
            def property = propertyWithNoValue()
    
            when:
            property."$method"()
    
            then:
            !property.present
            property.getOrNull() == null
    
            where:
            method << ["finalizeValue", "implicitFinalizeValue"]
        }
    
        def "can finalize value when value set"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            when:
            executionPlan.setContinueOnFailure(true)
            addToGraphAndPopulate(finalizer, finalized)
    
            then:
            executionPlan.tasks as List == [broken, finalized, finalizerDependency, finalizer]
            assertTasksReady(broken, finalizerDependency)
            assertTaskReadyAndNoMoreToStart(finalizer)
            assertAllWorkComplete()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
     * Object x = new MyClass() {
     *   ...
     *   protected void finalize() { latch.countDown(); ... }
     * };
     * x = null;  // Hint to the JIT that x is stack-unreachable
     * GcFinalization.await(latch);
     * }</pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top