Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 75 for fileId3 (0.09 seconds)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        void testDifferentFileIds() {
            // Given
            byte[] fileId1 = new byte[16];
            Arrays.fill(fileId1, (byte) 0x11);
    
            byte[] fileId2 = new byte[16];
            Arrays.fill(fileId2, (byte) 0xFF);
    
            byte[] fileId3 = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId3[i] = (byte) i;
            }
    
            // When & Then for each file ID
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                assertTrue(result.contains("fileId=" + Hexdump.toHexString(fileId)));
                assertTrue(result.endsWith("]"));
            }
    
            @Test
            @DisplayName("Should handle null fileId in toString")
            void testToStringWithNullFileId() throws Exception {
                // Set oplockLevel but leave fileId as null
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

            this(config, fileId, "");
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Constructs a close request with file name only
         *
         * @param config
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                .add("field1", "This is string.")
                .add("field2", Arrays.asList("abc", "def", "ghi"))
                .add("field3", map)
                .toString();
        String expected =
            "TestClass{"
                + "field1=This is string., field2=[abc, def, ghi], field3={abc=1, def=2, ghi=3}}";
    
        assertThat(toTest).isEqualTo(expected);
      }
    
      public void testToStringLenient_complexFields() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 22K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            try {
                @SuppressWarnings("resource")
                final SmbTreeHandleImpl th = getTreeHandle();
                if (this.fileId != null && th.isConnected()) {
                    th.send(new Smb2CloseRequest(th.getConfig(), this.fileId));
                }
            } finally {
                this.fileId = null;
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

         * @param fileId
         *            the file ID to query information for
         */
        public Smb2QueryInfoRequest(final Configuration config, final byte[] fileId) {
            super(config, SMB2_QUERY_INFO);
            this.outputBufferLength = Math.min(config.getMaximumBufferSize(), config.getListSize()) - Smb2QueryInfoResponse.OVERHEAD & ~0x7;
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
         * Sets the padding for the read request
         *
         * @param padding
         *            the padding to set
         */
        public void setPadding(final byte padding) {
            this.padding = padding;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         * @param path the file path
         * @param guid the create GUID
         * @param fileId the 16-byte file ID
         * @param type the handle type
         * @param timeout the timeout in milliseconds
         * @param leaseKey the associated lease key (can be null)
         */
        public HandleInfo(String path, HandleGuid guid, byte[] fileId, HandleType type, long timeout, Smb2LeaseKey leaseKey) {
            this.path = path;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

        private byte[] fileId;
    
        /**
         * Constructs an SMB2 flush request
         * @param config the client configuration
         * @param fileId the file identifier to flush
         */
        public Smb2FlushRequest(final Configuration config, final byte[] fileId) {
            super(config, SMB2_FLUSH);
            this.fileId = fileId;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

            super(config, SMB2_LOCK);
            this.fileId = fileId;
            this.locks = locks;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2Request#createResponse(jcifs.CIFSContext,
         *      jcifs.internal.smb2.ServerMessageBlock2Request)
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top