- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 908 for fileId (0.47 sec)
-
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
RequestWithFileId anonymousImpl = new RequestWithFileId() { private byte[] fileId; @Override public void setFileId(byte[] fileId) { this.fileId = fileId; if (fileId != null) { capturedFileId[0] = fileId[0]; } } }; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
private byte[] fileId; // 16-byte file ID from previous open public DurableHandleReconnect(byte[] fileId) { super(NAME); if (fileId.length != 16) { throw new IllegalArgumentException("File ID must be 16 bytes"); } this.fileId = Arrays.copyOf(fileId, 16); } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
super(config, SMB2_CHANGE_NOTIFY); this.outputBufferLength = config.getNotifyBufferSize(); this.fileId = fileId; } /** * Set the notification flags * * @param notifyFlags * the notifyFlags to set */ public void setNotifyFlags(final int notifyFlags) { this.notifyFlags = notifyFlags; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
Field commandField = ServerMessageBlock2.class.getDeclaredField("command"); commandField.setAccessible(true); int command = (int) commandField.get(request); assertEquals(0x0006, command); // SMB2_CLOSE value // Verify file ID is set Field fileIdField = Smb2CloseRequest.class.getDeclaredField("fileId"); fileIdField.setAccessible(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
@Test public void testDurableHandleReconnect() { byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } DurableHandleReconnect reconnect = new DurableHandleReconnect(fileId); assertEquals("DHnC", new String(reconnect.getName())); assertArrayEquals(fileId, reconnect.getFileId()); assertTrue(reconnect.size() > 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
class SpecialValueConstants { @Test @DisplayName("Unspecified FileId should be 16 bytes of 0xFF") void testUnspecifiedFileId() { assertNotNull(Smb2Constants.UNSPECIFIED_FILEID, "Unspecified FileId should not be null"); assertEquals(16, Smb2Constants.UNSPECIFIED_FILEID.length, "Unspecified FileId must be exactly 16 bytes"); // Verify all bytes are 0xFFRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
HandleGuid guid = manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 120000, null); byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } manager.updateHandleFileId(guid, fileId); HandleInfo info = manager.getHandleByGuid(guid); assertArrayEquals(fileId, info.getFileId()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (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 */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/RequestWithFileId.java
/** * Interface for SMB2 requests that require a file ID. * * This interface is implemented by SMB2 request classes that need * to reference a specific file using its file ID. * * @author mbechler */ public interface RequestWithFileId { /** * Sets the file ID for this request. * * @param fileId the file ID to set */ void setFileId(byte[] fileId);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0)