Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for ModelSet (0.1 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

                class Rules extends RuleSource {
                  @Model
                  void mapThings(ModelMap<ModelMap<Thing>> things) {
                  }
                  @Model
                  void setThings(ModelMap<ModelSet<Thing>> things) {
                  }
                  @Model
                  void setStrings(ModelMap<Set<String>> strings) {
                  }
                }
    
                apply type: Rules
    
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

            abstract ModelMap<NamedThingInterface> getMap()
        }
    
        @Managed
        static abstract class WritableSetProperty {
            abstract void setSet(ModelSet<NamedThingInterface> set)
            abstract ModelSet<NamedThingInterface> getSet()
        }
    
        def "map cannot be writable"() {
            when: extract WritableMapProperty
            then: def ex = thrown InvalidManagedTypeException
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/tests/basicRuleSourcePlugin-model-task.out

             ⤷ PersonRules#setFirstName(Person)
        + age
              | Type:   	int
              | Value:  	0
              | Creator: 	PersonRules#person(Person)
        + children
              | Type:   	org.gradle.model.ModelSet<Person>
              | Creator: 	PersonRules#person(Person)
        + employed
              | Type:   	boolean
              | Value:  	false
              | Creator: 	PersonRules#person(Person)
        + father
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/cache/ModelSchemaCache.java

     * <p>
     * The use of {@link WeakClassSet} as the cache key, opposed to just {@link Class}, is because a type may be composed of types from different classloaders.
     * An example of this would be something like {@code ModelSet<SomeCustomUserType>}.
     * The class set abstraction effectively creates a key for all classes involved in a type.
     * The {@link WeakClassSet#isCollected()} method returns true when any of the classes involved have been collected.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    				numUnits[k] = append(numUnits[k], numUnit...)
    			}
    		}
    		s.NumLabel = numLabels
    		s.NumUnit = numUnits
    	}
    
    	// Remove label marking samples from the base profiles, so it does not appear
    	// as a nodelet in the graph view.
    	prof.RemoveLabel("pprof::base")
    
    	formatTag := func(v int64, key string) string {
    		return measurement.ScaledLabel(v, key, o.OutputUnit)
    	}
    
    	gopt := &graph.Options{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top