Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for Natchev (0.29 sec)

  1. okhttp/src/test/java/okhttp3/InterceptorTest.kt

        if (network) {
          builder.addNetworkInterceptor(interceptor)
        } else {
          builder.addInterceptor(interceptor)
        }
        client = builder.build()
      }
    
      /** Catches exceptions that are otherwise headed for the uncaught exception handler.  */
      private class ExceptionCatchingExecutor :
        ThreadPoolExecutor(1, 1, 0, TimeUnit.SECONDS, SynchronousQueue()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

        enum-like constants. Application code that uses enum methods on cipher
        suites (`ordinal()`, `name()`, etc.) will break with this change.
    
     *  Fix: `CertificatePinner` now matches canonicalized hostnames. Previously
        this was case sensitive. This change should also make it easier to configure
        certificate pinning for internationalized domain names.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          var month = -1
          var year = -1
          val matcher = TIME_PATTERN.matcher(s)
    
          while (pos < limit) {
            val end = dateCharacterOffset(s, pos + 1, limit, true)
            matcher.region(pos, end)
    
            when {
              hour == -1 && matcher.usePattern(TIME_PATTERN).matches() -> {
                hour = matcher.group(1).toInt()
                minute = matcher.group(2).toInt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/text/MatcherMatchResult$groups$1;-><init>(Lkotlin/text/MatcherMatchResult;)V
    HSPLkotlin/text/MatcherMatchResult;-><init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V
    HSPLkotlin/text/MatcherMatchResult;->getRange()Lkotlin/ranges/IntRange;
    HSPLkotlin/text/Regex;-><init>(Ljava/lang/String;)V
    HSPLkotlin/text/Regex;->matches(Ljava/lang/CharSequence;)Z
    HSPLkotlin/text/StringsKt__StringNumberConversionsKt;->toIntOrNull(Ljava/lang/String;)Ljava/lang/Integer;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          "CallEnd",
        )
      }
    
      private fun assertBytesReadWritten(
        listener: RecordingEventListener,
        requestHeaderLength: Matcher<Long?>?,
        requestBodyBytes: Matcher<Long?>?,
        responseHeaderLength: Matcher<Long?>?,
        responseBodyBytes: Matcher<Long?>?,
      ) {
        if (requestHeaderLength != null) {
          val responseHeadersEnd = listener.removeUpToEvent<RequestHeadersEnd>()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CookieTest.kt

        assertThat(cookie.matches("http://square.com".toHttpUrl())).isFalse()
      }
    
      @Test fun idnDomainMatches() {
        val cookie = parse("http://☃.net/".toHttpUrl(), "a=b; domain=☃.net")
        assertThat(cookie!!.matches("http://☃.net/".toHttpUrl())).isTrue()
        assertThat(cookie.matches("http://xn--n3h.net/".toHttpUrl())).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  7. samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt

     * limitations under the License.
     */
    package okhttp3.compare
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import org.eclipse.jetty.client.HttpClient
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          expectFailure(platformMatches(LOOM_PROPERTY))
        }
    
        private fun expectFailure(
          versionMatcher: Matcher<out Any>,
          failureMatcher: Matcher<out Any> = anything(),
        ) {
          versionChecks.add(Pair(versionMatcher, failureMatcher))
        }
    
        fun platformMatches(platform: String): Matcher<Any> =
          object : BaseMatcher<Any>() {
            override fun describeTo(description: Description) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

              when (record.loggerName) {
                TaskRunner::class.java.name -> recordTaskRunner
                Http2::class.java.name -> recordFrames
                "javax.net.ssl" -> recordSslDebug && !sslExcludeFilter.matches(record.message)
                else -> false
              }
    
            if (recorded) {
              synchronized(clientEventsList) {
                clientEventsList.add(record.message)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
      }
    
      companion object {
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
Back to top