- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 42 for OpCode (0.04 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) -
src/cmd/asm/internal/asm/testdata/ppc64_p10.s
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This contains the valid opcode combinations available // in cmd/internal/obj/ppc64/asm9.go which exist for // POWER10/ISA 3.1. #include "../../../../../runtime/textflag.h" TEXT asmtest(SB), DUPOK|NOSPLIT, $0 BRD R1, R2 // 7c220176
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 23 20:52:57 GMT 2023 - 14.3K 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) -
src/cmd/asm/internal/asm/testdata/riscv64error.s
SRLI $64, X5, X6 // ERROR "immediate out of range 0 to 63" SRAI $64, X5, X6 // ERROR "immediate out of range 0 to 63" BEQ X5, X6, $1 // ERROR "instruction with branch-like opcode lacks destination" BEQ X5, X6, 31(X10) // ERROR "instruction with branch-like opcode lacks destination" RORI $-1, X5, X6 // ERROR "immediate out of range 0 to 63" SLLI $-1, X5, X6 // ERROR "immediate out of range 0 to 63"
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 04:17:57 GMT 2026 - 27.2K bytes - Click Count (0) -
src/cmd/asm/internal/asm/endtoend_test.go
} } if hexes != "" { hexByLine[fmt.Sprintf("%s:%d", input, lineno)] = hexes } // Canonicalize spacing in printed form. // First field is opcode, then tab, then arguments separated by spaces. // Canonicalize spaces after commas first. // Comma to separate argument gets a space; comma within does not. var buf []byte nest := 0Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 12.6K bytes - Click Count (0)