Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 395 for Hatch (0.16 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirReferenceResolver.kt

            return allowAnalysisOnEdt {
                allowAnalysisFromWriteAction {
                    val resolveToPsiElements = try {
                        analyze(ref.expression) { ref.getResolvedToPsi(this) }
                    } catch (e: Exception) {
                        if (shouldIjPlatformExceptionBeRethrown(e)) throw e
    
                        errorWithAttachment("Unable to resolve reference ${ref.element::class}", cause = e) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Sep 01 12:20:03 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
                try {
                  ready.countDown()
                  waiting.await()
                } catch (e: InterruptedException) {
                  throw AssertionError()
                }
                throw IOException()
              },
            )
            .build()
        val a1 = client.newCall(newRequest("http://a/1"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_1x.md

     * Fix: Exhaust the underlying stream when reading gzip streams.
     * Fix: Support the `PATCH` method.
     * Fix: Support request bodies on `DELETE` method.
     * Fix: Drop the `okhttp-protocols` module.
     * Internal: Replaced internal byte array buffers with pooled buffers ("OkBuffer").
    
    
    ## Version 1.3.0
    
    _2014-01-11_
    
     * New: Support for "PATCH" HTTP method in client and MockWebServer.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

                listener.cacheMiss(call)
              }
            }
          }
    
          if (HttpMethod.invalidatesCache(networkRequest.method)) {
            try {
              cache.remove(networkRequest)
            } catch (_: IOException) {
              // The cache cannot be written.
            }
          }
        }
    
        return response
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompileTimeConstantProvider.kt

                fir is FirPropertyAccessExpression || fir is FirExpression || fir is FirNamedReference -> {
                    try {
                        FirCompileTimeConstantEvaluator.evaluateAsKtConstantValue(fir, mode)
                    } catch (e: ArithmeticException) {
                        KtConstantValue.KtErrorConstantValue(e.localizedMessage, sourcePsi)
                    }
                }
                // For invalid code like the following,
                // ```
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

            mostRecentSnapshot = releasedVersions.latestReleaseSnapshot.gradleVersion()
    
            val testedVersions = previousVersions.filter { it.gradleVersion() >= lowestTestedVersion }
            // Only use latest patch release of each Gradle version
            allTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) }
                .groupBy { "${it.major}.${it.minor}" }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

        println("Testing ${dns.url}")
        for (host in names) {
          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
            println(results)
          } catch (uhe: UnknownHostException) {
            var e: Throwable? = uhe
            while (e != null) {
              println(e)
              e = e.cause
            }
          }
        }
        println()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

          }
          add(buildChantra(client))
        }
      }
    
      private fun getByIp(host: String): InetAddress {
        return try {
          InetAddress.getByName(host)
        } catch (e: UnknownHostException) {
          // unlikely
          throw RuntimeException(e)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 3.8K bytes
    - Viewed (3)
  9. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        for (path in fileSystem.list(testCaseDirectory)) {
          val story00 = path / "story_00.json"
          if (!fileSystem.exists(story00)) continue
          try {
            readStory(story00)
            result.add(path.name)
          } catch (ignored: IOException) {
            // Skip this path.
          }
        }
        return result.toTypedArray<String>()
      }
    
      /**
       * Reads stories named "story_xx.json" from the folder provided.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.openjsse.net.ssl.OpenJSSE", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
    
        fun buildIfSupported(): OpenJSSEPlatform? = if (isSupported) OpenJSSEPlatform() else null
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top