Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for readInt2 (0.05 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            bufferIndex += 16;
    
            this.capabilities = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.maxTransactSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.maxReadSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.maxWriteSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServicePacket.java

            this.resultCode = src[ srcIndex + OPCODE_OFFSET + 1 ] & 0x0F;
            this.questionCount = readInt2(src, srcIndex + QUESTION_OFFSET);
            this.answerCount = readInt2(src, srcIndex + ANSWER_OFFSET);
            this.authorityCount = readInt2(src, srcIndex + AUTHORITY_OFFSET);
            this.additionalCount = readInt2(src, srcIndex + ADDITIONAL_OFFSET);
            return HEADER_LENGTH;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            resultCode      = src[srcIndex + OPCODE_OFFSET + 1] & 0x0F;
            questionCount   = readInt2( src, srcIndex + QUESTION_OFFSET );
            answerCount     = readInt2( src, srcIndex + ANSWER_OFFSET );
            authorityCount  = readInt2( src, srcIndex + AUTHORITY_OFFSET );
            additionalCount = readInt2( src, srcIndex + ADDITIONAL_OFFSET );
            return HEADER_LENGTH;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            // these are common between SYNC/ASYNC
            SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            SMBUtil.readInt2(buffer, bufferIndex);
            this.creditCharge = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
            this.status = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.command = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.smaxMpxCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.server.maxNumberVcs = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.server.maxBufferSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.server.maxRawSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            command = buffer[bufferIndex + CMD_OFFSET];
            errorCode = readInt4( buffer, bufferIndex + ERROR_CODE_OFFSET );
            flags = buffer[bufferIndex + FLAGS_OFFSET];
            flags2 = readInt2( buffer, bufferIndex + FLAGS_OFFSET + 1 );
            tid = readInt2( buffer, bufferIndex + TID_OFFSET );
            pid = readInt2( buffer, bufferIndex + TID_OFFSET + 2 );
            uid = readInt2( buffer, bufferIndex + TID_OFFSET + 4 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.errorCode = SMBUtil.readInt4(buffer, bufferIndex + SmbConstants.ERROR_CODE_OFFSET);
            this.flags = buffer[ bufferIndex + SmbConstants.FLAGS_OFFSET ];
            this.flags2 = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.FLAGS_OFFSET + 1);
            this.tid = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.TID_OFFSET);
            this.pid = SMBUtil.readInt2(buffer, bufferIndex + SmbConstants.TID_OFFSET + 2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                 * these fields are common to all andx commands
                 * so let's populate them here
                 */
    
                this.andxCommand = buffer[ bufferIndex ];
                this.andxOffset = SMBUtil.readInt2(buffer, bufferIndex + 2);
    
                if ( this.andxOffset == 0 ) { /* Snap server workaround */
                    this.andxCommand = (byte) 0xFF;
                }
    
                /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                /*
                 * these fields are common to all andx commands
                 * so let's populate them here
                 */
    
                andxCommand = buffer[bufferIndex];
                andxOffset = readInt2( buffer, bufferIndex + 2 );
    
                if( andxOffset == 0 ) { /* Snap server workaround */
                    andxCommand = (byte)0xFF;
                }
    
                /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/PacLogonInfo.java

                SID groupId = pacStream.readId();
    
                // Groups information
                int groupCount = pacStream.readInt();
                int groupPointer = pacStream.readInt();
    
                // User flags about PAC Logon Info content
                this.userFlags = pacStream.readInt();
                boolean hasExtraSids = ( this.userFlags & PacConstants.LOGON_EXTRA_SIDS ) == PacConstants.LOGON_EXTRA_SIDS;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
Back to top