Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for sourceDir (0.14 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ContinuousBuildCancellationCrossVersionSpec.groovy

                }
            }
    
            then:
            !buildResult.failure
        }
    
        def "can cancel in subsequent wait period"() {
            when:
            runBuild {
                succeeds()
                sourceDir.file("Thing.java") << "class Thing {}"
                succeeds()
                cancel()
            }
    
            then:
            !buildResult.failure
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/CompilePrecompiledScriptPluginPlugins.kt

            "Precompiled script plugin plugins"
        )
    
        @get:InputFiles
        @get:IgnoreEmptyDirectories
        @get:PathSensitive(PathSensitivity.RELATIVE)
        val sourceFiles: FileTree = sourceDirectorySet
    
        fun sourceDir(dir: Provider<Directory>) {
            sourceDirectorySet.srcDir(dir)
        }
    
        @get:Nested
        internal
        abstract val javaLauncher: Property<JavaLauncher>
    
        @get:Optional
        @get:Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:57 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathFixture.groovy

            def matches = libs.findAll { it.jarName.contains(jarName) } + vars.findAll { it.jarName == jarName }
            assert matches.size() == 1
            return matches[0]
        }
    
        EclipseSourceDir sourceDir(String path) {
            def matches = getSourceDirs().findAll { it.path == path }
            assert matches.size() == 1
            return matches[0]
        }
    
        List<EclipseLibrary> getLibs() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/SourceDistributionResolverIntegrationTest.kt

        @Test
        fun `can download source distribution`() {
    
            withBuildScript(
                """
    
                val sourceDirs =
                    ${SourceDistributionResolver::class.qualifiedName}(project).run {
                        sourceDirs()
                    }
    
                require(sourceDirs.isNotEmpty()) {
                    "Expected source directories but got none"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 13:27:15 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/DownloadedUriTextResourceTest.groovy

            when:
            underTest = new DownloadedUriTextResource("Test description", sourceUri, "", downloadedFile, resolver)
    
            then:
            underTest.getDisplayName() == "Test description '$sourceUri'"
        }
    
        def "content should not be cached"() {
            when:
            underTest = new DownloadedUriTextResource("Test description", sourceUri, "", downloadedFile, resolver)
    
            then:
            !underTest.isContentCached()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseCustomBuildSourceOutputTest.groovy

            """
    
            when:
            run 'eclipse'
    
            then:
            classpath.sourceDirs.size() == 4
            classpath.sourceDirs[0].output == 'custom-output/main'
            classpath.sourceDirs[1].output == 'custom-output/main'
            classpath.sourceDirs[2].output == 'custom-output/test'
            classpath.sourceDirs[3].output == 'custom-output/test'
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc

          return "";
        }
      }
    
      mlir::MLIRContext context;
      context.printOpOnDiagnostic(true);
      llvm::SourceMgr sourceMgr;
      sourceMgr.AddNewSourceBuffer(std::move(input), llvm::SMLoc());
    
      mlir::OwningOpRef<mlir::ModuleOp> module =
          FlatBufferFileToMlirTranslation(&sourceMgr, &context);
      if (!module || failed(verify(*module))) return "";
    
      std::string mlir_output;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/common/path_config.cc

          tensorflow::str_util::Split(source_dir, "/");
      auto source_tfroot_pos = std::find(source_path_components.begin(),
                                         source_path_components.end(), tf_root_dir);
      if (source_tfroot_pos != source_path_components.end()) {
        tf_prefix_dir =
            absl::StrJoin(source_path_components.begin(), source_tfroot_pos, "/");
      } else {
        tf_prefix_dir = source_dir;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf_mlir_translate_main.cc

                                 llvm::raw_ostream& os) {
          auto sourceMgr = std::make_shared<llvm::SourceMgr>();
          sourceMgr->AddNewSourceBuffer(std::move(ownedBuffer), llvm::SMLoc());
          mlir::MLIRContext context;
          mlir::SourceMgrDiagnosticHandler diagnostic_handler(*sourceMgr, &context);
          return (*requested_translation)(sourceMgr, os, &context);
        };
    
        if (splitInputFile) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/python/mlir_wrapper/filecheck_wrapper.cc

    PYBIND11_MODULE(filecheck_wrapper, m) {
      m.def("check", [](std::string input, std::string check) {
        llvm::FileCheckRequest fcr;
        llvm::FileCheck fc(fcr);
        llvm::SourceMgr SM = llvm::SourceMgr();
        SM.AddNewSourceBuffer(llvm::MemoryBuffer::getMemBuffer(input),
                              llvm::SMLoc());
        SM.AddNewSourceBuffer(llvm::MemoryBuffer::getMemBuffer(check),
                              llvm::SMLoc());
        fc.readCheckFile(SM, llvm::StringRef(check));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 08:13:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top