Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 122 for Confirm (0.08 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

        )
        serverIpv4.enqueue(
          MockResponse(body = "this was the 2nd request on IPv4"),
        )
        serverIpv6.enqueue(
          MockResponse(body = "unexpected call to IPv6"),
        )
    
        // Confirm the retry succeeds on the same connection.
        val call = client.newCall(Request(url))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("this was the 2nd request on IPv4")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo(
          "CN=cash.app,OU=cash",
        )
      }
    
      /** Confirm golden values of encoded PEMs.  */
      @Test
      fun pems() {
        val keyFactory = KeyFactory.getInstance("RSA")
        val publicKeyBytes =
          (
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  3. .github/DISCUSSION_TEMPLATE/questions.yml

      - type: checkboxes
        id: checks
        attributes:
          label: First Check
          description: Please confirm and check all the following options.
          options:
            - label: I added a very descriptive title here.
              required: true
            - label: I used the GitHub search to find a similar question and didn't find it.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .method("POST", requestBody2)
            .build()
        val response2 = client.newCall(request2).execute()
        assertThat(response2.code).isEqualTo(200)
    
        // Use sequence numbers to confirm the connection was pooled.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 147.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/CompactHashMap.java

       * The following methods are safe to call as long as both of the following hold:
       *
       * - allocArrays() has been called. Callers can confirm this by checking needsAllocArrays().
       *
       * - The map has not switched to delegating to a java.util implementation to mitigate hash
       *   flooding. Callers can confirm this by null-checking delegateOrNull().
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

       */
      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
        assertThat(httpUrl.toUri().toString()).isEqualTo("http://example.com/")
      }
    
      /** Confirm that URI retains other characters. https://github.com/square/okhttp/issues/5236 */
      @Test
      fun hostToUriStripsCharacters2() {
        val httpUrl = "http://\${tracker}/".toHttpUrl()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        /*
         * Inputs are <every possible 10-character string of characters "a./">
         *
         * Expected outputs are generated by the code itself, but they've been
         * checked against the inputs under Bash in order to confirm that the two
         * forms are equivalent (though not necessarily minimal, though we hope this
         * to be the case). Thus, this test is more of a regression test.
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 11K bytes
    - Click Count (0)
  8. src/main/java/jcifs/netbios/NameServicePacket.java

             * Apparently readRDataWireFormat can return 0 if resultCode != 0 in
             * which case this will look indefinitely. Putting this else clause around
             * the loop might fix that. But I would need to see a capture to confirm.
             * if (resultCode != 0) {
             * srcIndex += rDataLength;
             * } else {
             */
            for (this.addrIndex = 0; srcIndex < end; this.addrIndex++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            /* Apparently readRDataWireFormat can return 0 if resultCode != 0 in
            which case this will look indefinitely. Putting this else clause around
            the loop might fix that. But I would need to see a capture to confirm.
            if (resultCode != 0) {
                srcIndex += rDataLength;
            } else {
            */
            for (addrIndex = 0; srcIndex < end; addrIndex++) {
                srcIndex += readRDataWireFormat(src, srcIndex);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

        assertThat(request.tag(String::class)).isSameAs(stringTag)
    
        // TODO check for Jvm or handle Long/long correctly
    //    assertThat(request.tag(Long::class)).isSameAs(longTag)
      }
    
      /** Confirm that we don't accidentally share the backing map between objects. */
      @Test
      fun tagsAreImmutable() {
        val builder =
          Request
            .Builder()
            .url("https://square.com")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top