Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for endOfFile (1.35 sec)

  1. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

        public int encode(final byte[] dst, final int dstIndex) {
            SMBUtil.writeInt8(this.endOfFile, dst, dstIndex);
            return 8;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString() {
            return ("EndOfFileInformation[endOfFile=" + this.endOfFile + "]");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            assertEquals(8, fileInfo.size());
    
            // Test parameterized constructor
            long endOfFile = 1024L;
            FileEndOfFileInformation fileInfoWithEof = new FileEndOfFileInformation(endOfFile);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfoWithEof.getFileInformationLevel());
    
            // Test toString
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            return dstIndex - start;
        }
    
        @Override
        public String toString() {
            return ("SmbQueryInfoStandard[" + "allocationSize=" + this.allocationSize + ",endOfFile=" + this.endOfFile + ",numberOfLinks="
                    + this.numberOfLinks + ",deletePending=" + this.deletePending + ",directory=" + this.directory + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

                return 0L;
            }
    
            @Override
            public long getSize() {
                return endOfFile;
            }
    
            @Override
            public String toString() {
                return ("SmbQueryInfoStandard[" + "allocationSize=" + allocationSize + ",endOfFile=" + endOfFile + ",numberOfLinks="
                        + numberOfLinks + ",deletePending=" + deletePending + ",directory=" + directory + "]");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            long endOfFile = 1024L;
            FileEndOfFileInformation info = new FileEndOfFileInformation(endOfFile);
    
            assertNotNull(info);
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, info.getFileInformationLevel());
    
            // Verify through toString that value is set
            assertTrue(info.toString().contains("endOfFile=" + endOfFile));
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeTime(maxTime, buffer, 24); // lastWriteTime
            SMBUtil.writeTime(maxTime, buffer, 32); // changeTime
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // endOfFile
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 48); // allocationSize
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 56); // extFileAttributes
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 64); // eaSize
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndXResponse.java

                    + ",extFileAttributes=0x" + Hexdump.toHexString(extFileAttributes, 4) + ",allocationSize=" + allocationSize + ",endOfFile="
                    + endOfFile + ",fileType=" + fileType + ",deviceState=" + deviceState + ",directory=" + directory + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                standardInfo.allocationSize = 4096L;
                standardInfo.endOfFile = 2048L;
                standardInfo.numberOfLinks = 1;
                standardInfo.deletePending = false;
                standardInfo.directory = false;
    
                assertEquals(2048L, standardInfo.getSize()); // Size returns endOfFile
                assertEquals(0, standardInfo.getAttributes()); // Standard info always returns 0 for attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                        + ",changeTime=" + new Date(changeTime) + ",endOfFile=" + endOfFile + ",allocationSize=" + allocationSize
                        + ",extFileAttributes=" + extFileAttributes + ",fileNameLength=" + fileNameLength + ",eaSize=" + eaSize
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Get the end of file position
         *
         * @return the endOfFile
         */
        public final long getEndOfFile() {
            return this.endOfFile;
        }
    
        /**
         * Get the file ID
         *
         * @return the fileId
         */
        public byte[] getFileId() {
            return this.fileId;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top