Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 286 for swiftc (0.68 sec)

  1. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftApplicationInitIntegrationTest.groovy

        def "source generation is skipped when swift sources detected with #scriptDsl build scripts"() {
            setup:
            subprojectDir.file("src/main/swift/main.swift") << """
                public func hola() -> String {
                    return "Hola, Mundo!"
                }
    
                print(hola())
            """
            subprojectDir.file("src/test/swift/HolaTests.swift") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftLibraryInitIntegrationTest.groovy

        def "creates sample source if no source present with #scriptDsl build scripts"() {
            when:
            run('init', '--type', 'swift-library', '--dsl', scriptDsl.id)
    
            then:
            subprojectDir.file("src/main/swift").assertHasDescendants(SAMPLE_LIBRARY_CLASS)
            subprojectDir.file("src/test/swift").assertHasDescendants(SAMPLE_LIBRARY_TEST_CLASS, LINUX_MAIN_DOT_SWIFT)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy

            app.writeToProject(testDirectory)
    
            app.main.writeToSourceDir(file("src/main.swift"))
            app.greeter.writeToSourceDir(file("src/one.swift"))
            app.sum.writeToSourceDir(file("src/two.swift"))
            file("src/main/swift/broken.swift") << "ignore me!"
    
            and:
            buildFile << """
                apply plugin: 'swift-application'
                application {
                    source {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:43:37 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/dsl.xml

        </section>
    
        <section>
            <title>Swift component model types</title>
            <para>Used to configure Swift components.</para>
            <table>
                <title>Swift component types</title>
                <tr>
                    <td>org.gradle.language.swift.SwiftApplication</td>
                </tr>
                <tr>
                    <td>org.gradle.language.swift.SwiftLibrary</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:00:02 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. src/crypto/md5/gen.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	err = os.WriteFile(*filename, data, 0644)
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    type Data struct {
    	a, b, c, d string
    	Shift1     []int
    	Shift2     []int
    	Shift3     []int
    	Shift4     []int
    	Table1     []uint32
    	Table2     []uint32
    	Table3     []uint32
    	Table4     []uint32
    }
    
    var funcs = template.FuncMap{
    	"dup":     dup,
    	"relabel": relabel,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/toolchain/switch.go

    	}
    }
    
    // NeedSwitch reports whether Switch would attempt to switch toolchains.
    func (s *Switcher) NeedSwitch() bool {
    	return s.TooNew != nil && (HasAuto() || HasPath())
    }
    
    // Switch decides whether to switch to a newer toolchain
    // to resolve any of the saved errors.
    // It switches if toolchain switches are permitted and there is at least one TooNewError.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. test/codegen/shift.go

    	if shift >= 0 && shift < 64 {
    		// arm64:"LSL",-"CSEL"
    		r1 = val64 << shift
    	}
    	if shift >= 0 && shift < 32 {
    		// arm64:"LSL",-"CSEL"
    		r2 = val32 << shift
    	}
    	if shift >= 0 && shift < 16 {
    		// arm64:"LSL",-"CSEL"
    		r3 = val16 << shift
    	}
    	if shift >= 0 && shift < 8 {
    		// arm64:"LSL",-"CSEL"
    		r4 = val8 << shift
    	}
    	return r1, r2, r3, r4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/SwiftBuildPerformanceTest.groovy

        }
    
        static String determineFileToChange(String testProject) {
            switch (testProject) {
                case 'mediumSwiftMulti':
                    return 'lib6api3/src/main/swift/Lib6Api3ImplApi2.swift'
                case 'bigSwiftApp':
                    return 'src/main/swift/AppImpl54Api3.swift'
                default:
                    throw new IllegalArgumentException("Invalid test project ${testProject}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/configuration-factory-methods.txt

    Constructor <org.gradle.language.swift.internal.DefaultSwiftBinary.<init>(org.gradle.language.nativeplatform.internal.Names, org.gradle.api.model.ObjectFactory, org.gradle.api.internal.tasks.TaskDependencyFactory, org.gradle.api.provider.Provider, boolean, org.gradle.api.file.FileCollection, org.gradle.api.artifacts.ConfigurationContainer, org.gradle.api.artifacts.Configuration, org.gradle.language.swift.SwiftPlatform, org.gradle.nativeplatform.toolchain.internal.Na...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

                when (os) {
                    Os.WINDOWS -> param("env.PATH", "%env.PATH%;C:/Program Files/7-zip")
                    else -> param("env.PATH", "%env.PATH%:/opt/swift/4.2.3/usr/bin:/opt/swift/4.2.4-RELEASE-ubuntu18.04/usr/bin")
                }
            }
            failureConditions {
                // We have test-retry to handle the crash in tests
                javaCrash = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top