- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 24 for FileInformation (0.23 seconds)
-
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
*/ package jcifs.internal.smb2.info; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.Encodable; import jcifs.internal.fscc.FileInformation; import jcifs.internal.smb2.RequestWithFileId; import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
super(config); this.expectInfoClass = expectInfoClass; } /** * Gets the directory entries returned by the query * * @return the fileInformation */ public FileEntry[] getResults() { return this.results; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
// Test valid information levels assertEquals(0x0101, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_BASIC_INFO)); assertEquals(0x0102, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_STANDARD_INFO)); assertEquals(0x0104, Trans2QueryPathInformation.mapInformationLevel(FileInformation.FILE_ENDOFFILE_INFO)); } @Test void testMapInformationLevelWithInvalidLevel() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
* @return */ static long mapInformationLevel(final int il) { switch (il) { case FileInformation.FILE_BASIC_INFO: return 0x0101; case FileInformation.FILE_STANDARD_INFO: return 0x0102; case FileInformation.FILE_ENDOFFILE_INFO: return 0x0104; } throw new IllegalArgumentException("Unsupported information level " + il);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel()); // Test with parameterized constructor FileEndOfFileInformation info = new FileEndOfFileInformation(5000L); assertEquals(FileInformation.FILE_ENDOFFILE_INFO, info.getFileInformationLevel()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
byte[] buffer = new byte[100]; int result = response.readParametersWireFormat(buffer, 0, buffer.length); assertEquals(2, result); } @ParameterizedTest @ValueSource(bytes = { FileInformation.FILE_BASIC_INFO, FileInformation.FILE_STANDARD_INFO, FileInformation.FILE_INTERNAL_INFO })
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
this.attributes = attributes; } /** * {@inheritDoc} * * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel() */ @Override public byte getFileInformationLevel() { return FileInformation.FILE_BASIC_INFO; } @Override public int getAttributes() { return this.attributes; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.dtyp.SecurityDescriptor; import jcifs.internal.fscc.FileFsFullSizeInformation; import jcifs.internal.fscc.FileFsSizeInformation; import jcifs.internal.fscc.FileInformation; import jcifs.internal.fscc.FileInternalInfo; import jcifs.internal.fscc.FileSystemInformation; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.smb2.Smb2Constants;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
when(mockBasicFileInfo.getLastAccessTime()).thenReturn(TEST_LAST_ACCESS_TIME); when(mockBasicFileInfo.getSize()).thenReturn(1024L); when(mockBasicFileInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_BASIC_INFO); // When & Then assertEquals(TEST_ATTRIBUTES, mockBasicFileInfo.getAttributes()); assertEquals(TEST_CREATE_TIME, mockBasicFileInfo.getCreateTime());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.dtyp.SecurityDescriptor; import jcifs.internal.fscc.FileFsFullSizeInformation; import jcifs.internal.fscc.FileFsSizeInformation; import jcifs.internal.fscc.FileInformation; import jcifs.internal.fscc.FileInternalInfo; import jcifs.internal.fscc.FileSystemInformation; import jcifs.internal.smb2.ServerMessageBlock2; import jcifs.internal.smb2.ServerMessageBlock2Response;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0)