- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,964 for fileId (0.18 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
assertEquals((short) 0x0011, request.getCommand()); // Verify that default file ID is set byte[] expectedFileId = Smb2Constants.UNSPECIFIED_FILEID; Field fileIdField; try { fileIdField = Smb2SetInfoRequest.class.getDeclaredField("fileId"); fileIdField.setAccessible(true); byte[] actualFileId = (byte[]) fileIdField.get(request);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
public final int getAttributes() { return getFileAttributes(); } /** * Get the unique file identifier * @return the fileId */ public final byte[] getFileId() { return this.fileId; } /** * Get the file name * @return the fileName */ public final String getFileName() { return this.fileName; }
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/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
* @return the ioctlFlags */ public int getIoctlFlags() { return this.ioctlFlags; } /** * Gets the file identifier from the response. * * @return the fileId */ public byte[] getFileId() { return this.fileId; } /** * Gets the decoded output data from the response. * * @return the outputData */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
assertEquals((short) 0x0010, request.getCommand()); // Verify that default file ID is set byte[] expectedFileId = Smb2Constants.UNSPECIFIED_FILEID; Field fileIdField; try { fileIdField = Smb2QueryInfoRequest.class.getDeclaredField("fileId"); fileIdField.setAccessible(true); byte[] actualFileId = (byte[]) fileIdField.get(request);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
private void setupSmb2(NotifyResponse resp, byte[] fileId) throws Exception { when(handle.isValid()).thenReturn(true); when(handle.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); when(tree.getConfig()).thenReturn(mock(Configuration.class)); when(handle.getFileId()).thenReturn(fileId);
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/create/Smb2CloseResponseTest.java
// Test with special characters in fileName String specialFileName = "file!@#$%^&*()_+-=[]{}|;':\",./<>?.txt"; Smb2CloseResponse specialNameResponse = new Smb2CloseResponse(mockConfig, testFileId, specialFileName); assertEquals(specialFileName, specialNameResponse.getFileName()); // Test with different fileId patterns byte[] zeroFileId = new byte[16];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) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
this.fileId != null ? Hexdump.toHexString(this.fileId) : this.fid, this.tree_num, this.flags, this.access, this.attrs, this.options); } /** * {@inheritDoc} * * @see java.lang.Object#hashCode() */ @Override public int hashCode() { if (this.fileId != null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.4K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
*/ public static final int FILE_OPEN_IF = 0x3; /** * If file exists, overwrite it. Otherwise fail */ public static final int FILE_OVERWRITE = 0x4; /** * If file exists, overwrite it. Otherwise create the file */ public static final int FILE_OVERWRITE_IF = 0x5; /** * File being created or opened must be a directoryCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE); byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0x55); request.setFileId(newFileId); // FileId is set internally assertNotNull(request); } @Test @DisplayName("Test createResponse method") void testCreateResponse() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Arrange: initial page with two entries, then one more entry, then no more files FileEntry fe1 = mock(FileEntry.class); lenient().when(fe1.getName()).thenReturn("file1"); lenient().when(fe1.getFileIndex()).thenReturn(1); FileEntry fe2 = mock(FileEntry.class); lenient().when(fe2.getName()).thenReturn("file2"); when(fe2.getFileIndex()).thenReturn(2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0)