Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for match (0.02 sec)

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

            responseData.setUrl("http://example.com");
    
            assertTrue(rule.match(responseData));
            assertTrue(rule.match(responseData));
            assertTrue(rule.match(responseData));
            assertEquals(3, rule.getMatchCallCount());
        }
    
        /**
         * Test Rule with always false match
         */
        public void test_ruleNeverMatch() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            // Without any patterns, all URLs should match
            assertTrue(urlFilter.match("https://example.com/"));
            assertTrue(urlFilter.match("https://test.com/page"));
            assertTrue(urlFilter.match("ftp://files.com/document.pdf"));
            assertTrue(urlFilter.match("file:///home/user/file.txt"));
        }
    
        /**
         * Test match with complex URL patterns
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

        }
    
        /**
         * Test match method implementation
         */
        public void test_match_implementation() {
            ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com");
    
            // Test default match (true)
            assertTrue(testRule.match(responseData));
            assertEquals(1, testRule.getMatchCallCount());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                fail("Should throw IndexOutOfBoundsException for negative index");
            } catch (IndexOutOfBoundsException e) {
                // Expected
            }
    
            try {
                ruleManager.addRule(5, rule2);
                fail("Should throw IndexOutOfBoundsException for index > size");
            } catch (IndexOutOfBoundsException e) {
                // Expected
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

                assertTrue(crawlerContext.getRobotsTxtUrlSet().contains("http://localhost:7070/robots.txt"));
                assertFalse(urlFilter.match("http://localhost:7070/admin/"));
                assertFalse(urlFilter.match("http://localhost:7070/websvn/"));
            } finally {
                server.stop();
            }
        }
    
        public void test_processRobotsTxt_disabled() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) {
    			return nil, err
    		}
    
    		// if object doesn't exist and not a replication request return error for If-Match conditional requests
    		// If-None-Match should be allowed to proceed for non-existent objects
    		if err != nil && !opts.ReplicationRequest && opts.HasIfMatch && (isErrObjectNotFound(err) || isErrVersionNotFound(err)) {
    			return nil, err
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  7. go.mod

    	github.com/segmentio/asm v1.2.0 // indirect
    	github.com/shoenig/go-m1cpu v0.1.6 // indirect
    	github.com/spiffe/go-spiffe/v2 v2.5.0 // indirect
    	github.com/tidwall/gjson v1.18.0 // indirect
    	github.com/tidwall/match v1.1.1 // indirect
    	github.com/tidwall/pretty v1.2.1 // indirect
    	github.com/tklauser/go-sysconf v0.3.15 // indirect
    	github.com/tklauser/numcpus v0.10.0 // indirect
    	github.com/unrolled/secure v1.17.0 // indirect
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:33:19 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

                                Thread.sleep(10);
                            } catch (InterruptedException e) {
                                Thread.currentThread().interrupt();
                                break;
                            }
                        }
                        statusReadLatch.countDown();
                    } catch (Exception e) {
                        statusReadLatch.countDown();
                    }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  9. cmd/object-api-interface.go

    	NoLock                              bool      // indicates to lower layers if the caller is expecting to hold locks.
    	HasIfMatch                          bool      // indicates if the request has If-Match header
    	ProxyRequest                        bool      // only set for GET/HEAD in active-active replication scenario
    	ProxyHeaderSet                      bool      // only set for GET/HEAD in active-active replication scenario
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    			}
    		} else {
    			// If bytealg.Index is not available a brute force search is
    			// ~1.5-3x faster than Rabin-Karp since n is small.
    			c0 := b[last]
    			c1 := b[last-1] // There are at least 2 chars to match
    		loop:
    			for ; i < len(s); i++ {
    				if s[i] == c0 && s[i-1] == c1 {
    					for k := 2; k < n; k++ {
    						if s[i-k] != b[last-k] {
    							continue loop
    						}
    					}
    					return i - last
    				}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top