Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 161 for sizeOf (0.12 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/AccessInCurrentReceiverOnlyTest.kt

                """
                inner.x = 1
                inner.y = 1
                inner.f()
                """.trimIndent()
            )
    
            val errors = result.errors
            assertEquals(2, errors.size)
            assertTrue { errors.all { it.errorReason is ErrorReason.AccessOnCurrentReceiverOnlyViolation } }
        }
    
        @Test
        fun `access on an outer receiver is not allowed`() {
            val result = schema.resolve(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/DataStructuralEquality.kt

        return content.matchesPairwise(other.content, DocumentNode::structurallyEquals)
    }
    
    
    private
    fun <T> Collection<T>.matchesPairwise(other: Collection<T>, pairMatches: (T, T) -> Boolean): Boolean =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/CIBuildModel.kt

                    TestCoverage(5, TestType.quickFeedbackCrossVersion, Os.LINUX, JvmCategory.MIN_VERSION, QUICK_CROSS_VERSION_BUCKETS.size),
                    TestCoverage(6, TestType.quickFeedbackCrossVersion, Os.WINDOWS, JvmCategory.MIN_VERSION_WINDOWS_MAC, QUICK_CROSS_VERSION_BUCKETS.size)
                ),
                performanceTests = performanceRegressionTestCoverages
            ),
            Stage(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/types/renderers/KtFlexibleTypeRenderer.kt

                        val lowerOwnTypeArguments = lower.typeArguments
                        val upperOwnTypeArguments = upper.typeArguments
                        if (lowerOwnTypeArguments.size == upperOwnTypeArguments.size) {
                            for ((index, kaTypeProjection) in lowerOwnTypeArguments.withIndex()) {
                                if (upperOwnTypeArguments[index].type != kaTypeProjection.type) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

            val latests = buildList {
                versionsByMinor.entries.forEachIndexed { idx, entry ->
                    add(entry.value.lastOrNull { !it.contains("-") })
                    if (idx < versionsByMinor.size - 1) {
                        add(entry.value.first())
                    } else {
                        add(entry.value.firstOrNull { !it.contains("-") })
                        add(entry.value.first())
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 26 13:50:17 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/classDeclImplementsInterface.kt

    }
    
    class C<T>(val x: Int): <expr>I</expr><T> {
        companion object {
            val K: Int = 58
        }
    
        fun test(): Int {
            return 45 * K
        }
    
        fun count(xs: List<T>): Int {
            return xs.size
        }
    
        override fun i(t: T): Int {
            return test() + t.hashCode()
        }
    
        inner class B() {
    
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 360 bytes
    - Viewed (0)
  7. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/classDeclImplementsTypeParameter.kt

    }
    
    class C<T>(val x: Int): I<<expr>T</expr>> {
        companion object {
            val K: Int = 58
        }
    
        fun test(): Int {
            return 45 * K
        }
    
        fun count(xs: List<T>): Int {
            return xs.size
        }
    
        override fun i(t: T): Int {
            return test() + t.hashCode()
        }
    
        inner class B() {
    
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 360 bytes
    - Viewed (0)
  8. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

        firstCandidates: List<KaCallCandidateInfo>,
        secondCandidates: List<KaCallCandidateInfo>,
    ) {
        val assertions = testServices.assertions
        assertions.assertEquals(firstCandidates.size, secondCandidates.size)
    
        for ((firstCandidate, secondCandidate) in firstCandidates.zip(secondCandidates)) {
            assertions.assertEquals(firstCandidate::class, secondCandidate::class)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

     * classes and the classes they depend on. The classes are not relocated, they all
     * remain in their original namespace. This reduces the final Gradle distribution
     * size and makes us more conscious of which parts of a library we really need.
     */
    val keepPatterns = mapOf(
        "fastutil" to setOf(
            // For Java compilation incremental analysis
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

            current: List<File>
        ): InvalidationReason? =
            when (val upToDatePrefix = countUpToDatePrefixOf(previous, current)) {
                previous.size -> {
                    val added = current.size - upToDatePrefix
                    when {
                        added == 1 -> "init script '${displayNameOf(current[upToDatePrefix])}' has been added"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top