Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for 1035 (0.02 sec)

  1. 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() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/bufio/example_test.go

    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = bufio.ScanWords(data, atEOF)
    		if err == nil && token != nil {
    			_, err = strconv.ParseInt(string(token), 10, 32)
    		}
    		return
    	}
    	// Set the split function for the scanning operation.
    	scanner.Split(split)
    	// Validate the input
    	for scanner.Scan() {
    		fmt.Printf("%s\n", scanner.Text())
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. docs/en/docs/img/tutorial/bigger-applications/package.drawio

                    </mxCell>
                    <mxCell id="5" value="" style="rounded=0;whiteSpace=wrap;html=1;fontStyle=1;strokeWidth=4;" parent="1" vertex="1">
                        <mxGeometry x="1030" y="430" width="400" height="260" as="geometry"/>
                    </mxCell>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val CLOSE_CLIENT_GOING_AWAY = 1001
    
      /** Used when an empty close frame was received (i.e., without a status code). */
      internal const val CLOSE_NO_STATUS_CODE = 1005
    
      fun toggleMask(
        cursor: Buffer.UnsafeCursor,
        key: ByteArray,
      ) {
        var keyIndex = 0
        val keyLength = key.size
        do {
          val buffer = cursor.data
          var i = cursor.start
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/body-updates.md

    ```Python hl_lines="28-33"
    {!> ../../docs_src/body_updates/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="30-35"
    {!> ../../docs_src/body_updates/tutorial001_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.6+
    
    ```Python hl_lines="30-35"
    {!> ../../docs_src/body_updates/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

            "custom-key", "custom-value",
          ),
        )
      }
    
      @Test
      fun readSingleByteInt() {
        assertThat(newReader(byteStream()).readInt(10, 31)).isEqualTo(10)
        assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10)
      }
    
      @Test
      fun readMultibyteInt() {
        assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337)
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. .bazelrc

    build:release_macos_x86 --config=avx_linux
    build:release_macos_x86 --cpu=darwin
    # Target Catalina as the minimum compatible OS version
    build:release_macos_x86 --macos_minimum_os=10.15
    build:release_macos_x86 --action_env MACOSX_DEPLOYMENT_TARGET=10.15
    
    # Build configs for macOS Arm64
    build:release_macos_arm64 --config=release_macos_base
    build:release_macos_arm64 --cpu=darwin_arm64
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/request-files.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="8  13"
    {!> ../../docs_src/request_files/tutorial002_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/request_files/tutorial002.py!}
    ```
    
    ////
    
    接收的也是含 `bytes` 或 `UploadFile` 的列表(`list`)。
    
    
    /// note | "技术细节"
    
    也可以使用 `from starlette.responses import HTMLResponse`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/tls/README.md

    `certgen` is a simple *Go* tool to generate self-signed certificates, and provides SAN certificates with DNS and IP entries:
    
    ```sh
    ./certgen -host "10.10.0.3,10.10.0.4,10.10.0.5"
    ```
    
    A response similar to this one should be displayed:
    
    ```
    2018/11/21 10:16:18 wrote public.crt
    2018/11/21 10:16:18 wrote private.key
    ```
    
    ### 3.2 Use OpenSSL to Generate a Certificate
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/request-files.md

    ```
    
    ## 💗 📁 📂
    
    ⚫️ 💪 📂 📚 📁 🎏 🕰.
    
    👫 🔜 👨‍💼 🎏 "📨 🏑" 📨 ⚙️ "📨 💽".
    
    ⚙️ 👈, 📣 📇 `bytes` ⚖️ `UploadFile`:
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; 🔛
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/request_files/tutorial002.py!}
    ```
    
    ////
    
    //// tab | 🐍 3️⃣.9️⃣ &amp; 🔛
    
    ```Python hl_lines="8  13"
    {!> ../../docs_src/request_files/tutorial002_py39.py!}
    ```
    
    ////
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top