- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for precedence (2.5 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java
// Test that allow takes precedence over disallow RobotsTxt robotsTxt = new RobotsTxt(); Directive directive = new Directive("MyBot"); directive.addDisallow("/admin/"); directive.addAllow("/admin/public/"); robotsTxt.addDirective(directive); // Allow should take precedence assertTrue(robotsTxt.allows("/admin/public/page.html", "MyBot"));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/EditForm.java
* This form extends CreateForm to include fields necessary for updating existing stemmer override entries. * Stemmer overrides define custom stemming rules that take precedence over the default stemming algorithm. * */ public class EditForm extends CreateForm { /** * Creates a new EditForm instance. */ public EditForm() { super(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
* According to RFC 9309: * 1. Find the longest matching pattern (by priority length) * 2. If both Allow and Disallow patterns match with the same length, Allow takes precedence * 3. If no pattern matches, the path is allowed by default * * @param path the path to check * @return true if the path is allowed, false otherwise */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
// When PropertyConfiguration testConfig = new PropertyConfiguration(props); // Then // System properties should take precedence (if implemented) String domain = testConfig.getDefaultDomain(); assertTrue(domain.equals("systemdomain") || domain.equals("propsdomain")); } finally { // CleanupRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
assertEquals("SystemOS", context.getConfig().getNativeOs()); } @Test void testInitPropertyPrecedence(@TempDir Path tempDir) throws IOException, CIFSException { // Test property precedence: custom > system > jcifs.properties Path jcifsPropertiesPath = tempDir.resolve("jcifs.properties"); Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
// Add conflicting patterns urlFilter.addInclude("https://example.com/.*"); urlFilter.addExclude("https://example.com/.*"); // Exclude should take precedence assertFalse(urlFilter.match("https://example.com/page")); } /** * Test URL normalization scenarios */ public void test_urlNormalization() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
// Test SameLengthBot - Allow wins when same length as Disallow // Disallow: /page, Allow: /page assertTrue(robotsTxt.allows("/page", "SameLengthBot")); // Allow takes precedence assertTrue(robotsTxt.allows("/page.html", "SameLengthBot")); // Test MultiWildcardBot - multiple wildcards in pattern // Disallow: /*.cgi* - should block URLs with .cgi anywhereRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
} @Test @DisplayName("getAddress/getFirstAddress resolution branches and iteration") void testAddressResolutionAndIteration() throws Exception { // Query parameter 'server' takes precedence UniAddress a1 = mock(UniAddress.class); when(nsc.getByName("srv-from-query")).thenReturn(a1); SmbResourceLocatorImpl l1 = locator("smb://host/share?server=srv-from-query");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
* The Type-2 message which this represents a response to. * @param targetName * SPN of the target system, optional * @param passwordHash * The NT password hash, takes precedence over password (which is no longer required unless legacy LM * authentication is needed) * @param password * The password to use when constructing the response. * @param domainRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 32.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java
/** * Create RDMA provider based on preference string * * @param preference provider preference ("auto", "disni", "tcp", etc.) * @return best available RDMA provider, or null if none available */ public static RdmaProvider createProvider(String preference) { if ("auto".equalsIgnoreCase(preference)) { return selectBestProvider(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.2K bytes - Viewed (0)