Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 130 for gracefully (0.07 sec)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

         * Tests for edge cases and error conditions
         */
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null configuration gracefully")
            void testNullConfiguration() {
                // When & Then - Should not throw exception
                assertDoesNotThrow(() -> {
                    new Smb2TreeConnectResponse(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertNotNull(item.getTimestamp());
            assertNotNull(item.getId());
        }
    
        @Test
        public void testConstructorWithNullArrays() {
            // Test constructor handles null arrays gracefully
            String[] text = { "text" };
            String[][] readings = { { "reading" } };
    
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.DOCUMENT);
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/primitives/Floats.java

          // extensive testing
          try {
            return Float.parseFloat(string);
          } catch (NumberFormatException e) {
            // Float.parseFloat has changed specs several times, so fall through
            // gracefully
          }
        }
        return null;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. 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)
  10. guava/src/com/google/common/primitives/Doubles.java

          // extensive testing
          try {
            return Double.parseDouble(string);
          } catch (NumberFormatException e) {
            // Double.parseDouble has changed specs several times, so fall through
            // gracefully
          }
        }
        return null;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
Back to top