Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for ModelName (0.22 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/managedfields/gvkparser.go

    	}
    	parser.parser = typed.Parser{Schema: smdschema.Schema{Types: typeSchema.Types}}
    	for _, modelName := range models.ListModels() {
    		model := models.LookupModel(modelName)
    		if model == nil {
    			panic(fmt.Sprintf("ListModels returns a model that can't be looked-up for: %v", modelName))
    		}
    		gvkList := parseGroupVersionKind(model)
    		for _, gvk := range gvkList {
    			if len(gvk.Kind) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 05 18:56:48 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/img/warPluginTasks.graphml

              <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Arial" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.40625" modelName="internal" modelPosition="c" textColor="#555555" visible="true" width="23.3359375" x="58.33203125" y="6.296875">war</y:NodeLabel>
              <y:Shape type="roundrectangle"/>
            </y:ShapeNode>
          </data>
        </node>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/ResolutionExceptionSerializableCrossVersionSpec.groovy

        List<File> files
        Exception failure
    }
    
    class CustomBuilder implements ToolingModelBuilder {
        boolean canBuild(String modelName) {
            return modelName == '${CustomArtifactModel.name}'
        }
        Object buildAll(String modelName, Project project) {
            try {
                List<File> compileDependencies = project.configurations.getByName('compileClasspath').files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/tooling/provider/model/ToolingModelBuilder.java

         *
         * @param modelName The model name, usually the same as the name of the Java interface used by the client.
         * @return true if this builder can construct the model, false if not.
         */
        boolean canBuild(String modelName);
    
        /**
         * Creates the model of the given type for the given project.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 18 05:08:57 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/toolingApi/customModel/groovy/plugin/src/main/java/org/gradle/sample/plugin/CustomPlugin.java

        private static class CustomToolingModelBuilder implements ToolingModelBuilder {
            public boolean canBuild(String modelName) {
                // The default name for a model is the name of the Java interface
                return modelName.equals(CustomModel.class.getName());
            }
    
            public Object buildAll(String modelName, Project project) {
                return new DefaultModel();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/CustomToolingModelCrossVersionSpec.groovy

    class CustomThing implements Serializable {
        byte[] payload = new byte[1024 * 1024]
    }
    
    class CustomBuilder implements ToolingModelBuilder {
        boolean canBuild(String modelName) {
            return modelName == '${CustomModel.name}'
        }
        Object buildAll(String modelName, Project project) {
            return new CustomModel(50)
        }
    }
    
    class CustomPlugin implements Plugin<Project> {
        @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/tooling/provider/model/CustomToolingModelIntegrationTest.groovy

                class SomeModelBuilder implements ToolingModelBuilder {
                    static final Object lock = new Object()
    
                    boolean canBuild(String modelName) {
                        return modelName == "thing"
                    }
    
                    Object buildAll(String modelName, Project project) {
                        // Do some dependency resolution while holding a shared lock
                        synchronized(lock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_path_params/test_tutorial005.py

                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
                    },
                    "ModelName": IsDict(
                        {
                            "title": "ModelName",
                            "enum": ["alexnet", "resnet", "lenet"],
                            "type": "string",
                        }
                    )
                    | IsDict(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/img/commandLineTutorialTasks.graphml

              <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Arial" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.40625" modelName="internal" modelPosition="c" textColor="#555555" visible="true" width="68.6875" x="35.65625" y="6.296875">compileTest</y:NodeLabel>
              <y:Shape type="roundrectangle"/>
            </y:ShapeNode>
          </data>
        </node>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

                import org.gradle.api.Project
    
                class MyModelBuilder implements ToolingModelBuilder {
                    boolean canBuild(String modelName) {
                        return modelName == "${BaseModel.name}"
                    }
                    Object buildAll(String modelName, Project project) {
                        println("creating model for \$project")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top