Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for gracefully (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            ConfigurableRule rule = new ConfigurableRule();
            rule.setRuleId("nullTest");
            rule.setResponseProcessor(new TestResponseProcessor("nullProcessor"));
    
            // Should handle null gracefully
            assertFalse(rule.match(null));
        }
    
        /**
         * Test Rule with null rule ID
         */
        public void test_nullRuleId() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            }
        }
    
        @Nested
        @DisplayName("Encoding Tests")
        class EncodingTests {
    
            @Test
            @DisplayName("encode_in should handle null binding gracefully")
            void testEncodeInWithNullBinding() throws Exception {
                // Given
                when(mockHandle.getMaxXmit()).thenReturn(1024);
                when(mockHandle.getMaxRecv()).thenReturn(1024);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. docs/smb3-features/06-witness-protocol-design.md

        
        SmbSession session = new SmbSession(context, transport);
        session.initializeWitnessSupport();
        
        // Should either find witness service or gracefully handle absence
        // No exception should be thrown
    }
    
    private static class TestWitnessListener implements WitnessClient.WitnessNotificationListener {
        private volatile boolean notificationReceived = false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                byte[] shortFileId = new byte[8];
                Arrays.fill(shortFileId, (byte) 0xAB);
                request.setFileId(shortFileId);
    
                byte[] buffer = new byte[256];
    
                // Should handle gracefully or throw appropriate exception
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/audit/SecurityAuditLogger.java

                    } catch (Exception e) {
                        log.error("Error processing audit log entry", e);
                    }
                }
            });
        }
    
        /**
         * Shutdown the audit logger gracefully
         */
        public void shutdown() {
            shutdown = true;
            logExecutor.shutdown();
            try {
                if (!logExecutor.awaitTermination(5, TimeUnit.SECONDS)) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                crawlingInfoHelper.putToInfoMap(key, dateFormat.format(new Date()));
            }
        }
    
        /**
         * Waits for a crawler thread to complete execution.
         * This method handles interruptions gracefully and logs when a crawler process is interrupted.
         *
         * @param crawlerThread the thread to wait for; null threads are ignored
         */
        private void joinCrawlerThread(final Thread crawlerThread) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  7. docs/SMB3_IMPLEMENTATION_PLAN.md

    4. **Backward Compatibility**: Must maintain compatibility with SMB2/SMB1
    
    ### Mitigation Strategies
    1. Implement features behind configuration flags
    2. Provide graceful fallback mechanisms
    3. Extensive testing with various server configurations
    4. Phased rollout with beta testing
    
    ## Resource Requirements
    
    ### Development Team
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                    ist.interrupt();
                }
            }
            return -1; // Indicate failure
        }
    
        /**
         * Timer task for destroying processes that exceed their timeout.
         * Handles graceful and forceful termination of thumbnail generation processes.
         */
        protected static class ProcessDestroyer extends TimerTask {
    
            /** The process to monitor and destroy. */
            private final Process p;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top