Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 252 for readInt4 (0.05 seconds)

  1. 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;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            final int start = bufferIndex;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.deletePending = (buffer[bufferIndex] & 0xFF) > 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

            if (this.wordCount == 0) {
                return 0;
            }
            this.fileAttributes = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.lastWriteTime = SMBUtil.readUTime(buffer, bufferIndex);
            bufferIndex += 4;
            this.fileSize = SMBUtil.readInt4(buffer, bufferIndex);
            return 20;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/ntlmssp/av/AvFlags.java

        public AvFlags(final int flags) {
            this(encode(flags));
        }
    
        /**
         * Gets the flags as an integer value
         * @return flags
         */
        public int getFlags() {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
        private static byte[] encode(final int flags) {
            final byte[] raw = new byte[4];
            SMBUtil.writeInt4(flags, raw, 0);
            return raw;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertEquals(36, SMBUtil.readInt2(buffer, 0));
    
            // Verify dialect count
            assertEquals(3, SMBUtil.readInt2(buffer, 2)); // SMB210, SMB300, SMB302
    
            // Verify security mode
            assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, SMBUtil.readInt2(buffer, 4));
    
            // Verify capabilities
            int caps = SMBUtil.readInt4(buffer, 8);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

            interfaces.clear();
    
            while (bufferIndex < end && (bufferIndex + 152) <= end) {
                // Read Next field to determine if there are more entries
                int next = SMBUtil.readInt4(buffer, bufferIndex);
    
                NetworkInterfaceInfo info = NetworkInterfaceInfo.decode(buffer, bufferIndex);
                if (info != null) {
                    interfaces.add(info);
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. 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)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                for (int i = 0; i < SIGNATURE_LENGTH; i++) {
                    data[index + i] = 0;
                }
    
                // set signed flag
                final int oldFlags = SMBUtil.readInt4(data, offset + 16);
                final int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED;
                SMBUtil.writeInt4(flags, data, offset + 16);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. 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;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. 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;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4K bytes
    - Click Count (0)
Back to Top