Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getNotifyBufferSize (0.12 sec)

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

            testFileId = new byte[16];
            Arrays.fill(testFileId, (byte) 0xAB);
    
            // Use lenient stubbing for default configuration values
            lenient().when(mockConfig.getNotifyBufferSize()).thenReturn(8192);
            lenient().when(mockContext.getConfig()).thenReturn(mockConfig);
    
            request = new Smb2ChangeNotifyRequest(mockConfig, testFileId);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            int notifyBufferSize = 8192;
            when(mockConfig.getNotifyBufferSize()).thenReturn(notifyBufferSize);
    
            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
    
            // Verify that the configuration was queried for notify buffer size
            verify(mockConfig, atLeastOnce()).getNotifyBufferSize();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getSendBufferSize();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getNotifyBufferSize()
         */
        @Override
        public int getNotifyBufferSize() {
            return this.delegate.getNotifyBufferSize();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getSoTimeout()
         */
        @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)
  4. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            when(mockDelegate.getTransactionBufferSize()).thenReturn(65024);
            when(mockDelegate.getBufferCacheSize()).thenReturn(16);
            when(mockDelegate.getNotifyBufferSize()).thenReturn(1024);
    
            // When
            int sendBufferSize = delegatingConfig.getSendBufferSize();
            int receiveBufferSize = delegatingConfig.getReceiveBufferSize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertEquals(SmbConstants.DEFAULT_RCV_BUF_SIZE, config.getRecieveBufferSize()); // Deprecated method
            assertEquals(SmbConstants.DEFAULT_NOTIFY_BUF_SIZE, config.getNotifyBufferSize());
            assertEquals(SmbConstants.DEFAULT_MAX_MPX_COUNT, config.getMaxMpxCount());
        }
    
        @Test
        @DisplayName("Test SMB configuration getters")
        void testSmbConfigurationGetters() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

            return this.smbRecvBufferSize;
        }
    
        @Override
        public int getReceiveBufferSize() {
            return this.smbRecvBufferSize;
        }
    
        @Override
        public int getNotifyBufferSize() {
            return this.smbNotifyBufferSize;
        }
    
        @Override
        public int getMaxMpxCount() {
            return this.maxMpxCount;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

        /**
         *
         * Property {@code jcifs.smb.client.notify_buf_size} (int, default 1024)
         *
         * @return the size of the requested server notify buffer
         */
        int getNotifyBufferSize();
    
        /**
         *
         *
         * Property {@code jcifs.smb.client.maxRequestRetries} (int, default 2)
         *
         * @return retry SMB requests on failure up to n times
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top