- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for fileIndex (0.14 sec)
-
src/test/java/jcifs/smb/FileEntryTest.java
private final long lastModified; private final long lastAccess; private final long length; private final int fileIndex; TestFileEntry(String name, int type, int attributes, long createTime, long lastModified, long lastAccess, long length, int fileIndex) { this.name = name; this.type = type; this.attributes = attributes;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Set maximum values SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 0); // nextEntryOffset SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 4); // fileIndex // For time values, use a reasonable max time that won't overflow long maxTime = System.currentTimeMillis() + 1000000000000L; SMBUtil.writeTime(maxTime, buffer, 8); // creationTime
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
request = new Smb2QueryDirectoryRequest(mockConfig); int fileIndex = 0x12345678; request.setFileIndex(fileIndex); // Verify by writing to buffer and checking the fileIndex position byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH); // FileIndex is at offset 4 in the request structure
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
} @Test @DisplayName("fileIndex should return valid index") void testFileIndex() throws CIFSException { // Given long expectedIndex = 12345L; when(mockResource.fileIndex()).thenReturn(expectedIndex); // When long index = mockResource.fileIndex(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
// Write minimal FileBothDirectoryInfo at dataOffset // NextEntryOffset (0 = last entry) SMBUtil.writeInt4(0, buffer, dataOffset); // FileIndex SMBUtil.writeInt4(0, buffer, dataOffset + 4); // CreationTime SMBUtil.writeInt8(0, buffer, dataOffset + 8); // LastAccessTime SMBUtil.writeInt8(0, buffer, dataOffset + 16);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * Get the file index * * @return server side file index, 0 if unavailable * @throws CIFSException if an error occurs accessing the resource */ long fileIndex() throws CIFSException; /** * Return the attributes of this file. Attributes are represented as a * bitset that must be masked with <code>ATTR_*</code> constants to determine
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1)