Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for var (0.13 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

        val internalMembers = """
    
            internal fun foo() {}
    
            internal val bar = "bar"
    
            internal var bazar = "bazar"
    
            internal fun String.fooExt() {}
    
            internal fun Int.fooExt() {}
    
            internal val String.barExt: String
                get() = "bar"
    
            internal var Int.bazarExt: String
                get() = "bar"
                set(value) = Unit
    
        """
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

    
    internal
    val CtMethod.isSynthetic
        get() = methodInfo.getAttribute(SyntheticAttribute.tag) != null
    
    
    internal
    val MemberValue.intValue: Int
        get() {
            var value: Int? = null
            accept(object : MemberValueVisitorAdapter() {
                override fun visitIntegerMemberValue(node: IntegerMemberValue) {
                    value = node.value
                }
            })
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                    class Source {
                        val someVal: String = "some"
                        var someVar: String = "some"
                        fun foo(): String = "bar"
                    }
                """,
                v2 = """
                    class Source {
                        val someVal: String? = null
                        var someVar: String? = null
                        fun foo(): String? = null
                    }
                """
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

            }
    
        fun getDependencies() = classes.map { it.value.outputClassFilename to it.value.dependencies.map { it.outputClassFilename } }.toMap()
    }
    
    
    class ClassDetails(val outputClassName: String) {
        var visited: Boolean = false
        val dependencies: MutableSet<ClassDetails> = linkedSetOf()
        val outputClassFilename
            get() = "$outputClassName.class"
    }
    
    
    class PackagePatterns(givenPrefixes: Set<String>) {
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    private
    class TypeSignatureVisitor(private val asmLevel: Int, val variance: Variance = Variance.INVARIANT) : SignatureVisitor(asmLevel) {
    
        var isArray = false
    
        lateinit var binaryName: String
    
        val typeArguments = ArrayList<TypeSignatureVisitor>(1)
    
        private
        var expectTypeArgument = false
    
        override fun visitBaseType(descriptor: Char) =
            visitBinaryName(binaryNameOfBaseType(descriptor))
    
    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)
  6. .teamcity/src/main/kotlin/projects/CheckProject.kt

                "",
                display = ParameterDisplay.NORMAL,
                allowEmpty = true,
                description = "Set to 'true' if you want to skip all dependency builds"
            )
        }
    
        var prevStage: Stage? = null
        val previousPerformanceTestPasses: MutableList<PerformanceTestsPass> = mutableListOf()
        model.stages.forEach { stage ->
            if (isSecurityFork() && stage.stageName > StageName.READY_FOR_RELEASE) {
    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)
  7. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/argumentproviders/CiEnvironmentProvider.kt

            "-Dorg.gradle.integtest.mirrors.${it.key}=${it.value}"
        }
    
        private
        fun collectMirrorUrls(): Map<String, String> =
            // expected env var format: repo1_id:repo1_url,repo2_id:repo2_url,...
            System.getenv("REPO_MIRROR_URLS")?.ifBlank { null }?.split(',')?.associate { nameToUrl ->
                val (name, url) = nameToUrl.split(':', limit = 2)
                name to url
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Viewed (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

         */
        private
        fun File.injectAgentOptions(separator: String) {
            if (agentJarNames.isEmpty()) {
                return
            }
            var replacementsCount = 0
            // readLines eats EOLs, so we need to use postfix to make sure the last line ends with EOL too.
            writeBytes(readLines().joinToString(separator = separator, postfix = separator) { line ->
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

                "org/apache/log4j",
                "org/apache/xerces",
                "org/w3c/dom",
                "org/xml/sax",
                "sun/misc"
            )
        }
    
        @TempDir
        lateinit var projectDir: Path
    
        private
        val implementation = PackageListGenerator.Implementation(DEFAULT_EXCLUDES_FOR_TEST)
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            }
        }
    
        // We count the test task containing flaky result as failed
        private
        fun containsFailedTest(testBinaryResultsDir: File): Boolean {
            var containingFailures = false
    
            val serializer = TestResultSerializer(testBinaryResultsDir)
            if (serializer.isHasResults) {
                serializer.read {
                    if (failuresCount > 0) {
    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)
Back to top