Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for opCode (1.53 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val B0_FLAG_RSV2 = 32
    
      /** Byte 0 reserved flag 3. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV3 = 16
    
      /** Byte 0 mask for the frame opcode. */
      internal const val B0_MASK_OPCODE = 15
    
      /** Flag in the opcode which indicates a control frame. */
      internal const val OPCODE_FLAG_CONTROL = 8
    
      /**
       * Byte 1 flag for whether the payload data is masked.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      @Throws(IOException::class)
      private fun writeControlFrame(
        opcode: Int,
        payload: ByteString,
      ) {
        if (writerClosed) throw IOException("closed")
    
        val length = payload.size
        require(length <= PAYLOAD_BYTE_MAX) {
          "Payload size must be less than or equal to $PAYLOAD_BYTE_MAX"
        }
    
        val b0 = B0_FLAG_FIN or opcode
        sinkBuffer.writeByte(b0)
    
        var b1 = length
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameQueryResponse.java

        @Override
        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readRDataWireFormat(final byte[] src, int srcIndex) {
            if (resultCode != 0 || opCode != QUERY) {
                return 0;
            }
            final boolean groupName = ((src[srcIndex] & 0x80) == 0x80) == true;
            final int nodeType = (src[srcIndex] & 0x60) >> 5;
            srcIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameQueryResponse.java

        int writeRDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int readRDataWireFormat(final byte[] src, int srcIndex) {
            if (this.resultCode != 0 || this.opCode != QUERY) {
                return 0;
            }
            final boolean groupName = ((src[srcIndex] & 0x80) == 0x80) == true;
            final int nodeType = (src[srcIndex] & 0x60) >> 5;
            srcIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top