Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for void (0.28 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

        val hasGetterName = hasGetGetterName || hasIsGetterName
        val hasSetterName = method.name.matches(propertySetterNameRegex)
        val paramCount = method.parameterTypes.size
        val returnsVoid = method.returnType.name == "void"
    
        val couldBeProperty =
            (hasGetterName && paramCount == 0 && !returnsVoid) || (hasSetterName && paramCount == 1 && returnsVoid)
    
        val couldBeExtensionProperty =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    private
    fun binaryNameOfInternalName(internalName: String): String =
        Type.getObjectType(internalName).className
    
    
    fun sourceNameOfBinaryName(binaryName: String): String =
        when (binaryName) {
            "void" -> "Unit"
            "?" -> "*"
            in mappedTypeStrings.keys -> mappedTypeStrings[binaryName]!!
            in primitiveTypeStrings.keys -> primitiveTypeStrings[binaryName]!!
            else -> binaryName.replace('$', '.')
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

    val DslContext.uuidPrefix: String
        get() = settingsRoot.id.toString().substringAfter("Gradle")
    
    data class VersionedSettingsBranch(val branchName: String) {
        /**
         * 0~23.
         * To avoid nightly promotion jobs running at the same time,
         * we run each branch on different hours.
         * master - 0:00
         * release - 1:00
         * release6x - 2:00
         * release7x - 3:00
         * ...
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                val destFile = rootBuildDir.resolve("report$projectPathName-${it.name}.zip")
                zip(destFile, it)
            }
    
            // Zip all files in project build directory into a single zip file to avoid publishing too many tiny files
            reports.filter { it.isFile && it.toPath().startsWith(projectBuildDirPath) }
                .map { projectBuildDirPath.relativize(it.toPath()).toString() to it }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/common/extensions.kt

     */
    fun Requirements.requiresNotSharedHost() {
        doesNotContain("agent.host.type", "shared")
    }
    
    /**
     * This is an undocumented location that forbids anonymous access.
     * We put artifacts here to avoid accidentally exposing sensitive information publicly.
     */
    const val hiddenArtifactDestination = ".teamcity/gradle-logs"
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt

                    public class Source {
                        public void some() {}
                    }
                """,
                v2 = """
                    public class Source {
                        public void some() {
                            Runnable anon = new Runnable() {
                                @Override
                                public void run() {}
                            };
                            anon.run();
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/model/GradleDistribution.kt

    import java.io.File
    import java.util.SortedSet
    
    
    open class GradleDistribution(private val gradleHomeDir: FileCollection) {
    
        /**
         * Make sure this stays type FileCollection (lazy) to avoid losing dependency information.
         */
        @get:InputFiles
        @get:PathSensitive(PathSensitivity.RELATIVE)
        val staticContent: FileCollection
            get() = gradleHomeDir.asFileTree.matching {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Dec 16 19:35:39 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/projects/CheckProject.kt

        params {
            param("credentialsStorageType", "credentialsJSON")
            // Disallow Web UI changes to TeamCity settings
            param("teamcity.ui.settings.readOnly", "true")
            // Avoid rebuilding same revision if it's already built on another branch
            param("teamcity.vcsTrigger.runBuildOnSameRevisionInEveryBranch", "false")
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/JvmCategory.kt

        override val vendor: JvmVendor,
        override val version: JvmVersion
    ) : Jvm {
        MIN_VERSION(JvmVendor.oracle, JvmVersion.java8),
        // Oracle doesn't provide zip JDK distribution for Windows anymore, we avoid using it
        MIN_VERSION_WINDOWS(JvmVendor.openjdk, JvmVersion.java8),
        MAX_LTS_VERSION(JvmVendor.openjdk, JvmVersion.java21),
        MAX_VERSION(JvmVendor.openjdk, JvmVersion.java22),
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Apr 06 02:21:32 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                            public abstract class Task {
                                public String getSourceCompatibility() {
                                    return "";
                                }
                                public void setSourceCompatibility(String value) {
                                }
                            }
                        """
                    )
                },
                v2 = {
                    withFile(
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 20.2K bytes
    - Viewed (0)
Back to top