Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 136 for listOf (0.35 sec)

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

        override val parameters: List<DataParameter>
            get() = listOf(dataParameter)
    }
    
    
    @Serializable
    @SerialName("dataTopLevelFunction")
    data class DefaultDataTopLevelFunction(
        override val packageName: String,
        override val simpleName: String,
        override val parameters: List<DataParameter>,
        override val semantics: Pure,
    ) : DataTopLevelFunction
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

            arrayOf(::PluginRuntimeAnnotationsProvider)
    }
    
    abstract class AbstractCompilerFacilityTest : AbstractAnalysisApiBasedTest() {
        private companion object {
            private val ALLOWED_ERRORS = listOf(
                FirErrors.INVISIBLE_REFERENCE,
                FirErrors.INVISIBLE_SETTER,
                FirErrors.DEPRECATION_ERROR,
                FirErrors.DIVISION_BY_ZERO,
                FirErrors.OPT_IN_USAGE_ERROR,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/GroovyInteroperabilityTest.kt

    import org.junit.Test
    import java.util.Locale
    
    
    class GroovyInteroperabilityTest {
    
        @Test
        fun `can use closure with single argument call`() {
            val list = arrayListOf<Int>()
            closureOf<MutableList<Int>> { add(42) }.call(list)
            assertEquals(42, list.first())
        }
    
        @Test
        fun `can use closure with single nullable argument call`() {
            var passedIntoClosure: Any? = "Something non null"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

        }
    
        override fun getDirectSuperTypes(type: KaType, shouldApproximate: Boolean): List<KaType> {
            require(type is KaFe10Type)
            return TypeUtils.getImmediateSupertypes(type.fe10Type).map { it.toKtType(analysisContext) }
        }
    
        override fun getAllSuperTypes(type: KaType, shouldApproximate: Boolean): List<KaType> {
            require(type is KaFe10Type)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/api/standalone/StandaloneAnalysisAPISessionBuilder.kt

                projectDisposable,
                KotlinCoreApplicationEnvironmentMode.fromUnitTestModeFlag(unitTestMode),
                classLoader = classLoader
            )
    
        private val serviceRegistrars = listOf(FirStandaloneServiceRegistrar, StandaloneSessionServiceRegistrar)
    
        init {
            val application = kotlinCoreProjectEnvironment.environment.application
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

    }
    
    
    internal
    class SamplesBaseDirPropertyProvider(@InputDirectory @PathSensitive(PathSensitivity.RELATIVE) val autoTestedSamplesDir: Directory) : CommandLineArgumentProvider {
        override fun asArguments() = listOf("-DdeclaredSampleInputs=${autoTestedSamplesDir.asFile.absolutePath}")
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

            )
    
          return HeldCertificate(subjectKeyPair, certificate.toX509Certificate())
        }
    
        private fun subject(): List<List<AttributeTypeAndValue>> {
          val result = mutableListOf<List<AttributeTypeAndValue>>()
    
          if (organizationalUnit != null) {
            result +=
              listOf(
                AttributeTypeAndValue(
                  type = ORGANIZATIONAL_UNIT_NAME,
                  value = organizationalUnit,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluatorTest.kt

                    ProgramTarget.Project
                ),
                isResidualProgram(
                    Static(
                        SetupEmbeddedKotlin,
                        ApplyPluginRequests(
                            listOf(PluginRequestSpec("plugin-id")),
                            source = program
                        ),
                        ApplyBasePlugins
                    )
                )
            )
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 38.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/GeneratePluginSpecBuilderAccessors.kt

            }
        }
    }
    
    
    private
    fun defaultPackageTypesIn(pluginDependencySpecAccessors: List<PluginDependencySpecAccessor>) =
        defaultPackageTypesIn(
            pluginImplementationClassesExposedBy(pluginDependencySpecAccessors)
        )
    
    
    private
    fun pluginImplementationClassesExposedBy(pluginDependencySpecAccessors: List<PluginDependencySpecAccessor>) =
        pluginDependencySpecAccessors
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    }
    
    /** Returns an immutable copy of this. */
    internal fun <T> List<T>.toImmutableList(): List<T> {
      return Collections.unmodifiableList(toMutableList())
    }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> {
      return Collections.unmodifiableList(listOf(*elements.clone()))
    }
    
    /** Closes this, ignoring any checked exceptions. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top