- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 37 for opCode (0.08 seconds)
-
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()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10K bytes - Click Count (0) -
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 =Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
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";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
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";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 11.1K bytes - Click Count (0) -
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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 10.2K bytes - Click Count (0) -
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) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 14.4K bytes - Click Count (0) -
internal/grid/connection.go
} readDataInto := func(dst []byte, s ws.State, want ws.OpCode) ([]byte, error) { dst = dst[:0] for { hdr, err := wsReader.NextFrame() if err != nil { return nil, err } if hdr.OpCode.IsControl() { if err := controlHandler(hdr, &wsReader); err != nil { return nil, err } continue } if hdr.OpCode&want == 0 { if err := wsReader.Discard(); err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 46.9K bytes - Click Count (0) -
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. {* ../../docs_src/dependencies/tutorial007_py310.py hl[3,5] *} ## Subdependências com `yield` { #sub-dependencies-with-yield }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 13.8K bytes - Click Count (0) -
docs/pt/docs/python-types.md
```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial008b_py310.py!} ``` Isso significa que `item` pode ser um `int` ou um `str`. #### Possivelmente `None` { #possibly-none } Você pode declarar que um valor pode ter um tipo, como `str`, mas que ele também pode ser `None`. //// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!} ``` ////Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 11.7K bytes - Click Count (0)