Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 489 for startswith (0.06 seconds)

  1. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

                paramMap.put(Param.Client.ROBOTS_TXT_ENABLED, !fessConfig.isCrawlerIgnoreRobotsTxt());
            }
    
            final String userAgent = getUserAgent();
            if (!StringUtil.isNotBlank(userAgent) || (userAgent.startsWith(Constants.CRAWLING_USER_AGENT_PREFIX)
                    && userAgent.endsWith(Constants.CRAWLING_USER_AGENT_SUFFIX))) {
                paramMap.put(Client.USER_AGENT, fessConfig.getUserAgentName());
            } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

        }
    
        @Test
        void testServiceAddressFormatting() {
            String serviceAddr = mockService.getServiceAddress();
            assertNotNull(serviceAddr);
            assertTrue(serviceAddr.startsWith("ncacn_ip_tcp:"));
            assertTrue(serviceAddr.contains("["));
            assertTrue(serviceAddr.contains("]"));
        }
    
        /**
         * Integration test that would require a real cluster environment.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/SmbResourceLocatorTest.java

                if (urlStr == null) {
                    throw new IllegalArgumentException("URL string must not be null");
                }
                if (!urlStr.startsWith("smb://")) {
                    throw new MalformedURLException("Only SMB URLs are supported in the dummy implementation");
                }
                this.urlStr = urlStr;
    
                // Parse SMB URL manually
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

                    + (version != null ? version : "<version unknown>")
                    + (rev != null ? " (" + rev + ")" : "");
        }
    
        private static String reduce(String s) {
            return (s != null ? (s.startsWith("${") && s.endsWith("}") ? null : s) : null);
        }
    
        public static Properties getBuildProperties() {
            Properties properties = new Properties();
    
            try (InputStream resourceAsStream =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 10 15:37:54 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            securityDescriptor.decode(testBuffer, 0, testBuffer.length);
    
            String result = securityDescriptor.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("SecurityDescriptor:"));
            assertFalse(result.contains("NULL"));
        }
    
        @Test
        @DisplayName("Test toString without ACEs")
        void testToStringWithoutAces() throws SMBProtocolDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                cb.query().setPaths_Wildcard(wrapQuery(fileConfigPager.paths));
            }
            if (StringUtil.isNotBlank(fileConfigPager.description)) {
                if (fileConfigPager.description.startsWith("*")) {
                    cb.query().setDescription_Wildcard(fileConfigPager.description);
                } else if (fileConfigPager.description.endsWith("*")) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            String name = "name";
            Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, name);
    
            // When
            String s = next.toString();
    
            // Then
            assertTrue(s.startsWith("Trans2FindNext2["), "toString should start with class name");
            assertTrue(s.contains(",sid=" + sid), "toString should include sid in decimal");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

                    new Trans2QueryFSInformationResponse(Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION);
            String responseString = response.toString();
            assertTrue(responseString.startsWith("Trans2QueryFSInformationResponse["), "toString should start with the class name");
            // The toString implementation only includes the parent's toString, which may not include subCommand details
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                    if (basePath != null) {
                        final String baseCanonicalPath = new File(basePath).getCanonicalPath();
                        allowedPaths.add(baseCanonicalPath);
                        if (canonicalPath.startsWith(baseCanonicalPath)) {
                            isAllowed = true;
                            break;
                        }
                    }
                }
                if (!allowedPaths.isEmpty() && !isAllowed) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                            @Override
                            public boolean isCommandOrScript(String command) {
                                return command.startsWith("!") || super.isCommandOrScript(command);
                            }
                        };
                systemRegistry.setCommandRegistries(holder.getCommandRegistries());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top