Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for unrealized2 (0.17 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectSetSpec.groovy

            given:
            container.add(new Bean("realized1"))
            container.addLater(new TestNamedProvider("unrealized1", new Bean("unrealized1")))
            container.add(new Bean("realized2"))
            container.addLater(new TestNamedProvider("unrealized2", new Bean("unrealized2")))
    
            expect: "unrealized elements remain as such"
            container.index.asMap().size() == 2
            container.index.pendingAsMap.size() == 2
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

            given:
            list.add("realized1")
            list.addLater(new TestNamedProvider("unrealized1", "unrealized1"))
            list.add("realized2")
            list.addLater(new TestNamedProvider("unrealized2", "unrealized2"))
    
            expect: "unrealized elements remain as such"
            list.index.asMap().size() == 2
            list.index.pendingAsMap.size() == 2
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

    //===----------------------------------------------------------------------===//
    // StableHLO+TFL --> VHLO+TFL Ops
    //===----------------------------------------------------------------------===//
    
    // Wrap op result uses in an unrealized cast to create a cast to buffer
    // any type changes to result, and apply type converter to result:
    //   result = op(V0)
    //   V1     = op2(result)
    //   ==>
    //   result = op(V0)
    //   V1     = unrealized_cast(result)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskReplacementIntegrationTest.groovy

                    }
                }
                class Second extends First { }
                class Third extends Second { }
            """
        }
    
        def "can replace an unrealized task when #description"() {
            buildFile << """
                tasks.register("foo", First)
                tasks.${api} // ok
            """
    
            expect:
            succeeds 'help'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/IterationOrderRetainingSetElementSourceTest.groovy

            boolean addResult = source.add("foo")
            provider1.value = []
    
            then:
            addResult
            source.iterator().collect() == ["foo"]
        }
    
        def "adding is not ignored when an unrealized provider currently has the same value"() {
            def provider1 = setProvider("foo")
    
            when:
            source.addPendingCollection(provider1)
            boolean addResult = source.add("foo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 06:43:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            noExceptionThrown()
            replaced == newTask
            container.getByName("task") == newTask
    
            and:
            1 * taskFactory.create(_ as TaskIdentity) >> newTask
        }
    
        void "replaces unrealized registered task will execute configuration action against new task"() {
            given:
            def action = Mock(Action)
            def provider = container.register("task", action)
            provider.configure(action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    - `TaskContainer.iterator().remove()`
    
    Additionally, the following deprecated functionality now results in an error:
    
    - Replacing a task that has already been realized.
    - Replacing a registered (unrealized) task with an incompatible type. A compatible type is the same type or a sub-type of the registered type.
    - Replacing a task that has never been registered.
    
    ==== Replaced and Removed APIs
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top