Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 230 for readInt8 (0.6 sec)

  1. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            bufferIndex += 4;
            this.parameterDisplacement = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            setDataCount(SMBUtil.readInt4(buffer, bufferIndex));
            bufferIndex += 4;
            this.dataOffset = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.dataDisplacement = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/ACE.java

        int decode(final byte[] buf, int bi) {
            allow = buf[bi] == (byte) 0x00;
            bi++;
            flags = buf[bi++] & 0xFF;
            final int size = ServerMessageBlock.readInt2(buf, bi);
            bi += 2;
            access = ServerMessageBlock.readInt4(buf, bi);
            bi += 4;
            sid = new SID(buf, bi);
            return size;
        }
    
        void appendCol(final StringBuffer sb, final String str, final int width) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

            final int start = bufferIndex;
            this.namedPipeState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.readDataAvailable = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.numberOfMessages = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.messageLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Verify complete structure
            assertEquals(9, SMBUtil.readInt2(buffer, bodyOffset)); // Structure size
            assertEquals(0, SMBUtil.readInt2(buffer, bodyOffset + 2)); // Tree flags
            assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 8, SMBUtil.readInt2(buffer, bodyOffset + 4)); // Path offset
            assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, bodyOffset + 6)); // Path length
    
            // Verify path content
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 9) {
                throw new SMBProtocolDecodingException("Structure size != 9");
            }
    
            this.sessionFlags = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
    
            final int securityBufferOffset = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertEquals(6, bytesWritten);
                assertEquals(2, SMBUtil.readInt2(buffer, 0));
                assertEquals(EncryptionNegotiateContext.CIPHER_AES128_CCM, SMBUtil.readInt2(buffer, 2));
                assertEquals(EncryptionNegotiateContext.CIPHER_AES128_GCM, SMBUtil.readInt2(buffer, 4));
            }
    
            @Test
            @DisplayName("Should encode null ciphers as zero count")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNtTransactionResponse.java

            totalParameterCount = readInt4(buffer, bufferIndex);
            if (bufDataStart == 0) {
                bufDataStart = totalParameterCount;
            }
            bufferIndex += 4;
            totalDataCount = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            parameterCount = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            parameterOffset = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

            final int start = bufferIndex;
            this.chunksWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.chunkBytesWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.totalBytesWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            return bufferIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

            final int start = bufferIndex;
    
            this.pathConsumed = SMBUtil.readInt2(buffer, bufferIndex) / 2;
            bufferIndex += 2;
            this.numReferrals = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.tflags = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.referrals = new Referral[this.numReferrals];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

            bufferIndex += 2;
            this.parameterDisplacement = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataDisplacement = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top