Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for legalized (0.13 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

                task foo {
                    dependsOn tasks.withType(Zip)
                    doLast {
                        assert defaultTaskRealizedCount == 0, "All DefaultTask shouldn't be realized"
                        assert zipTaskRealizedCount == 1, "All Zip task should be realized"
                    }
                }
            '''
    
            expect:
            succeeds "foo"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ListElementSourceTest.groovy

            source.addPending(provider)
    
            then:
            source.size() == 2
            source.iterator().collect() == ["foo", "foo"]
        }
    
        def "can add an element as both a provider and a realized value"() {
            when:
            source.add("foo")
            source.addPending(provider("foo"))
    
            then:
            source.iterator().collect() == ["foo", "foo"]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 13 05:06:48 UTC 2020
    - 12.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

                    progress[0].details.message.startsWith("configure")
                }
            }
        }
    
        @ToBeFixedForIsolatedProjects(because = "Investigate")
        def "emits registration build ops when tasks not realized"() {
            given:
            stopBeforeTaskGraphCalculation()
            register('foo')
    
            when:
            runAndFail()
    
            then:
            verifyTaskIds()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/maven/RealisedMavenModuleResolveMetadataSerializationHelper.java

                false,
                isExternalVariant
            );
            ImmutableList<ModuleDependencyMetadata> dependencies = readDependencies(decoder, deduplicationDependencyCache);
            realized.setDependencies(dependencies);
            return realized;
    
        }
    
        private MavenDependencyDescriptor readMavenDependency(Decoder decoder, Map<Integer, MavenDependencyDescriptor> deduplicationDependencyCache) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/DefaultNamedDomainObjectCollection.java

            } else {
                handleAttemptToAddItemWithNonUniqueName(toAdd);
                return false;
            }
        }
    
        @Override
        protected void realized(ProviderInternal<? extends T> provider) {
            super.realized(provider);
            index.removePending(provider);
        }
    
        @Override
        public boolean addAll(Collection<? extends T> c) {
            assertMutable("addAll(Collection<T>)");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 16:54:51 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/task_configuration_avoidance.adoc

    ----
    =====
    ====
    Executing the `gradle check` task should execute `verificationTask`, but with this example, it won't.
    This is because the dependency between `verificationTask` and `check` only happens when `verificationTask` is realized.
    To avoid issues like this, you must only modify the task associated with the configuration action.
    Other tasks should be modified in their own configuration action:
    +
    ====
    [.multi-language-sample]
    =====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 23:45:25 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

        func.return
      }
    })";
    
    // MLIR which should not legalize at all
    static constexpr char kBadMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
      func.func @main() -> () {
        %0 = tf.Unknown() -> ()
        func.return %0
      }
    })";
    
    // MLIR which should be filtered by the MLIR bridge but fully legalize with the
    // combined bridge.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerTest.groovy

            then:
            def ex = thrown(IllegalStateException)
            ex.message == "The domain object 'obj' (TestObject) for this provider is no longer present in its container."
        }
    
        def "can remove realized registered element using register provider"() {
            when:
            def provider = container.register('obj')
            def obj = provider.get()
    
            then:
            provider.present
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 27 06:24:30 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/DefaultDomainObjectCollection.java

            this(filter.getType(), collection.filteredStore(filter), collection.filteredEvents(filter));
        }
    
        protected void realized(ProviderInternal<? extends T> provider) {
            getStore().realizeExternal(provider);
        }
    
        public Class<? extends T> getType() {
            return type;
        }
    
        protected ElementSource<T> getStore() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

          /*allow_mutable_tensors=*/true));
    
      // Generic MLIR optimization passes.
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mlir::TF::CreateTFShapeInferencePass(input_arg_shapes));
    
      // Legalizes TF UniformQuantized types into MHLO. Part of the official
      // TF/XLA bridge component.
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::quant::stablehlo::CreateConvertTFQuantOpsToMHLOPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top