Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for Continue (0.19 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

      while (!exhausted()) {
        // Skip comment and empty lines.
        when (select(optionsDelimiter)) {
          DELIMITER_HASH -> {
            skipRestOfLine()
            continue
          }
    
          DELIMITER_NEWLINE -> {
            continue
          }
    
          DELIMITER_DOT, DELIMITER_SPACE, DELIMITER_SEMICOLON -> {
            throw IOException("unexpected delimiter")
          }
        }
    
        // "002F" or "0000..002C"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

      private val bytesIn = Buffer()
      private val hpackReader = Hpack.Reader(bytesIn, 4096)
    
      protected fun testDecoder(story: Story) {
        for (testCase in story.cases) {
          val encoded = testCase.wire ?: continue
          bytesIn.write(encoded)
          hpackReader.readHeaders()
          assertSetEquals(
            "seqno=$testCase.seqno",
            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

          val equalsSign = header.delimiterOffset('=', pos, pairEnd)
          val name = header.trimSubstring(pos, equalsSign)
          if (name.startsWith("$")) {
            pos = pairEnd + 1
            continue
          }
    
          // We have either name=value or just a name.
          var value =
            if (equalsSign < pairEnd) {
              header.trimSubstring(equalsSign + 1, pairEnd)
            } else {
              ""
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

          eventSequence.forEach loop@{
            when (e.closes(it)) {
              null -> return // no open event
              true -> return // found open event
              false -> return@loop // this is not the open event so continue
            }
          }
          Assertions.fail<Any>("event $e without matching start event")
        }
      }
    
      override fun connectStart(
        route: Route,
        call: Call,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

          var totalExceptionRuleBytes = 0
    
          fileSystem.source(publicSuffixListDotDat).buffer().use { source ->
            while (!source.exhausted()) {
              var rule: ByteString = source.readUtf8LineStrict().toRule() ?: continue
    
              if (rule.startsWith(EXCEPTION_RULE_MARKER)) {
                rule = rule.substring(1)
                // We use '\n' for end of value.
                totalExceptionRuleBytes += rule.size + 1
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 18 01:24:38 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

                if (complete) return -1L
    
                // Another thread is already reading. Wait for that.
                if (upstreamReader != null) {
                  timeout.waitUntilNotified(this@Relay)
                  continue
                }
    
                // We will do the read.
                upstreamReader = Thread.currentThread()
                return@synchronized SOURCE_UPSTREAM
              }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

                else -> {
                  connectionUser.acquireConnectionNoEvents(connection)
                  true
                }
              }
            }
          if (!acquired) continue
    
          // Confirm the connection is healthy and return it.
          if (connection.isHealthy(doExtensiveHealthChecks)) return connection
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

              testForbidden(codePoint, codePointString, component)
              continue
            }
            if (encoding == Encoding.PUNYCODE) {
              testPunycode(codePointString, component)
              continue
            }
            testEncodeAndDecode(codePoint, codePointString, component)
            if (encoding == Encoding.SKIP) continue
            testParseOriginal(codePoint, codePointString, encoding, component)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

                }
    
              val (_, nextPlan, failure) = connectResult
    
              if (failure != null) throw failure
              if (nextPlan != null) {
                routePlanner.deferredPlans.addFirst(nextPlan)
                continue
              }
            }
            return plan.handleSuccess()
          } catch (e: IOException) {
            if (firstException == null) {
              firstException = e
            } else {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt

          if (d1 != -1 && d2 != -1) {
            writeByte((d1 shl 4) + d2)
            i += 2
            i += Character.charCount(codePoint)
            continue
          }
        } else if (codePoint == '+'.code && plusIsSpace) {
          writeByte(' '.code)
          i++
          continue
        }
        writeUtf8CodePoint(codePoint)
        i += Character.charCount(codePoint)
      }
    }
    
    internal fun String.canonicalize(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top