Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 594 for listOf (0.12 sec)

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

            }
        }
    
        private
        val reportedMembers = listOf(
            "Class" to "AddedClass"
        ) + reportedMembersFor("AddedClass") + listOf(
            "Constructor" to "AddedClass(java.lang.String)",
            "Constructor" to "AddedClass()",
            "Class" to "AddedEnum",
            "Field" to "FOO"
        ) + reportedMembersFor("AddedEnum", isEnum = true) + listOf(
            "Method" to "AddedEnum.valueOf(java.lang.String)",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/DocsTest.kt

        testJava: JvmCategory,
        testTypes: List<DocsTestType>
    ) : Project({
        id(asDocsTestId(model, os))
        name = "Docs Test - ${testJava.version.name.toCapitalized()} ${os.asName()}"
    }) {
        val docsTests: List<BaseGradleBuildType>
    
        init {
            docsTests = testTypes.flatMap {
                listOf(
                    DocsTest(model, stage, os, testJava, 1, it, INCLUDE, listOf("org.gradle.docs.samples.Bucket1SnippetsTest=docsTest")),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/settings/SettingsBlockCheckTest.kt

                """.trimIndent()
            )
    
            assertEquals(listOf("foo()", "bar()", "plugins { id(\"x\") }"), result.map { it.location.sourceData.text() })
            assertTrue(result.all { it.reason == DocumentCheckFailureReason.PluginManagementBlockOrderViolated })
        }
    
        private
        fun EvaluationSchema.runChecks(code: String): List<DocumentCheckFailure> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-plugins/src/test/kotlin/org/gradle/kotlin/dsl/plugins/dsl/ExperimentalCompilerWarningSilencerTest.kt

            val silencer = ExperimentalCompilerWarningSilencer(listOf("SOME"))
    
            val message = "Hello, World!"
            val rewritten = silencer.rewrite(LogLevel.WARN, message)
    
            assertThat(rewritten, equalTo(message))
        }
    
        @Test
        fun `silences unsafe internal compiler arguments`() {
            val silencer = ExperimentalCompilerWarningSilencer(listOf("-XXLanguage:+DisableCompatibilityModeForNewInference"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

              issuer = (it[3] as Pair<*, *>).second as List<List<AttributeTypeAndValue>>,
              validity = it[4] as Validity,
              subject = (it[5] as Pair<*, *>).second as List<List<AttributeTypeAndValue>>,
              subjectPublicKeyInfo = it[6] as SubjectPublicKeyInfo,
              issuerUniqueID = it[7] as BitString?,
              subjectUniqueID = it[8] as BitString?,
              extensions = it[9] as List<Extension>,
            )
          },
        )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        // Make sure we have enough connection options to permit retries.
        dnsResults =
          listOf(
            localhostIpv4,
            localhostIpv6,
            TestUtil.UNREACHABLE_ADDRESS_IPV4.address,
          )
        serverIpv4.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
        serverIpv6.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
    
        // Yield the first IP address so the second IP address completes first.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/SimpleAnalysisDemo.kt

    import org.gradle.internal.declarativedsl.schemaBuilder.schemaFromTypes
    
    
    val schema = schemaFromTypes(
        topLevelReceiver = Abc::class,
        types = listOf(Abc::class, C::class, D::class),
        externalFunctions = listOf(::newD),
        defaultImports = listOf(DefaultFqName("com.example", "newD"))
    )
    
    
    object SimpleAnalysisDemo {
        @JvmStatic
        fun main(args: Array<String>) {
            printResolutionResults(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/cpp/cppLibrary/kotlin/build.gradle.kts

    }
    // end::dependency-management[]
    
    // tag::configure-target-machines[]
    library {
        targetMachines = listOf(machines.linux.x86_64,
            machines.windows.x86, machines.windows.x86_64,
            machines.macOS.x86_64)
    }
    // end::configure-target-machines[]
    
    // tag::configure-linkages[]
    library {
        linkage = listOf(Linkage.STATIC, Linkage.SHARED)
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 598 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/scala/customizedLayout/kotlin/build.gradle.kts

        testImplementation("junit:junit:4.13")
    }
    
    // tag::custom-source-locations[]
    sourceSets {
        main {
            scala {
                setSrcDirs(listOf("src/scala"))
            }
        }
        test {
            scala {
                setSrcDirs(listOf("test/scala"))
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 455 bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt

            assertThat(
                invalidationReasonForInitScriptsChange(
                    from = listOf(
                        File("init.gradle.kts") to TestHashCodes.hashCodeFrom(1),
                        File("unchanged.gradle.kts") to TestHashCodes.hashCodeFrom(1)
                    ),
                    to = listOf(
                        File("init.gradle.kts") to TestHashCodes.hashCodeFrom(2),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top