Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 195 for listOf (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

                    equalTo(42)
                )
                assertThat(
                    bean.writeOrder,
                    equalTo(listOf("superclass", "subclass"))
                )
                assertThat(
                    bean.readOrder,
                    equalTo(listOf("superclass", "subclass"))
                )
            }
        }
    
        @Test
        fun `can handle writeObject without readObject`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/build.gradle.kts

        useJUnitPlatform()
    }.also { confugureFirPluginAnnotationsDependency(it) }
    
    testsJar()
    
    allprojects {
        tasks.withType<KotlinJvmCompile>().configureEach {
            compilerOptions.optIn.addAll(
                listOf(
                    "org.jetbrains.kotlin.fir.symbols.SymbolInternals",
                    "org.jetbrains.kotlin.analysis.api.permissions.KaAllowProhibitedAnalyzeFromWriteAction"
                )
            )
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescDefaultPropertySetterSymbol.kt

        override val hasBody: Boolean
            get() = withValidityAssertion { false }
    
        override val valueParameters: List<KaValueParameterSymbol>
            get() = withValidityAssertion { listOf(parameter) }
    
        override val hasStableParameterNames: Boolean
            get() = withValidityAssertion { true }
    
        override val callableId: CallableId?
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

        }
    
        protected
        fun assertHasMisorderedChanges(changes: List<Change>? = null) {
            val standardError = StringWriter()
            run(":verifyAcceptedApiChangesOrdering")
                .forwardStdError(standardError)
                .buildAndFail()
    
            val files = listOf(firstAcceptedApiChangesFile, secondAcceptedApiChangesFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                                ]
                            }
                        ]
                    }
                """.trimIndent()
            )
    
            assertHasMisorderedChanges(
                listOf(
                    Change("org.gradle.api.tasks.AbstractExecTask", "Method org.gradle.api.tasks.AbstractExecTask.getExecResult()"),
                    Change("org.gradle.api.AntBuilder", "Class org.gradle.api.AntBuilder"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeProvider/AbstractHasCommonSubtypeTest.kt

        private class TestHelperProvider(testServices: TestServices) : AdditionalSourceProvider(testServices) {
            override fun produceAdditionalFiles(globalDirectives: RegisteredDirectives, module: TestModule): List<TestFile> {
                return listOf(File("analysis/analysis-api/testData/helpers/hasCommonSubtype/helpers.kt").toTestFile())
            }
        }
    
        private val PsiElement.positionString: String
            get() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            }
        }
    
        private fun computeTargetModules(module: KtModule): List<KtModule> {
            return when (module) {
                is KtDanglingFileModule -> listOf(module.contextModule, module)
                else -> listOf(module)
            }
        }
    
        private fun runFir2Ir(
            session: LLFirSession,
            firFiles: List<FirFile>,
            fir2IrExtensions: Fir2IrExtensions,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 08:42:45 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

            )
        }
    
        private
        fun packageHeader(tree: CachingLightTree, node: LighterASTNode): List<FailingResult> =
            when {
                tree.children(node).isNotEmpty() -> listOf(tree.unsupportedNoOffset(node, node, UnsupportedLanguageFeature.PackageHeader))
                else -> listOf()
            }
    
        private
        fun import(tree: CachingLightTree, node: LighterASTNode): ElementResult<Import> =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/DeclarativeKotlinScriptEvaluator.kt

            return when (val built = schemaBuilder.getEvaluationSchemaForScript(scriptContext)) {
                InterpretationSchemaBuildingResult.SchemaNotBuilt -> NotEvaluated(listOf(NoSchemaAvailable(scriptContext)), ConversionStepResult.CannotRunStep)
                is InterpretationSchemaBuildingResult.InterpretationSequenceAvailable -> runInterpretationSequence(scriptSource, built.sequence, target)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:40 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

        }
    
        private fun createScopesWithKind(firScopes: Iterable<IndexedValue<FirScope>>): List<KaScopeWithKind> {
            return firScopes.map { (index, firScope) ->
                KaScopeWithKind(convertToKtScope(firScope), getScopeKind(firScope, index), token)
            }
        }
    
        private fun flattenFirScope(firScope: FirScope): List<FirScope> = when (firScope) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top