- Sort Score
- Num 10 results
- Language All
Results 11 - 18 of 18 for endOfFile (0.06 seconds)
-
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 attributesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
*/ public final long getAllocationSize() { return this.allocationSize; } /** * Get the end of file position * @return the endOfFile */ public final long getEndOfFile() { return this.endOfFile; } /** * {@inheritDoc} * * @see jcifs.internal.SmbBasicFileInfo#getSize() */ @Override public final long getSize() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
@DisplayName("Test getLastAccessTime returns 0") void testGetLastAccessTime() { assertEquals(0L, fileStandardInfo.getLastAccessTime()); } @Test @DisplayName("Test getSize returns endOfFile value") void testGetSize() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; long expectedAllocationSize = 1024L; long expectedEndOfFile = 512L;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
i += 8; SMBUtil.writeTime(chtime, body, i); // ChangeTime i += 8; SMBUtil.writeInt8(allocSize, body, i); // AllocationSize i += 8; SMBUtil.writeInt8(eof, body, i); // EndOfFile i += 8; SMBUtil.writeInt4(attrs, body, i); // FileAttributes i += 4; i += 4; // Reserved2 System.arraycopy(fileId, 0, body, i, 16); // FileId i += 16;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
// LastWriteTime SMBUtil.writeInt8(0, buffer, dataOffset + 24); // ChangeTime SMBUtil.writeInt8(0, buffer, dataOffset + 32); // EndOfFile SMBUtil.writeInt8(0, buffer, dataOffset + 40); // AllocationSize SMBUtil.writeInt8(0, buffer, dataOffset + 48); // ExtFileAttributes SMBUtil.writeInt4(0, buffer, dataOffset + 56);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
allocationSizeField.setAccessible(true); assertEquals(1024L, allocationSizeField.get(response)); Field endOfFileField = Smb2CloseResponse.class.getDeclaredField("endOfFile"); endOfFileField.setAccessible(true); assertEquals(512L, endOfFileField.get(response)); Field fileAttributesField = Smb2CloseResponse.class.getDeclaredField("fileAttributes");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0)