Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 185 for node_map (0.46 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskCreationIntegrationTest.groovy

            then:
            failure.assertHasCause("Exception thrown while executing model rule: MyPlugin#addTasks2(ModelMap<Task>, MyModel)")
            failure.assertHasCause("Cannot create 'tasks.a' using creation rule 'MyPlugin#addTasks2(ModelMap<Task>, MyModel) > create(a)' as the rule 'MyPlugin#addTasks1(ModelMap<Task>, MyModel) > create(a)' is already registered to create this model element.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 18 22:50:47 UTC 2020
    - 16.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc

            node_names.size() != node_maxs.size()) {
          return true;
        }
        for (int i = 0; i < node_names.size(); ++i) {
          quant_specs->input_ranges.push_back({node_mins[i], node_maxs[i]});
        }
        return false;
      }
      if (!node_mins.empty()) {
        llvm::dbgs() << "Ignored input_min_values.";
      }
      if (!node_maxs.empty()) {
        llvm::dbgs() << "Ignored input_max_values.";
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/type/ModelTypes.java

    import groovy.lang.GroovyObject;
    import org.gradle.model.ModelMap;
    import org.gradle.model.ModelSet;
    
    import java.util.ArrayDeque;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Queue;
    import java.util.Set;
    
    public abstract class ModelTypes {
    
        public static <I> ModelType<ModelMap<I>> modelMap(Class<I> type) {
            return modelMap(ModelType.of(type));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/BinaryTasksModelRuleExtractorTest.groovy

            static void noBinaryParameter(ModelMap<Task> builder) {
            }
    
            @BinaryTasks
            static void multipleBinaryParameters(ModelMap<Task> builder, BinarySpec b1, BinarySpec b2) {
            }
    
            @BinaryTasks
            private <T> T multipleProblems(String p1, String p2) {
            }
    
            @BinaryTasks
            static void validTypeRule(ModelMap<Task> tasks, SomeBinarySpec binary) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelMapStrategy.java

                if (!type.getRawClass().equals(ModelMap.class)) {
                    extractionContext.add(String.format("subtyping %s is not supported.", ModelMap.class.getName()));
                    return;
                }
    
                if (type.isHasWildcardTypeVariables()) {
                    extractionContext.add(String.format("type parameter of %s cannot be a wildcard.", ModelMap.class.getName()));
                    return;
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InvalidManagedModelMutationIntegrationTest.groovy

            failure.assertHasCause("Exception thrown while executing model rule: RulePlugin#tryToModifyCompositeSubjectOfAnotherRule(ModelMap<Task>, Person)")
            failure.assertHasCause("Attempt to modify a read only view of model element 'person.pet' of type 'Pet' given to rule RulePlugin#tryToModifyCompositeSubjectOfAnotherRule(ModelMap<Task>, Person)")
        }
    
        def "mutating managed inputs of a dsl rule is not allowed"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

            fails()
    
            and:
            failure.assertHasCause("Exception thrown while executing model rule: RulePlugin#mutate(ModelMap<Task>, ModelMap<Person>)")
            failure.assertHasCause("Attempt to modify a read only view of model element 'people' of type 'ModelMap<Person>' given to rule RulePlugin#mutate(ModelMap<Task>, ModelMap<Person>)")
        }
    
        def "cannot mutate when used as subject of validate rule"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentSourceSetIntegrationTest.groovy

                }
                apply plugin: TestRules
    
                class ValidateTaskRules extends RuleSource {
                    @Mutate
                    void createValidateTask(ModelMap<Task> tasks, @Path("components.sampleLib.sources") ModelMap<LanguageSourceSet> sources) {
                        tasks.create("validate") {
                            assert sources.haxe != null
                            assert sources.haxe.publicData == "public"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  9. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentBinariesIntegrationTest.groovy

                                tasks()
                                sources()
                            }
                            otherBinary(type: 'OtherSampleBinary', creator: 'MyComponentBinariesPlugin.Rules#createBinariesForSampleLibrary(ModelMap<SampleBinary>, SampleLibrary) > create(otherBinary)') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedToModelMapElementIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class RuleSourceAppliedToModelMapElementIntegrationTest extends AbstractIntegrationSpec {
    
        def "rule source can be applied to ModelMap element"() {
            when:
            buildScript '''
                class MessageTask extends DefaultTask {
                    @Internal
                    String message = "default"
    
                    @TaskAction
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top