- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for ab2c (0.02 sec)
-
src/main/java/org/codelibs/core/lang/StringUtil.java
* <p> * Usage example: * </p> * * <pre> * StringUtil.decapitalize("UserId") = "userId" * StringUtil.decapitalize("ABC") = "ABC" * </pre> * * @param name * the string to decapitalize * @return the decapitalized string */ public static String decapitalize(final String name) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("", StringUtil.substringToLast("abc", "c")); assertEquals("c", StringUtil.substringToLast("abc", "b")); assertEquals("c", StringUtil.substringToLast("abcbc", "b")); assertEquals("abc", StringUtil.substringToLast("abc", "")); assertEquals("abc", StringUtil.substringToLast("abc", null)); assertEquals("abc", StringUtil.substringToLast("abc", "dddd")); } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizerTest.java
FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer(); String result = normalizer.normalize("abc あいう 123", "field"); assertEquals("abc あいう 123", result); } @Test public void test_fullWidthSpacePreserved() throws Exception {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java
String result = chain.normalize("abc", "field"); assertEquals("abc", result); } @Test public void test_multipleNormalizers() throws Exception { NormalizerChain chain = new NormalizerChain(); chain.add(new FullWidthToHalfWidthAlphabetNormalizer()); chain.add(new HankakuKanaToZenkakuKana()); String result = chain.normalize("abc ガ", "field");Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/DefaultNormalizerTest.java
@Test public void test_normalize() throws Exception { Normalizer normalizer = SuggestUtil.createDefaultNormalizer(runner.client(), suggester.settings()); assertEquals("12345,.*[]「」abcケンサクabcdけんさくガギグゲゴ", normalizer.normalize("12345,.*[]「」ABCケンサクabcdけんさくガギグゲゴ", null)); }Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Nov 01 13:29:47 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKanaTest.java
public void test_mixedWithOtherCharacters() throws Exception { HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); String result = normalizer.normalize("abc アイウ 123", "field"); assertEquals("abc アイウ 123", result); } @Test public void test_wa() throws Exception { HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
// These test cases ensure that the new java.util.Base64 implementation // produces the same output as the old custom implementation // Test case 1: Standard padding final byte[] data1 = "abc".getBytes(); assertEquals("YWJj", Base64Util.encode(data1)); // Test case 2: Single padding final byte[] data2 = "abcd".getBytes(); assertEquals("YWJjZA==", Base64Util.encode(data2));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
assertEquals('t', stream.read()); } public void test_read_delegatesToUnderlying() throws IOException { // Test that read() delegates to underlying stream byte[] data = "ABC".getBytes(); InputStream underlyingStream = new ByteArrayInputStream(data); IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream); assertEquals('A', stream.read());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
// Invalid priority assertFalse(sitemapsHelper.isValidPriority("-0.1")); assertFalse(sitemapsHelper.isValidPriority("1.1")); assertFalse(sitemapsHelper.isValidPriority("abc")); // Valid changefreq assertTrue(sitemapsHelper.isValidChangefreq("always")); assertTrue(sitemapsHelper.isValidChangefreq("hourly"));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 36.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
assertTrue(robotsTxt.allows("/anything", "AnyBot")); } public void testParse_malformedCrawlDelay() { String robotsTxtContent = "User-agent: TestBot\n" + "Crawl-delay: abc\n" + "Disallow: /test/\n"; RobotsTxt robotsTxt; final InputStream in = new java.io.ByteArrayInputStream(robotsTxtContent.getBytes()); try { robotsTxt = robotsTxtHelper.parse(in);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0)