Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 130 for gracefully (1.22 sec)

  1. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

             */
            public boolean isFinished() {
                return finished;
            }
    
            /**
             * Stops the crawling operation gracefully.
             * If a data store is currently active, this method calls
             * its stop method to halt the crawling process.
             */
            public void stopCrawling() {
                if (dataStore != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

            // Closing should send a single Smb2CloseRequest
            it.close();
            verify(tree).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest));
        }
    
        @Test
        @DisplayName("open() gracefully handles NT_STATUS_NO_SUCH_FILE (empty listing)")
        void open_handles_no_such_file_and_yields_empty() throws Exception {
            // Setup required for this test
            when(parent.getLocator()).thenReturn(locator);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            SMBUtil.writeInt4(8, buffer, notifyOffset + 8);
            System.arraycopy("test".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 8);
    
            // When & Then - should handle gracefully
            assertThrows(Exception.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify NotifyResponse interface implementation")
    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. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertTrue(sitemaps.length >= 3); // At least the valid ones should be parsed
    
            // Test NumericBot - various crawl-delay formats
            // Should handle edge cases gracefully
            assertTrue(robotsTxt.getCrawlDelay("NumericBot") >= 0);
    
            // Test TabBot - tab characters should be treated as whitespace
            assertFalse(robotsTxt.allows("/tab1/", "TabBot"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(24, SMBUtil.readInt2(buffer, 0));
            assertEquals(testFlags, SMBUtil.readInt2(buffer, 2));
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null file ID should handle gracefully")
        void testWriteBytesWireFormatWithNullFileId() {
            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            byte[] buffer = new byte[256];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. cmd/server-main.go

    		EnvVar: "MINIO_CONSOLE_ADDRESS",
    	},
    	cli.DurationFlag{
    		Name:   "shutdown-timeout",
    		Value:  time.Second * 30,
    		Usage:  "shutdown timeout to gracefully shutdown server (DEPRECATED)",
    		EnvVar: "MINIO_SHUTDOWN_TIMEOUT",
    		Hidden: true,
    	},
    
    	cli.DurationFlag{
    		Name:   "idle-timeout",
    		Value:  xhttp.DefaultIdleTimeout,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  7. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Then
            assertEquals(0, bytesWritten);
            assertArrayEquals(originalBuffer, buffer); // Buffer should remain unchanged
        }
    
        @Test
        @DisplayName("Should handle null configuration gracefully")
        void testNullConfiguration() {
            // When - constructor accepts null config without throwing
            Smb2ReadResponse responseWithNull = new Smb2ReadResponse(null, outputBuffer, outputBufferOffset);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

        for (i in 0 until messageCount) {
          serverListener.assertBinaryMessage(message)
        }
        serverListener.assertClosing(1001, "")
    
        // When the server acknowledges the close the connection shuts down gracefully.
        server.close(1000, null)
        clientListener.assertClosing(1000, "")
        clientListener.assertClosed(1000, "")
        serverListener.assertClosed(1001, "")
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

        }
    
        /**
         * Test remove method with non-existing type
         */
        @Test
        @DisplayName("Remove should handle non-existing type gracefully")
        void testRemoveNonExisting() {
            List<AvPair> pairs = new LinkedList<>();
            AvTimestamp timestamp = new AvTimestamp(new byte[8]);
            pairs.add(timestamp);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.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
    - 25.3K bytes
    - Viewed (0)
Back to top