Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for gracefully (0.05 sec)

  1. CLAUDE.md

    void addUrl(String url)         // Add URL to queue
    void cleanup(String sessionId)  // Clean up session
    void stop()                     // Stop gracefully
    ```
    
    **Key Fields**: `crawlerContext`, `urlFilter`, `intervalController`, `clientFactory`, `ruleManager`
    
    ### CrawlerContext (`CrawlerContext.java`)
    
    Execution context and configuration.
    
    **Important Fields**:
    ```java
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertEquals("single_share", entries[0].getName());
            assertEquals(8, entries[0].getType()); // TYPE_SHARE constant value
        }
    
        @Test
        @DisplayName("getEntries should handle null DFS names gracefully")
        void testGetEntries_nullNames() throws Exception {
            // Create array with null name entries
            netdfs.DfsEnumArray200 arrayWithNulls = new netdfs.DfsEnumArray200();
            arrayWithNulls.count = 2;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16);
            assertArrayEquals(testFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null file ID should handle gracefully")
        void testWriteBytesWireFormatWithNullFileId() {
            Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null);
            byte[] buffer = new byte[256];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            d.parameterCount = 0;
            d.dataCount = 0;
            d.headerStart = 0;
    
            byte[] buf = new byte[100];
            int result = d.readBytesWireFormat(buf, 0);
    
            // Should handle empty read gracefully
            assertEquals(0, result, "Should return 0 for no data");
            assertTrue(d.getParametersDone(), "parametersDone should be true when total is 0");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        void testSetNullFileId() {
            // Given
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId);
    
            // When & Then - should handle null gracefully (implementation dependent)
            assertDoesNotThrow(() -> request.setFileId(null), "Should handle null file ID without throwing exception");
        }
    
        @Test
        @DisplayName("Should handle empty file ID")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                constructor.setAccessible(true);
                SmbComNtCancel cancel = constructor.newInstance(config, 1);
    
                byte[] emptyArray = new byte[0];
    
                // When & Then - should handle gracefully
                Method writeParams = SmbComNtCancel.class.getDeclaredMethod("writeParameterWordsWireFormat", byte[].class, int.class);
                writeParams.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertEquals((byte) 0x00, uuid.node[5]); // Missing data defaults to 0
            }
    
            @Test
            @DisplayName("Constructor with empty node array in rpc.uuid_t should handle gracefully")
            void testConstructorWithEmptyNode() {
                // Arrange
                rpc.uuid_t rpcUuid = new rpc.uuid_t();
                rpcUuid.time_low = TIME_LOW;
                rpcUuid.time_mid = TIME_MID;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @Test
            @DisplayName("Should handle malformed buffer gracefully")
            void testMalformedBuffer() {
                // Given - buffer with random data
                byte[] buffer = new byte[10];
                for (int i = 0; i < buffer.length; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

         */
        public void test_destroyObject_nullPooledObject() {
            try {
                factory.destroyObject(null);
                // Should not throw NPE - implementation should handle gracefully or throw
            } catch (NullPointerException e) {
                // Acceptable behavior
                assertTrue(true);
            } catch (Exception e) {
                // Other exceptions might be acceptable
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                            try {
                                // Test connection pool operations without actually connecting
                                boolean contains = pool.contains(null); // Should handle gracefully
                                successCount.incrementAndGet();
                            } catch (Exception e) {
                                synchronized (exceptions) {
                                    exceptions.add(e);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top