Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 251 for webconfig (1.94 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

        private DirectoryLeaseManager directoryLeaseManager;
        private AutoCloseable mocks;
    
        @BeforeEach
        public void setUp() {
            mocks = MockitoAnnotations.openMocks(this);
            when(context.getConfig()).thenReturn(config);
            when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Disable for unit tests
    
            directoryLeaseManager = new DirectoryLeaseManager(context, baseLeaseManager);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            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
        @DisplayName("Should create request with configuration and file ID")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                Thread t = new Thread(r, "LeaseManager-Cleanup");
                t.setDaemon(true);
                return t;
            });
    
            // Schedule periodic cleanup
            long cleanupInterval = context.getConfig().getLeaseTimeout();
            if (cleanupInterval <= 0) {
                cleanupInterval = DEFAULT_LEASE_CLEANUP_INTERVAL;
            }
    
            final long finalCleanupInterval = cleanupInterval;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            props.setProperty("jcifs.smb.client.channelHealthCheckInterval", "5");
    
            multiConfig = new PropertyConfiguration(props);
    
            // Mock context and session for ChannelManager
            when(mockContext.getConfig()).thenReturn(multiConfig);
            when(mockSession.getSessionKey()).thenReturn(new byte[16]);
    
            channelManager = new ChannelManager(mockContext, mockSession);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            final Map<String, Object> newDataMap = new LinkedHashMap<>();
            for (final Map.Entry<String, Object> e : dataMap.entrySet()) {
                if (fieldConfigs.getConfig(e.getKey()).map(FieldConfigs.Config::isOverwrite).orElse(false)
                        && e.getValue() instanceof final Object[] values && values.length > 0) {
                    newDataMap.put(e.getKey(), values[values.length - 1]);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            when(pipe.getPipeType()).thenReturn(SmbPipeResource.PIPE_TYPE_RDWR);
            when(pipe.getUncPath()).thenReturn("\\\\pipe\\\\my-pipe");
    
            // Setup tree with configuration
            when(tree.getConfig()).thenReturn(config);
            when(tree.getSendBufferSize()).thenReturn(65536);
            when(config.getPid()).thenReturn(12345);
            when(config.getSendBufferSize()).thenReturn(65536);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        private byte[] testFileId;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
            when(mockConfig.getListSize()).thenReturn(65536);
    
            testFileId = new byte[16];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        }
    
        @Override
        protected Smb2IoctlResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2IoctlResponse> req) {
            return new Smb2IoctlResponse(tc.getConfig(), this.outputBuffer, this.controlCode);
        }
    
        /**
         * Set the IOCTL flags
         * @param flags the flags to set
         */
        public void setFlags(final int flags) {
            this.flags = flags;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessClient.java

            return shareMatch || addressMatch;
        }
    
        /**
         * Checks for expired registrations based on heartbeat timeouts.
         */
        private void checkHeartbeats() {
            long timeout = context.getConfig().getWitnessHeartbeatTimeout();
    
            for (WitnessRegistration registration : registrations.values()) {
                if (registration.isExpired(timeout)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

        void testConstructor() {
            // Given & When
            Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig);
    
            // Then
            assertNotNull(flushResponse);
            // Cannot test getConfig() as it's protected
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat tests")
        class WriteBytesWireFormatTests {
    
            @Test
            @DisplayName("Should return 0 for write bytes")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top