Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 106 for isIgnored (0.06 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

     * and ignored. Otherwise, they will be re-thrown as {@link CrawlerSystemException}.
     * </p>
     *
     */
    public abstract class AbstractIntervalController implements IntervalController {
    
        private static final Logger logger = LogManager.getLogger(AbstractIntervalController.class);
    
        /**
         * Indicates whether exceptions during the delay process should be ignored.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 08:58:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. cmd/utils_test.go

    func TestIsErrIgnored(t *testing.T) {
    	errIgnored := fmt.Errorf("ignored error")
    	testCases := []struct {
    		err     error
    		ignored bool
    	}{
    		{
    			err:     nil,
    			ignored: false,
    		},
    		{
    			err:     errIgnored,
    			ignored: true,
    		},
    		{
    			err:     errFaultyDisk,
    			ignored: true,
    		},
    	}
    	for i, testCase := range testCases {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. schema/schema_test.go

    		{Name: "Name", DBName: "company_name", BindNames: []string{"Base", "Name"}, DataType: schema.String, TagSettings: map[string]string{"EMBEDDED": "EMBEDDED", "EMBEDDEDPREFIX": "company_"}},
    		{Name: "Ignored", BindNames: []string{"Base", "Ignored"}, TagSettings: map[string]string{"-": "-", "EMBEDDED": "EMBEDDED", "EMBEDDEDPREFIX": "company_"}},
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Aug 28 02:57:17 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

            // Test that close() is ignored
            byte[] data = "Test data".getBytes();
            ByteArrayInputStream underlyingStream = new ByteArrayInputStream(data);
            IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream);
    
            // Read some data
            assertEquals('T', stream.read());
    
            // Close should be ignored
            stream.close();
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            // Invalid directives should not cause parsing to fail
    
            // Test crawl-delay with invalid values
            // Invalid number should be ignored, valid ones should work
            assertEquals(0, robotsTxt.getCrawlDelay("GoodBot")); // invalid values ignored
    
            // Test MultiColonBot - colons in paths should be preserved
            assertFalse(robotsTxt.allows("http://example.com:8080/path", "MultiColonBot"));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    Sitemap: http://example.com/sitemap.xml
    sitemap: http://example.com/sitemap2.xml
    SITEMAP: http://example.com/sitemap3.xml
    Sitemap:    # empty sitemap (should be ignored)
    Sitemap: not-a-valid-url
    
    # Case 12: Malformed lines that should be completely ignored
    This line is completely invalid
    :NoKey
    NoValue:
    :::
       :
    
    # Case 13: Numeric crawl-delay edge cases
    User-agent: NumericBot
    Crawl-delay: 0
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 14 12:52:01 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. cmd/leak-detect_test.go

    	return func() {
    		initialStackSnapShot.DetectLeak(t)
    	}
    }
    
    // list of functions to be ignored from the stack trace.
    // Leak detection is done when tests are run, should ignore the tests related functions,
    // and other runtime functions while identifying leaks.
    var ignoredStackFns = []string{
    	"",
    	// Below are the stacks ignored by the upstream leaktest code.
    	"testing.Main(",
    	"testing.tRunner(",
    	"testing.tRunner(",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        inputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        outputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        inputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        outputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. internal/logger/logger.go

    // the execution of the server, if it is not an
    // ignored error.
    func LogIf(ctx context.Context, subsystem string, err error, errKind ...any) {
    	if logIgnoreError(err) {
    		return
    	}
    	logIf(ctx, subsystem, err, errKind...)
    }
    
    // LogIfNot prints a detailed error message during
    // the execution of the server, if it is not an ignored error (either internal or given).
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top