Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for readInt4 (0.08 sec)

  1. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            bufferIndex += 4; // skip idFileSystem
    
            info.sectPerAlloc = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            info.alloc = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            info.free = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            info.bytesPerSect = readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.info = info;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

            bufferIndex++; // revision
            bufferIndex++;
            type = ServerMessageBlock.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            final int ownerUOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to owner sid
            bufferIndex += 4;
            final int ownerGOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            bufferIndex++;
            this.type = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            final int ownerUOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to owner sid
            bufferIndex += 4;
            final int ownerGOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
            SMBUtil.readInt4(buffer, bufferIndex); // offset to sacl
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertEquals(0, SMBUtil.readInt4(buffer, 0));
    
            // NameOffset field (2 bytes) - should be 16 (after header)
            assertEquals(16, SMBUtil.readInt2(buffer, 4));
    
            // NameLength field (2 bytes) - should be 4 for "RqLs"
            assertEquals(4, SMBUtil.readInt2(buffer, 6));
    
            // Reserved field (2 bytes) - should be 0
            assertEquals(0, SMBUtil.readInt2(buffer, 8));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

                this.pid = SMBUtil.readInt2(buffer, bufferIndex);
                final int boHigh = SMBUtil.readInt4(buffer, bufferIndex + 4);
                final int boLow = SMBUtil.readInt4(buffer, bufferIndex + 8);
    
                this.byteOffset = boHigh << 32 | boLow;
    
                final int lHigh = SMBUtil.readInt4(buffer, bufferIndex + 12);
                final int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/util/SMBUtil.java

         * @param srcIndex the starting index in the source array
         * @return the 64-bit integer value
         */
        public static long readInt8(final byte[] src, final int srcIndex) {
            return (readInt4(src, srcIndex) & 0xFFFFFFFFL) + ((long) readInt4(src, srcIndex + 4) << 32);
        }
    
        /**
         * Writes a 64-bit integer value to a byte array in little-endian format
         * @param val the value to write
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            bufferIndex += 8;
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.extFileAttributes = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            int fileNameLength = 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
    - 6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                e.endOfFile = readInt8(buffer, bufferIndex + 40);
                //      e.allocationSize = readInt8( buffer, bufferIndex + 48 );
                e.extFileAttributes = readInt4(buffer, bufferIndex + 56);
                e.fileNameLength = readInt4(buffer, bufferIndex + 60);
                //      e.eaSize = readInt4( buffer, bufferIndex + 64 );
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top