Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for opCode (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          }
          else -> {
            throw ProtocolException("Unknown control opcode: " + opcode.toHexString())
          }
        }
      }
    
      @Throws(IOException::class)
      private fun readMessageFrame() {
        val opcode = this.opcode
        if (opcode != OPCODE_TEXT && opcode != OPCODE_BINARY) {
          throw ProtocolException("Unknown opcode: ${opcode.toHexString()}")
        }
    
        readMessage()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameServicePacketTest.java

            // Test other opCode, resultCode, questionType, recordType branches
            packet.opCode = NameServicePacket.WACK;
            packet.resultCode = NameServicePacket.SRV_ERR;
            packet.questionType = NameServicePacket.NBSTAT;
            packet.recordType = NameServicePacket.NBSTAT;
            expectedString =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServicePacket.java

        public String toString() {
            String opCodeString, resultCodeString, questionTypeString, recordTypeString;
    
            opCodeString = switch (this.opCode) {
            case QUERY -> "QUERY";
            case WACK -> "WACK";
            default -> Integer.toString(this.opCode);
            };
            resultCodeString = switch (this.resultCode) {
            case FMT_ERR -> "FMT_ERR";
            case SRV_ERR -> "SRV_ERR";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            final String questionClassString;
            String recordTypeString;
            final String recordClassString;
    
            opCodeString = switch (opCode) {
            case QUERY -> "QUERY";
            case WACK -> "WACK";
            default -> Integer.toString(opCode);
            };
            resultCodeString = switch (resultCode) {
            case FMT_ERR -> "FMT_ERR";
            case SRV_ERR -> "SRV_ERR";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // Set 'opCode' field in superclass to a value other than QUERY (0)
            Field opCodeField = NameServicePacket.class.getDeclaredField("opCode");
            opCodeField.setAccessible(true);
            opCodeField.set(nameQueryResponse, 7); // WACK opCode, which is not QUERY (0)
    
            // Ensure 'resultCode' is 0 for this test to isolate opCode condition
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                throw new IOException("Connection not established");
            }
    
            try {
                // In real implementation, this would perform RDMA write:
                // Similar to rdmaRead but with IBV_WR_RDMA_WRITE opcode
    
                log.debug("DiSNI RDMA write completed, {} bytes", length);
    
            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Expected continuation opcode. Got: 2")
        }
      }
    
      @Test fun emptyPingCallsCallback() {
        data.write("8900".decodeHex()) // Empty ping
        clientReader.processNextFrame()
        callback.assertPing(EMPTY)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. docs/pt/docs/python-types.md

    #### Union
    
    Você pode declarar que uma variável pode ser de qualquer um dentre **diversos tipos**. Por exemplo, um `int` ou um `str`.
    
    No Python 3.6 e superior (incluindo o Python 3.10), você pode utilizar o tipo `Union` de `typing`, e colocar dentro dos colchetes os possíveis tipos aceitáveis.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 10:32:53 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/handling-errors.md

    Do mesmo modo, você pode sobreescrever o `HTTPException`.
    
    Por exemplo, você pode querer retornar uma *response* em *plain text* ao invés de um JSON para os seguintes erros:
    
    {* ../../docs_src/handling_errors/tutorial004.py hl[3:4,9:11,22] *}
    
    /// note | Detalhes Técnicos
    
    Você pode usar `from starlette.responses import PlainTextResponse`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    Então, você pode procurar por essa exceção específica dentro da dependência com `except AlgumaExcecao`.
    
    Da mesma forma, você pode utilizar `finally` para garantir que os passos de saída são executados, com ou sem exceções.
    
    ```python hl_lines="3  5"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    ## Subdependências com `yield`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top