Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for 3005 (0.84 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        callback.assertPing("Hello".encodeUtf8())
      }
    
      @Test fun emptyCloseCallsCallback() {
        data.write("8800".decodeHex()) // Empty close
        clientReader.processNextFrame()
        callback.assertClosing(1005, "")
      }
    
      @Test fun closeLengthOfOneThrows() {
        data.write("880100".decodeHex()) // Close with invalid 1-byte payload
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  2. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://ExAmPlE.CoM http://other.com/ s:http p:/ h:example.com
    
    # Spaces should fail
    http://example\sexample.com
    
    # This should fail
    http://Goo%20\sgoo%7C|.com
    
    # U+3000 is mapped to U+0020 (space) which is disallowed
    http://GOO\u00a0\u3000goo.com
    
    # Other types of space (no-break, zero-width, zero-width-no-break) are
    # name-prepped away to nothing.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        client.processNextFrame()
        client.listener.assertClosing(1005, "")
        client.webSocket!!.finishReader()
        assertThat(client.webSocket!!.close(1000, "Bye!")).isTrue()
        server.processNextFrame()
        server.listener.assertClosing(1000, "Bye!")
        server.webSocket!!.finishReader()
        client.listener.assertClosed(1005, "")
      }
    
      @Test
      fun clientCloseClosesConnection() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  4. maven-core/src/site/apt/offline-mode.apt

    ~~ specific language governing permissions and limitations
    ~~ under the License.
    
      ---
      Offline Mode Design
      ---
      John Casey
      ---
      2005-04-08
      ---
    
    Offline Mode Design
    
    * UPDATE: 18-April-2005
    
      We cannot take the approach outlined below of detecting which remote
      repositories are "really" offline, since offline mode is more of a behavior,
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

          HeldCertificate.Builder()
            .serialNumber(200L)
            .build()
        val certB1Sha256Pin = pin(certB1.certificate)
        val certC1 =
          HeldCertificate.Builder()
            .serialNumber(300L)
            .build()
        val certC1Sha1Pin = "sha1/" + certC1.certificate.sha1Hash().base64()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/apache/maven/maven-parent/4/maven-parent-4.pom

    <?xml version="1.0" encoding="UTF-8"?>
    
    <!--
      ~ Copyright 2005-2006 The Apache Software Foundation.
      ~
      ~ Licensed under the Apache License, Version 2.0 (the "License");
      ~ you may not use this file except in compliance with the License.
      ~ You may obtain a copy of the License at
      ~
      ~      http://www.apache.org/licenses/LICENSE-2.0
      ~
      ~ Unless required by applicable law or agreed to in writing, software
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 9.8K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        }
    
        assertThat(buffer.readByteString()).isEqualTo("0D04c27B0302".decodeHex())
      }
    
      @Test fun `decode raw sequence`() {
        val buffer =
          Buffer()
            .write("300A".decodeHex())
            .write("1505".decodeHex())
            .write("Smith".encodeUtf8())
            .write("01".decodeHex())
            .write("01".decodeHex())
            .write("FF".decodeHex())
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        assertThat(log).containsExactly("run@100000", "run@150000")
    
        taskFaker.advanceUntil(299.µs)
        assertThat(log).containsExactly("run@100000", "run@150000")
    
        taskFaker.advanceUntil(300.µs)
        assertThat(log).containsExactly("run@100000", "run@150000", "run@300000")
    
        taskFaker.assertNoMoreTasks()
    
        assertThat(testLogHandler.takeAll()).containsExactly(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
  9. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
            val request = Request.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  10. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/4/maven-parent-4.pom

    <?xml version="1.0" encoding="UTF-8"?>
    
    <!--
      ~ Copyright 2005-2006 The Apache Software Foundation.
      ~
      ~ Licensed under the Apache License, Version 2.0 (the "License");
      ~ you may not use this file except in compliance with the License.
      ~ You may obtain a copy of the License at
      ~
      ~      http://www.apache.org/licenses/LICENSE-2.0
      ~
      ~ Unless required by applicable law or agreed to in writing, software
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Sat Nov 09 12:45:14 GMT 2019
    - 9.8K bytes
    - Viewed (0)
Back to top