Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,989 for it (0.51 sec)

  1. docs/en/docs/async.md

    But all this functionality of using asynchronous code with `async` and `await` is many times summarized as using "coroutines". It is comparable to the main key feature of Go, the "Goroutines".
    
    ## Conclusion
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt

      val call = okHttpClient.newCall(Request(url.toHttpUrl()))
    
      val suites =
        call.executeAsync().use {
          if (!it.isSuccessful) {
            throw IOException("Failed ${it.code} ${it.message}")
          }
          it.body.string().lines()
            .mapNotNull { parseIanaCsvRow(it) }
        }
    
      return IanaSuites("current", suites)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                    handleAsFunctionCall(this, unwrappedPsi)?.toKtCallCandidateInfos()?.let { return@with it }
                }
    
                val resolutionScope = unwrappedPsi.getResolutionScope(this) ?: return emptyList()
                val call = unwrappedPsi.getCall(this)?.let {
                    if (it is CallTransformer.CallForImplicitInvoke) it.outerCall else it
                } ?: return emptyList()
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

        this?.takeIf { it.isNotEmpty() }
            ?.joinToString(separator = ", ", prefix = "<", postfix = ">", transform = transform)
            ?: ""
    
    
    private
    val ApiTypeUsage.isGroovyNamedArgumentMap
        get() = isMap && (
            typeArguments.all { it.isAny }
                || typeArguments.all { it.isStarProjectionTypeUsage }
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

      /**
       * This is mutable and order matters. By default, it contains [IPv4, IPv6]. Tests may manipulate
       * it to prefer IPv6.
       */
      private var dnsResults = listOf<InetAddress>()
    
      @BeforeEach
      internal fun setUp() {
        val inetAddresses = InetAddress.getAllByName("localhost")
        localhostIpv4 = inetAddresses.firstOrNull { it is Inet4Address }
          ?: throw TestAbortedException()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. native-image-tests/src/test/kotlin/okhttp3/nativeImage/NativeImageTestsTest.kt

        val x = findTests(testSelector)
    
        x.find { it is ClassBasedTestDescriptor && it.testClass == SampleTest::class.java }
      }
    
      @Test
      fun testFindsModuleTests() {
        val testSelector = DiscoverySelectors.selectPackage("okhttp3")
        val x = findTests(listOf(testSelector))
    
        x.find { it is ClassBasedTestDescriptor && it.testClass == SampleTest::class.java }
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/sql-databases-peewee.md

    !!! tip
        This will just make Peewee behave correctly when used with FastAPI. Not randomly opening or closing connections that are being used, creating errors, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. .github/workflows/CheckBadMerge.groovy

                .readLines()
                .collect { it.replace("*", "") } // remove the * from the current branch, e.g. * master -> master
                .collect { it.trim() }
                .grep { !it.isEmpty() }
        }
    
        static List<String> parentCommitsOf(String commit) {
            return getStdout("git show --format=%P --no-patch $commit")
                .split(" ").collect { it.trim() }.grep { !it.isEmpty() }
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

                    FunctionalTestBucket(it as JSONObject).toBuildTypeBucket(model.subprojects)
                }
    
                // Sometimes people may add new subproject into `subprojects.json`
                // in this case we have no historical test running time, so we simply add these subprojects into first available bucket
                val allSubprojectsInBucketJson = buckets.flatMap { it.subprojects.map { it.name } }.toSet()
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Jan 18 05:14:09 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. internal/cachevalue/cache.go

    // This file is part of MinIO Object Storage stack
    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top