- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 76 for separators (0.07 seconds)
-
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
assertTrue(result.contains("role1role2")); assertTrue(result.contains("field1field2")); assertTrue(result.contains("exclude1exclude2")); // Count separators long separatorCount = result.chars().filter(ch -> ch == '\n').count(); assertEquals(4, separatorCount); } @Test public void test_getCacheKey_nullParameters() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/JvmUtilTest.java
assertEquals(17, JvmUtil.getJavaVersion()); // Test with underscore separators in old format System.setProperty("java.version", "1.8.0_301"); assertEquals(8, JvmUtil.getJavaVersion()); } @Test public void test_getJavaVersion_variousFormats() { // Test different separator combinations System.setProperty("java.version", "11.0.15.1");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.6K bytes - Click Count (0) -
tests/benchmarks/test_general_performance.py
assert body == b'{"received":300}' def _expected_large_payload_json_bytes() -> bytes: return json.dumps( LARGE_PAYLOAD, ensure_ascii=False, allow_nan=False, separators=(",", ":"), ).encode("utf-8") def test_sync_return_large_dict_without_response_model( benchmark, client: TestClient ) -> None: status_code, body = _bench_get(Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 20:40:26 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java
assertEquals("a/b/c.log", AdminLogAction.sanitizeFilename("a//b///c.log")); } @Test public void test_sanitizeFilename_windowsPathSeparators() { // Windows path separators are normalized to forward slashes assertEquals("test/file.log", AdminLogAction.sanitizeFilename("test\\file.log")); assertEquals("/test.log", AdminLogAction.sanitizeFilename("..\\test.log"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
* Returns a splitter that uses the given single-character separator. For example, {@code * Splitter.on(',').split("foo,,bar")} returns an iterable containing {@code ["foo", "", "bar"]}. * * @param separator the character to recognize as a separator * @return a splitter, with default settings, that recognizes that separator */ public static Splitter on(char separator) { return on(CharMatcher.is(separator)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
src/bytes/bytes.go
func isSeparator(r rune) bool { // ASCII alphanumerics and underscore are not separators if r <= 0x7F { switch { case '0' <= r && r <= '9': return false case 'a' <= r && r <= 'z': return false case 'A' <= r && r <= 'Z': return false case r == '_': return false } return true } // Letters and digits are not separators if unicode.IsLetter(r) || unicode.IsDigit(r) { return false
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
guava/src/com/google/common/base/Splitter.java
* Returns a splitter that uses the given single-character separator. For example, {@code * Splitter.on(',').split("foo,,bar")} returns an iterable containing {@code ["foo", "", "bar"]}. * * @param separator the character to recognize as a separator * @return a splitter, with default settings, that recognizes that separator */ public static Splitter on(char separator) { return on(CharMatcher.is(separator)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* lookups. * * <p>During construction, names are normalized in two ways: * * <ol> * <li>ASCII uppercase characters are converted to lowercase. * <li>Unicode dot separators other than the ASCII period ({@code '.'}) are converted to the ASCII * period. * </ol> * * <p>The normalized values will be returned from {@link #toString()} and {@link #parts()}, and will
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
@Test public void test_FilePurgeVisitor_getDocId() throws IOException { // Test the getDocId logic without creating actual FilePurgeVisitor // The logic converts path to doc ID by removing path separators String pathStr = "_1/_2/docid123"; String expectedDocId = "_1_2docid123"; String actualDocId = pathStr.replace("/", "").replace("\\", ""); assertEquals(expectedDocId, actualDocId); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
String value = "12345|role1;role2;role3"; roleQueryHelper.parseRoleSet(value, false, roleSet); // The implementation may parse roles differently with custom separators assertTrue(roleSet.size() >= 0); } @Test public void test_parseRoleSet_decryptionFailure() { final RoleQueryHelper roleQueryHelper = new RoleQueryHelper();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0)