Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for FileId (0.98 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. 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 0xFF
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            int command = (int) commandField.get(request);
            assertEquals(0x0007, command); // SMB2_FLUSH value
    
            // Verify file ID is set
            Field fileIdField = Smb2FlushRequest.class.getDeclaredField("fileId");
            fileIdField.setAccessible(true);
            byte[] storedFileId = (byte[]) fileIdField.get(request);
            assertArrayEquals(testFileId, storedFileId);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            pos += 2;
            // 2 reserved bytes
            pos += 2;
            // ctlCode
            SMBUtil.writeInt4(ctlCode, buf, pos);
            pos += 4;
            // fileId (16 bytes)
            byte[] fid = fileId != null ? fileId : new byte[16];
            System.arraycopy(fid, 0, buf, pos, 16);
            pos += 16;
    
            // Calculate offsets relative to start of SMB2 header
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top