Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 476 for reading2 (0.06 sec)

  1. 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)
  2. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            ServerMessageBlock.writeInt2(0x1234, buffer, 0);
            assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0));
        }
    
        @Test
        void testInt4ReadWrite() {
            byte[] buffer = new byte[4];
            ServerMessageBlock.writeInt4(0x12345678, buffer, 0);
            assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0));
        }
    
        @Test
        void testInt8ReadWrite() {
            byte[] buffer = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

            if (wordCount == 0) {
                return 0;
            }
            fileAttributes = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            lastWriteTime = readUTime(buffer, bufferIndex);
            bufferIndex += 4;
            fileSize = readInt4(buffer, bufferIndex);
            return 20;
        }
    
        @Override
        int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

            // Then
            assertEquals(6, bytesWritten);
            assertEquals(fid, SMBUtil.readInt2(dst, 0));
            // lastWriteTime is not written if digest is null, so the remaining bytes should be zero
            assertEquals(0, SMBUtil.readInt4(dst, 2));
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

            final int start = bufferIndex;
    
            this.capabilities = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16);
            bufferIndex += 16;
    
            this.securityMode = SMBUtil.readInt2(buffer, bufferIndex);
            this.dialect = SMBUtil.readInt2(buffer, bufferIndex + 2);
            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.8K bytes
    - Viewed (0)
  6. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            int off = 0;
            assertEquals(65535, SMBUtil.readInt2(buf, off));
            off += 2;
            assertEquals(65535, SMBUtil.readInt2(buf, off));
            off += 2;
            assertEquals(0, SMBUtil.readInt2(buf, off));
            off += 2;
            assertEquals(0x12345678, SMBUtil.readInt4(buf, off));
            off += 4;
            assertEquals(blob.length, SMBUtil.readInt2(buf, off));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2WriteResponse.java

            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 17) {
                throw new SMBProtocolDecodingException("Expected structureSize = 17");
            }
            bufferIndex += 4;
    
            this.count = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.remaining = 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
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top