Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 418 for getNodes (0.16 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r34/ToolingApiIdeaModelCrossVersionSpec.groovy

                            jdkName = 'MyJDK3'
                        }
                    }
                }
    
            """
    
            when:
            def ideaProject = withConnection { connection -> connection.getModel(IdeaProject) }
    
            then:
            ideaProject.modules.find { it.name == 'root' }.jdkName == 'MyJDK1'
            ideaProject.modules.find { it.name == 'child1' }.jdkName == 'MyJDK2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ModelStreamingBuildAction.java

    class ModelStreamingBuildAction implements BuildAction<CustomModel> {
        @Override
        public CustomModel execute(BuildController controller) {
            EclipseProject eclipseProject = controller.getModel(EclipseProject.class);
            GradleProject gradleProject = controller.getModel(GradleProject.class);
    
            // Intentionally sending models in an order different from requesting models
            controller.send(gradleProject);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:55:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomModelBuildingAction.java

    public class CustomModelBuildingAction implements BuildAction<CustomModel> {
        @Override
        public CustomModel execute(BuildController controller) {
            CustomModel model1 = controller.getModel(CustomModel.class);
            CustomModel model2 = controller.getModel(CustomModel.class);
            assert model1.getThing() == model2.getThing();
            return model1;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

                    test {
                        java {}
                        resources {}
                    }
                }
            }
    
            when:
            IdeaProject project = withConnection { connection -> connection.getModel(IdeaProject.class) }
            IdeaModule module = project.children[0]
            IdeaContentRoot root = module.contentRoots[0]
    
            then:
            root.sourceDirectories.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java

        }
    
        @Override
        public Stream<FileSystemLocationSnapshot> rootSnapshotsUnder(String absolutePath) {
            return getNode(absolutePath)
                .map(FileSystemNode::rootSnapshots)
                .orElseGet(Stream::empty);
        }
    
        private Optional<FileSystemNode> getNode(String absolutePath) {
            VfsRelativePath relativePath = VfsRelativePath.of(absolutePath);
            return relativePath.isEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            testInheritance(baseName, true);
        }
    
        public void testInheritance(String baseName, boolean fromRepo) throws IOException {
            Model parent = getModel(baseName + "-parent");
    
            Model child = getModel(baseName + "-child");
    
            if (fromRepo) {
                // when model is read from repo, a stream is used, then pomFile == null
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 13 11:39:50 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/ModelStreamingBuildAction.java

    class ModelStreamingBuildAction implements BuildAction<CustomModel> {
        @Override
        public CustomModel execute(BuildController controller) {
            EclipseProject eclipseProject = controller.getModel(EclipseProject.class);
            GradleProject gradleProject = controller.getModel(GradleProject.class);
    
            // Intentionally sending models in an order different from requesting models
            controller.send(gradleProject);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m5/ToolingApiGradleProjectCrossVersionSpec.groovy

            file('build.gradle') << '''
    task a {
       description = 'this is task a'
    }
    task b
    task c
    '''
    
            when:
            GradleProject project = withConnection { it.getModel(GradleProject.class) }
    
            then:
            GradleTask taskA = project.tasks.find { it.name == 'a' }
            taskA.path == ':a'
            taskA.description == 'this is task a'
            taskA.project == project
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top