Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getListSize (0.14 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            when(locator.getUNCPath()).thenReturn("\\\\server\\share\\dir\\");
            when(tree.getConfig()).thenReturn(config);
            when(config.getMaximumBufferSize()).thenReturn(65535);
            when(config.getListSize()).thenReturn(65535);
    
            // Arrange: initial page with two entries, then one more entry, then no more files
            FileEntry fe1 = mock(FileEntry.class);
            lenient().when(fe1.getName()).thenReturn("file1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            when(mockConfig.getMaximumBufferSize()).thenReturn(8192);
            when(mockConfig.getListSize()).thenReturn(16384);
    
            request = new Smb2QueryDirectoryRequest(mockConfig);
            assertNotNull(request);
    
            // Test with smaller list size
            when(mockConfig.getMaximumBufferSize()).thenReturn(16384);
            when(mockConfig.getListSize()).thenReturn(8192);
    
            request = new Smb2QueryDirectoryRequest(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.getMaximumBufferSize();
                mockConfig.getTransactionBufferSize();
                mockConfig.getBufferCacheSize();
                mockConfig.getListCount();
                mockConfig.getListSize();
                mockConfig.getAttributeCacheTimeout();
                mockConfig.isIgnoreCopyToException();
                mockConfig.getBatchLimit("cmd");
                mockConfig.getNotifyBufferSize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                        th.getConfig().getListSize() - FIND_OVERHEAD), this.response);
    
                this.nextRequest = new Trans2FindNext2(th.getConfig(), this.response.getSid(), this.response.getResumeKey(),
                        this.response.getLastName(), th.getConfig().getListCount(), th.getConfig().getListSize() - FIND_OVERHEAD);
            } catch (final SmbException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

         */
        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}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getListCount();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getListSize()
         */
        @Override
        public int getListSize() {
            return this.delegate.getListSize();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getAttributeCacheTimeout()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
            when(mockConfig.getListSize()).thenReturn(65536);
    
            testFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                testFileId[i] = (byte) i;
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getConfig()).thenReturn(config);
            lenient().when(config.getListCount()).thenReturn(10);
            lenient().when(config.getListSize()).thenReturn(4096);
    
            lenient().when(parent.getLocator()).thenReturn(locator);
            lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            return 0;
        }
    
        @Override
        public String toString() {
            return ("Trans2FindNext2[" + super.toString() + ",sid=" + this.sid + ",searchCount=" + getConfig().getListSize()
                    + ",informationLevel=0x" + Hexdump.toHexString(this.informationLevel, 3) + ",resumeKey=0x"
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            super(config, SMB2_QUERY_DIRECTORY);
            this.outputBufferLength =
                    Math.min(config.getMaximumBufferSize(), config.getListSize()) - Smb2QueryDirectoryResponse.OVERHEAD & ~0x7;
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
    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