Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 182 for endswith (0.06 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                    assertTrue(name.matches("[A-Z_]+"), "Constant " + name + " should follow UPPER_SNAKE_CASE convention");
                    // Check that all constants end with _SECURITY_INFO
                    assertTrue(name.endsWith("_SECURITY_INFO"), "Constant " + name + " should end with _SECURITY_INFO");
                }
            }
        }
    
        @Test
        @DisplayName("Test SecurityInfo interface is public")
        void testInterfaceIsPublic() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            // Test toString method
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("TransTransactNamedPipeResponse["));
            assertTrue(result.endsWith("]"));
        }
    
        @Test
        void testGetResponseLength() throws Exception {
            // Test getResponseLength method
            // First, set dataCount using reflection (since setDataCount is in parent class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                assertEquals(Constants.GET_METHOD, responseData.getMethod());
                assertEquals("text/plain", responseData.getMimeType());
                assertTrue(responseData.getUrl().endsWith("text1.txt"));
                final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
                assertEquals("test1", content.trim());
            } finally {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            if (!query.startsWith("*")) {
                queryBuf.append('*');
            }
            queryBuf.append(toLowercaseWildcard(query));
            if (!query.endsWith("*")) {
                queryBuf.append('*');
            }
            final String origQuery = queryBuf.toString();
            context.addFieldLog(Constants.DEFAULT_FIELD, origQuery);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/util/StringUtilTest.java

            String result = StringUtil.join(",", longString1, longString2);
            assertEquals(2001, result.length()); // 1000 + 1 + 1000
            assertTrue(result.startsWith("aaa"));
            assertTrue(result.endsWith("bbb"));
            assertTrue(result.contains(","));
        }
    
        @Test
        @DisplayName("Should handle long delimiter")
        void testJoinWithLongDelimiter() {
            String longDelimiter = "=".repeat(100);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

            }
    
            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 {
                paramMap.put(Client.USER_AGENT, userAgent);
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            }
            if (lineNum == 0 || list.isEmpty()) {
                return "<pre class=\"" + style + "\">" + input + "</pre>";
            }
            int lastIndex = list.size();
            if (list.get(list.size() - 1).endsWith("...")) {
                lastIndex--;
            }
            if (lastIndex <= 0) {
                lastIndex = 1;
            }
            final String content = list.subList(0, lastIndex).stream().collect(Collectors.joining("\n"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                if (fileConfigPager.description.startsWith("*")) {
                    cb.query().setDescription_Wildcard(fileConfigPager.description);
                } else if (fileConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(fileConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(fileConfigPager.description);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertTrue(s.contains(",resumeKey=0x0304"), "toString should include lower 16-bit resumeKey hex");
            assertTrue(s.contains(",flags=0x00"), "toString should include flags in hex");
            assertTrue(s.endsWith("]"), "toString should end with closing bracket");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/WebConfigService.java

                if (webConfigPager.description.startsWith("*")) {
                    cb.query().setDescription_Wildcard(webConfigPager.description);
                } else if (webConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(webConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
                    cb.query().setDescription_MatchPhrase(webConfigPager.description);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top