- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 295 for setModel (0.32 sec)
-
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/BuildControllerWithoutParameterSupport.java
@Override public <T, P> T getModel(Model target, Class<T> modelType, Class<P> parameterType, Action<? super P> parameterInitializer) throws UnsupportedVersionException { if (parameterType != null) { throw new UnsupportedVersionException(String.format("Gradle version %s does not support parameterized tooling models.", gradleVersion.getVersion())); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 08:15:25 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/LoadEclipseModel.java
} @Override public EclipseProject execute(BuildController controller) { if (workspace != null) { return controller.getModel(EclipseProject.class, EclipseRuntime.class, new EclipseRuntimeAction(workspace)); } return controller.getModel(EclipseProject.class); } private static class EclipseRuntimeAction implements Action<EclipseRuntime>, Serializable {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiBuildExecutionCrossVersionSpec.groovy
file('build.gradle') << ''' task a { description = 'this is task a' } task b task c ''' when: GradleProject project = withConnection { connection -> connection.getModel(GradleProject.class) } then: project.tasks*.name.toSet() == (["a", "b", "c"] + rootProjectImplicitTasksForGradleProjectModel).toSet() def taskA = project.tasks.find { it.name == 'a' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/BuildScriptModelCrossVersionSpec.groovy
GradleProject project = withConnection { it.getModel(GradleProject.class) } then: project.buildScript.sourceFile == buildFile when: def custom = file('gradle/my-project.gradle') << '//empty' file('settings.gradle') << "rootProject.buildFileName = 'gradle/my-project.gradle'" project = withConnection { it.getModel(GradleProject.class) } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/DefaultBuildController.java
*/ @Override @Deprecated public BuildResult<?> getModel(Object target, ModelIdentifier modelIdentifier) throws BuildExceptionVersion1, InternalUnsupportedModelException { return getModel(target, modelIdentifier, null); } /** * This is used by consumers 4.4 and later */ @Override public BuildResult<?> getModel(@Nullable Object target, ModelIdentifier modelIdentifier, Object parameter)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:56:14 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/CancellableConsumerConnectionTest.groovy
and: 1 * modelMapping.getModelIdentifierFromModelType(Void) >> modelIdentifier 1 * target.getModel(modelIdentifier, _, parameters) >> { ModelIdentifier id, InternalCancellationToken cancel, def params -> return Stub(BuildResult) { getModel() >> 'result' } } 1 * adapter.builder(Void) >> builder 1 * builder.build('result') >> 'the result'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/FetchIdeaProjectForTarget.java
return controller.getModel(project, IdeaProject.class); } } for (GradleBuild editableBuild : buildModel.getEditableBuilds()) { for (BasicGradleProject project : editableBuild.getProjects()) { if (targetProject.equals(project.getBuildTreePath())) { return controller.getModel(project, IdeaProject.class); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r34/ToolingApiIdeaModelCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc
void LoadBasicModel() { input_model_ = ReadTestModel(); model_ = input_model_->GetModel(); } void LoadSharedWeightsModel() { input_model_ = ReadSharedWeightsTestModel(); model_ = input_model_->GetModel(); } void LoadGatherTestModel() { input_model_ = ReadGatherTestModel(); model_ = input_model_->GetModel(); } void LoadCustomOpTestModel() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 32.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/BlockingModelSendingBuildAction.java
this.uri = uri; } @Override public CustomModel execute(BuildController controller) { System.out.println("ACTION STARTED"); GradleProject gradleProject = controller.getModel(GradleProject.class); controller.send(gradleProject); System.out.println("ACTION WAITING"); try { uri.toURL().openConnection().getContentLength(); } catch (IOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 08:55:56 UTC 2024 - 1.7K bytes - Viewed (0)