Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 230 for readInt8 (0.22 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);
            this.maxReadSize = SMBUtil.readInt4(buffer, bufferIndex + 4);
            this.maxWriteSize = SMBUtil.readInt4(buffer, bufferIndex + 8);
    
            // Validate reasonable buffer sizes to prevent resource exhaustion
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                assertEquals(0, SMBUtil.readInt2(buffer, 72));
    
                // Verify input buffer length (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt4(buffer, 76));
    
                // Verify additional information
                assertEquals(0x12345678, SMBUtil.readInt4(buffer, 80));
    
                // Verify query flags
                assertEquals(0xABCDEF00, SMBUtil.readInt4(buffer, 84));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            }
    
            int start = bufferIndex;
    
            transformCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            reserved1 = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            reserved2 = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // Read the transform (only expecting one)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

            final int start = bufferIndex;
    
            setStatus(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.converter = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            setNumEntries(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.totalAvailableEntries = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            assertEquals(smbComNtTransaction.totalParameterCount, SmbComTransaction.readInt4(dst, 3),
                    "totalParameterCount should be written correctly");
            assertEquals(smbComNtTransaction.totalDataCount, SmbComTransaction.readInt4(dst, 7), "totalDataCount should be written correctly");
            assertEquals(smbComNtTransaction.maxParameterCount, SmbComTransaction.readInt4(dst, 11),
                    "maxParameterCount should be written correctly");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            this.fid = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.typeOfLock = buffer[bufferIndex];
    
            if ((this.typeOfLock & 0x10) == 0x10) {
                this.largeFile = true;
            }
    
            this.newOpLockLevel = buffer[bufferIndex + 1];
            bufferIndex += 2;
    
            this.timeout = 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
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

            this.leaseKey = new Smb2LeaseKey(keyBytes);
            bufferIndex += 16;
    
            this.leaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes) - reserved, skip
            bufferIndex += 8;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 9) {
                throw new SMBProtocolDecodingException("Expected structureSize = 9");
            }
    
            final int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart();
            bufferIndex += 4;
            final int len = 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.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

            bufferIndex += 4; // skip idFileSystem
    
            this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.alloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.free = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.bytesPerSect = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

            // CurrentLeaseState (4 bytes)
            this.currentLeaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // NewLeaseState (4 bytes)
            this.newLeaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // BreakReason (4 bytes)
            this.breakReason = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top