Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for Pounds (0.14 sec)

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

      }
    
      fun assertFailure(vararg allowedExceptionTypes: Class<*>) =
        apply {
          var found = false
          for (expectedClass in allowedExceptionTypes) {
            if (expectedClass.isInstance(failure)) {
              found = true
              break
            }
          }
          assertThat(
            found,
            "Expected exception type among ${allowedExceptionTypes.contentToString()}, got $failure",
          ).isTrue()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

            val b0b1 = sections.read14BitInt(entryIndex)
            return@binarySearch target.compareTo(b0b1)
          }
    
        return when {
          offset >= 0 -> offset * 4 // This section was found by binary search.
          else -> (-offset - 2) * 4 // Not found? Use the preceding element.
        }
      }
    
      /**
       * Binary search [ranges] for [codePoint], looking at its bottom 7 bits.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

              message.startsWith("Consuming ") -> Type.Handshake
              message.startsWith("Produced ") -> Type.Handshake
              message.startsWith("Negotiated ") -> Type.Handshake
              message.startsWith("Found resumable session") -> Type.Handshake
              message.startsWith("Resuming session") -> Type.Handshake
              message.startsWith("Using PSK to derive early secret") -> Type.Handshake
              else -> Type.Unknown
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

                }
              }
            }
    
            if (compareResult < 0) {
              high = mid - 1
            } else if (compareResult > 0) {
              low = mid + end + 1
            } else {
              // We found a match, but are the lengths equal?
              val publicSuffixBytesLeft = publicSuffixLength - publicSuffixByteIndex
              var labelBytesLeft = labels[currentLabelIndex].size - currentLabelByteIndex
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

     */
    internal fun String.commonToMediaType(): MediaType {
      val typeSubtype: MatchResult =
        TYPE_SUBTYPE.matchAtPolyfill(this, 0)
          ?: throw IllegalArgumentException("No subtype found for: \"$this\"")
      val type = typeSubtype.groupValues[1].lowercase()
      val subtype = typeSubtype.groupValues[2].lowercase()
    
      val parameterNamesAndValues = mutableListOf<String>()
      var s = typeSubtype.range.last + 1
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

    import java.net.HttpURLConnection.HTTP_MOVED_TEMP
    import java.net.HttpURLConnection.HTTP_MULT_CHOICE
    import java.net.HttpURLConnection.HTTP_NOT_AUTHORITATIVE
    import java.net.HttpURLConnection.HTTP_NOT_FOUND
    import java.net.HttpURLConnection.HTTP_NOT_IMPLEMENTED
    import java.net.HttpURLConnection.HTTP_NO_CONTENT
    import java.net.HttpURLConnection.HTTP_OK
    import java.net.HttpURLConnection.HTTP_REQ_TOO_LONG
    import java.util.Date
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

    }
    
    /**
     * Builds the Junit Test Engine for the native image.
     */
    fun buildTestEngine(): TestEngine = JupiterTestEngine()
    
    /**
     * Returns a fixed set of test classes from testlist.txt, skipping any not found in the
     * current classpath.  The IDE runs with less classes to avoid conflicting module ownership.
     */
    fun testSelectors(inputFile: File? = null): List<DiscoverySelector> {
      val sampleTestClass = SampleTest::class.java
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

              // Consuming ServerHello handshake message
              // Consuming server Certificate handshake message
              // Consuming server CertificateStatus handshake message
              // Found trusted certificate
              // Consuming ECDH ServerKeyExchange handshake message
              // Consuming ServerHelloDone handshake message
              // Produced ECDHE ClientKeyExchange handshake message
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  9. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

      queue: TaskQueue,
      message: String,
    ) {
      fine("${queue.name} ${String.format("%-22s", message)}: ${task.name}")
    }
    
    /**
     * Returns a duration in the nearest whole-number units like "999 µs" or "  1 s ". This rounds 0.5
     * units away from 0 and 0.499 towards 0. The smallest unit this returns is "µs"; the largest unit
     * it returns is "s". For values in [-499..499] this returns "  0 µs".
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

      @Test fun testInvalidParse() {
        assertInvalid("", "No subtype found for: \"\"")
        assertInvalid("/", "No subtype found for: \"/\"")
        assertInvalid("text", "No subtype found for: \"text\"")
        assertInvalid("text/", "No subtype found for: \"text/\"")
        assertInvalid("te<t/plain", "No subtype found for: \"te<t/plain\"")
        assertInvalid(" text/plain", "No subtype found for: \" text/plain\"")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top