Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 97 for FileId (0.7 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

        private static final int STRUCTURE_SIZE = 16;
    
        private byte[] fileId; // 16-byte file ID from previous open
    
        /**
         * Create a new durable handle reconnect context
         * @param fileId the 16-byte file ID from the previous open
         */
        public DurableHandleReconnect(byte[] fileId) {
            if (fileId.length != 16) {
                throw new IllegalArgumentException("File ID must be 16 bytes");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

         *
         * @param config
         *            the configuration to use for this request
         * @param fileId
         *            the file ID to set information for
         */
        public Smb2SetInfoRequest(final Configuration config, final byte[] fileId) {
            super(config, SMB2_SET_INFO);
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         * @param config
         *            The configuration to use
         * @param fileId
         *            The file ID that was closed
         * @param fileName
         *            The name of the file that was closed
         */
        public Smb2CloseResponse(final Configuration config, final byte[] fileId, final String fileName) {
            super(config);
            this.fileId = fileId;
            this.fileName = fileName;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. 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);
        }
        
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] fileId = new byte[16];
            for (int i = 0; i < fileId.length; i++)
                fileId[i] = (byte) (i + 1);
    
            byte[] header = buildSmb2Header();
            byte[] body = buildCreateBodyNoContexts((byte) 0x7, (byte) 0x2, 0x11223344, 1111L, 2222L, 3333L, 4444L, 123456789L, 987654321L,
                    0xA5A5A5A5, fileId);
            byte[] packet = buildPacket(header, body, null, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            testFileIdWriting(fileId3);
        }
    
        private void testFileIdWriting(byte[] fileId) {
            Configuration config = mock(Configuration.class);
            when(config.getNotifyBufferSize()).thenReturn(8192);
            Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, fileId);
            byte[] buffer = new byte[512];
            req.writeBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

         * @param controlCode the IOCTL control code
         * @param fileId the file identifier
         */
        public Smb2IoctlRequest(final Configuration config, final int controlCode, final byte[] fileId) {
            super(config, SMB2_IOCTL);
            this.controlCode = controlCode;
            this.fileId = fileId;
            this.maxOutputResponse = config.getTransactionBufferSize() & ~0x7;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        }
    
        @Test
        @DisplayName("Test constructor with configuration and fileId")
        void testConstructorWithConfigAndFileId() {
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) i;
            }
    
            request = new Smb2QueryDirectoryRequest(mockConfig, fileId);
    
            assertNotNull(request);
            assertEquals(14, request.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the file information class for the directory query
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top