Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 405 for listOf (0.19 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

        val propertyNames =
            if (hasIsGetterName) listOf(method.name)
            else {
                val prefixRemoved = method.name.drop(3)
                if (hasSetterName && isBoolean) listOf("is$prefixRemoved", prefixRemoved.decapitalize())
                else listOf(prefixRemoved.decapitalize())
            }
    
        val propertyQualifiedNames =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http/ExternalHttp2Example.kt

    import okhttp3.Protocol
    import okhttp3.Request
    
    object ExternalHttp2Example {
      @JvmStatic
      fun main(args: Array<String>) {
        val client =
          OkHttpClient.Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url("https://www.google.ca/")
              .build(),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/DoubleInetAddressDns.kt

     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
        return listOf(addresses[0], addresses[0])
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. android-test-app/build.gradle.kts

      }
    
      buildTypes {
        release {
          isShrinkResources = true
          isMinifyEnabled = true
          signingConfig = signingConfigs.getByName("debug")
          setProguardFiles(listOf(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"))
          testProguardFiles("test-proguard-rules.pro")
        }
      }
    }
    
    dependencies {
      implementation(libs.playservices.safetynet)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/CompileAll.kt

            publishBuildStatusToGithub(model)
        }
    
        applyDefaults(
            model,
            this,
            "compileAllBuild -PignoreIncomingBuildReceipt=true -DdisableLocalCache=true",
            extraParameters = listOf(
                stage.getBuildScanCustomValueParam(),
                buildScanTagParam("CompileAll"),
                "-Porg.gradle.java.installations.auto-download=false",
            ).joinToString(" ")
        )
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                }
            }
    
            fun assertProjectAreSplitByGradleVersionCorrectly(buckets: List<List<String>>, testType: TestType, functionalTests: List<BaseGradleBuildType>) {
                buckets.forEachIndexed { index: Int, startEndVersion: List<String> ->
                    assertTrue(functionalTests[index].name.contains("(${startEndVersion[0]} <= gradle <${startEndVersion[1]})"))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

     */
    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
        findTests(listOf(testSelector))
          .filter { it.isContainer }
          .mapNotNull { (it as? ClassBasedTestDescriptor)?.testClass?.name }
          .filterNot { it in avoidedTests }
          .sorted()
          .distinct()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt

    @Implements(DnsResolver::class)
    class ShadowDnsResolver {
      var responder: (Request) -> Unit = {
        it.callback.onAnswer(listOf(), 0)
      }
    
      data class Request(
        val network: Network?,
        val domain: String,
        val nsType: Int,
        val flags: Int,
        val callback: DnsResolver.Callback<List<InetAddress>>,
      )
    
      @Implementation
      fun query(
        network: Network?,
        domain: String,
        nsType: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 22 20:07:09 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. native-image-tests/src/main/kotlin/okhttp3/SampleTest.kt

        }
      }
    
      @ParameterizedTest
      @ArgumentsSource(SampleTestProvider::class)
      fun testParams(mode: String) {
      }
    }
    
    class SampleTestProvider : SimpleProvider() {
      override fun arguments() = listOf("A", "B")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Handshake.kt

      @get:JvmName("cipherSuite") val cipherSuite: CipherSuite,
      /** Returns a possibly-empty list of certificates that identify this peer. */
      @get:JvmName("localCertificates") val localCertificates: List<Certificate>,
      // Delayed provider of peerCertificates, to allow lazy cleaning.
      peerCertificatesFn: () -> List<Certificate>,
    ) {
      /** Returns a possibly-empty list of certificates that identify the remote peer. */
      @get:JvmName("peerCertificates")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top