Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for _finalize (0.17 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

        def "detects a cycle with a task that mustRunAfter itself as finalizer of another task"() {
            buildFile << """
                def finalizer = tasks.register("finalizer")
                tasks.named("finalizer").configure {
                    mustRunAfter(finalizer)
                }
                task myTask {
                    finalizedBy finalizer
                }
            """
            expect:
            2.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

            0 * closure._
            1 * fileResolver.resolve('a') >> file1
            1 * fileResolver.resolve('b') >> file2
            0 * fileResolver._
        }
    
        def "can finalize when already finalized"() {
            given:
            def file = new File('one')
            collection.from('a')
    
            when:
            collection.finalizeValue()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. src/runtime/arena_test.go

    	// Try to queue the object's finalizer that we set earlier.
    	GC()
    	GC()
    
    	if !BlockUntilEmptyFinalizerQueue(int64(2 * time.Second)) {
    		t.Fatal("finalizer queue was never emptied")
    	}
    	if !finalized.Load() {
    		t.Error("expected arena-referenced object to be finalized")
    	}
    }
    
    func TestUserArenaClearsPointerBits(t *testing.T) {
    	// This is a regression test for a serious issue wherein if pointer bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top