Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 319 for listOf (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/InetAddressOrderTest.kt

        assertThat(result).isEqualTo(
          listOf(ipv6_ab),
        )
      }
    
      @Test fun singleIpv4() {
        val result = reorderForHappyEyeballs(listOf(ipv4_10_0_0_6))
    
        assertThat(result).isEqualTo(
          listOf(ipv4_10_0_0_6),
        )
      }
    
      @Test fun prioritiseIpv6() {
        val result = reorderForHappyEyeballs(listOf(ipv4_10_0_0_6, ipv6_ab))
    
        assertThat(result).isEqualTo(
          listOf(ipv6_ab, ipv4_10_0_0_6),
        )
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.Task.getIsFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method added to public class"),
                    "Method com.example.Task.isFailOnError(): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed"),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

            "Constructor" to "ExistingClass(java.lang.String)"
        ) + reportedMembersFor("ExistingClass${'$'}ExistingNestedClass") + listOf(
            "Constructor" to "ExistingClass${'$'}ExistingNestedClass()"
        ) + listOf(
            "Field" to "cathedral"
        ) + reportedMembersFor("SourceKt") + listOf(
            "Method" to "SourceKt.setValTurnedIntoVar(java.lang.String)"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

        listOf(
            listOf("0.0", "5.0"), // 0.0 <= version < 5.0
            listOf("5.0", "6.0"), // 5.0 <=version < 6.0
            listOf("6.0", "7.3"), // 6.0 <=version < 7.3
            listOf("7.3", "7.6"), // 7.3 <=version < 7.6
            listOf("7.6", "8.2"), // 7.6 <=version < 8.2
            listOf("8.2", "8.4"), // 8.2 <=version < 8.4
            listOf("8.4", "8.6"), // 8.4 <=version < 8.6
            listOf("8.6", "8.8"), // 8.6 <=version < 8.8
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 12 14:43:33 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        builder.interceptors().addAll(listOf(null) as List<Interceptor>)
        assertFailsWith<IllegalStateException> {
          builder.build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Null interceptor: [null]")
        }
      }
    
      @Test fun nullNetworkInterceptorInList() {
        val builder = OkHttpClient.Builder()
        builder.networkInterceptors().addAll(listOf(null) as List<Interceptor>)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 13.4K bytes
    - Click Count (1)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt

        }
    
        // Should not be pinned:
        certificatePinner.check("uk", listOf(certB1.certificate))
        certificatePinner.check("co.uk", listOf(certB1.certificate))
        certificatePinner.check("anotherexample.co.uk", listOf(certB1.certificate))
        certificatePinner.check("foo.anotherexample.co.uk", listOf(certB1.certificate))
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  7. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            val linuxPaths =
                listOf(
                    "%linux.java8.oracle.64bit%",
                    "%linux.java11.openjdk.64bit%",
                    "%linux.java17.openjdk.64bit%",
                    "%linux.java21.openjdk.64bit%",
                    "%linux.java25.openjdk.64bit%",
                    "%linux.java26.openjdk.64bit%",
                )
            val windowsPaths =
                listOf(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                    parameters = null,
                  ),
                issuer =
                  listOf(
                    listOf(
                      AttributeTypeAndValue(
                        type = countryName,
                        value = "US",
                      ),
                    ),
                    listOf(
                      AttributeTypeAndValue(
                        type = organizationName,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  9. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0000, 0x002c, TYPE_DISALLOWED_STD3_VALID, ByteString.EMPTY),
            ),
          ),
        ).containsExactly(
          Mapping(0x0000, 0x002c, TYPE_VALID, ByteString.EMPTY),
        )
      }
    
      @Test fun simplifyCombinesCanonicalEquivalent() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/model/License.kt

            "https://www.bouncycastle.org/licence.html",
            listOf("Bouncy Castle Licence"),
        ),
        EPL(
            "Eclipse Public License 1.0",
            "https://www.eclipse.org/legal/epl-v10.html",
            listOf("EPL-1.0", "Eclipse Public License v1.0"),
        ),
        EPL2(
            "Eclipse Public License 2.0",
            "https://www.eclipse.org/legal/epl-v20.html",
            listOf("EPL-2.0", "Eclipse Public License v2.0"),
        ),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 13:24:46 GMT 2026
    - 3.9K bytes
    - Click Count (0)
Back to Top