Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 74 for sourceFile (0.18 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

            builder.build() == defaultOptions
        }
    
        def "can include/exclude source files"() {
            def file1 = new File("/src/Person.java")
            def file2 = new File("Computer.java")
            spec.sourceFiles = [file1, file2]
    
            when:
            builder.includeSourceFiles(true)
    
            then:
            builder.build() == defaultOptions + [file1.path, file2.path]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt

        outputDirectory: File,
        sourceFiles: Collection<File>,
        classPath: Collection<File>,
        logger: Logger,
    ) {
    
        val success = compileToDirectory(
            outputDirectory,
            KotlinCompilerOptions(
                jvmTarget = GradleJvmVersion.minimalJavaVersion
            ),
            "gradle-api-extensions",
            sourceFiles,
            logger,
            classPath = classPath
        )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Nov 12 16:16:08 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/GoogleTestIntegrationTest.groovy

            given:
            app.library.headerFiles*.writeToDir(file("src/hello"))
            app.googleTestTests.writeSources(file("src/helloTest"))
            app.library.sourceFiles*.writeToDir(file("src/variant"))
    
            when:
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) { l ->
                targetPlatform "x86"
                binaries.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  4. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitIntegrationTest.groovy

            given:
            app.library.headerFiles*.writeToDir(file("src/hello"))
            app.cunitTests.writeSources(file("src/helloTest"))
            app.library.sourceFiles*.writeToDir(file("src/variant"))
    
            when:
            buildFile << """
    model {
        components {
            hello(NativeLibrarySpec) { l ->
                targetPlatform "x86"
                binaries.all {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

      /** One peer's streams, listener, and web socket in the test.  */
      private class TestStreams(
        client: Boolean,
        private val taskFaker: TaskFaker,
        private val sourcePipe: Pipe,
        private val sinkPipe: Pipe,
      ) : RealWebSocket.Streams(client, sourcePipe.source.buffer(), sinkPipe.sink.buffer()) {
        private val name = if (client) "client" else "server"
        val listener = WebSocketRecorder(name)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/GenerateXcodeProjectFileTask.java

            };
        }
    
        private PBXSourcesBuildPhase newSourceBuildPhase(FileCollection sourceFiles) {
            PBXSourcesBuildPhase result = new PBXSourcesBuildPhase();
            for (File file : sourceFiles) {
                PBXFileReference fileReference = pathToFileReference.get(file.getAbsolutePath());
                result.getFiles().add(new PBXBuildFile(fileReference));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/precompiled/PrecompiledScriptPluginTemplatesTest.kt

        fun publishPluginsTo(
            repository: File,
            group: String = "org.acme",
            version: String = "1.0",
            sourceFiles: FoldersDslExpression
        ) {
            withFolders {
    
                "plugins" {
    
                    "src/main/kotlin" {
                        sourceFiles()
                    }
    
                    withFile("settings.gradle.kts", defaultSettingsScript)
    
                    withFile(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 30 11:39:02 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                jdkHome,
            )
        }
    
        private fun initialiseVirtualFileFinderServices(
            environment: KotlinCoreProjectEnvironment,
            modules: List<KtModule>,
            sourceFiles: List<PsiFileSystemItem>,
            languageVersionSettings: LanguageVersionSettings,
            jdkHome: Path?,
        ) {
            val project = environment.project
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompiler.kt

        )
    }
    
    
    @VisibleForTesting
    internal
    fun compileToDirectory(
        outputDirectory: File,
        compilerOptions: KotlinCompilerOptions,
        moduleName: String,
        sourceFiles: Iterable<File>,
        logger: Logger,
        classPath: Iterable<File>,
    ): Boolean {
    
        withRootDisposable {
            withMessageCollectorFor(logger, EmbeddedKotlinCompilerWarning.WARN) { messageCollector ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 31 08:46:17 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	if f.baseErr != nil {
    		return 0, f.baseErr
    	}
    	return addr - f.base, nil
    }
    
    func (f *file) BuildID() string {
    	return f.buildID
    }
    
    func (f *file) SourceLine(addr uint64) ([]plugin.Frame, error) {
    	f.baseOnce.Do(func() { f.baseErr = f.computeBase(addr) })
    	if f.baseErr != nil {
    		return nil, f.baseErr
    	}
    	return nil, nil
    }
    
    func (f *file) Close() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top