Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 97 for FileId (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            super(config, SMB2_WRITE);
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

            }
    
            this.oplockLevel = buffer[bufferIndex + 2];
            bufferIndex += 4;
            bufferIndex += 4; // Reserved2
    
            this.fileId = new byte[16];
            System.arraycopy(buffer, bufferIndex, this.fileId, 0, 16);
            bufferIndex += 16;
    
            return bufferIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

         */
        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
         */
        public Decodable getOutputData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            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
        public void testGetHandleForReconnect() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        }
    
        @Test
        @DisplayName("Constructor with fileId only should use empty fileName")
        void testConstructorWithFileIdOnly() throws Exception {
            Smb2CloseRequest requestWithFileIdOnly = new Smb2CloseRequest(mockConfig, testFileId);
    
            // Verify file ID is set
            Field fileIdField = Smb2CloseRequest.class.getDeclaredField("fileId");
            fileIdField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

            HandleGuid guid = new HandleGuid();
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
            testHandle = new HandleInfo("/test/file.txt", guid, fileId, HandleType.DURABLE_V2, 120000, null);
        }
    
        @Test
        public void testReconnectHandleSuccess() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/RequestWithFileId.java

     *
     * @author mbechler
     */
    public interface RequestWithFileId {
    
        /**
         * Sets the file ID for this request.
         *
         * @param fileId the file ID to set
         */
        void setFileId(byte[] fileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top