- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 532 for chars (0.02 seconds)
-
guava-tests/test/com/google/common/hash/HashTestUtils.java
HashFunction hashFunction, Random random) { int size = random.nextInt(8) + 1; char[] chars = new char[size]; for (int i = 0; i < chars.length; i++) { chars[i] = random.nextBoolean() ? randomLowSurrogate(random) : randomHighSurrogate(random); } String string = new String(chars); assertEquals( hashFunction.hashUnencodedChars(string),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
} @Test public void test_constructor_withSpecialCharactersInMessage() { // Test constructor with special characters in message final String message = "Job failed with special chars: \n\t\r\"'<>&"; final JobProcessingException exception = new JobProcessingException(message); assertNotNull(exception); assertEquals(message, exception.getMessage()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
+ "1234567890"; assertThat(xmlEscaper.escape(s)).isEqualTo(s); // Test ASCII control characters. for (char ch = 0; ch < 0x20; ch++) { if (ch == '\t' || ch == '\n' || ch == '\r') { // Only these whitespace chars are permitted in XML, if (shouldEscapeWhitespaceChars) { assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
.isEqualTo(1); assertThat( Chars.indexOf( new char[] {(char) 2, (char) 3, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3}, new char[] {(char) 2, (char) 3, (char) 4})) .isEqualTo(2); assertThat( Chars.indexOf( new char[] {(char) 2, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3, (char) 4},
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
docs/distributed/samples/bootstrap-complete.ldif
dn: uid=fahim,ou=people,ou=swengg,dc=min,dc=io objectClass: inetOrgPerson cn: Fahim Ahmed sn: Ahmed uid: fahim mail: ******@****.*** userPassword: {SSHA}lRNH+PHooRaruiEb+CBEA21EZLMkAmcc # Add a user with special chars. The password = example here. dn: uid=Пользователь,OU=people,OU=swengg,DC=min,DC=io objectClass: inetOrgPerson cn: Special Charsman sn: Charsman uid: Пользователь mail: ******@****.***Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Sep 12 15:59:00 GMT 2024 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
.isEqualTo(1); assertThat( Chars.indexOf( new char[] {(char) 2, (char) 3, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3}, new char[] {(char) 2, (char) 3, (char) 4})) .isEqualTo(2); assertThat( Chars.indexOf( new char[] {(char) 2, (char) 2, (char) 3, (char) 4, (char) 2, (char) 3, (char) 4},
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
while (i + 4 <= utf16Length) { char c0 = input.charAt(i); char c1 = input.charAt(i + 1); char c2 = input.charAt(i + 2); char c3 = input.charAt(i + 3); if (c0 < 0x80 && c1 < 0x80 && c2 < 0x80 && c3 < 0x80) { int k1 = c0 | (c1 << 8) | (c2 << 16) | (c3 << 24); k1 = mixK1(k1); h1 = mixH1(h1, k1); i += 4;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 11.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
verifyHostname(hostname, it) } } /** * This is like [toLowerCase] except that it does nothing if this contains any non-ASCII * characters. We want to avoid lower casing special chars like U+212A (Kelvin symbol) because * they can return ASCII characters that match real hostnames. */ private fun String.asciiToLowercase(): String = when { isAscii() -> lowercase(Locale.US)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
assertNull(result); } @Test public void test_smartSummary_exactlyAtBudget() { // omitMarker = "\n...[omitted]...\n" (18 chars), suffix="" (no sources), bodyBudget = 500 - 0 - 18 = 482 // Content of 482 chars is <= bodyBudget, so returned with suffix (empty) appended as-is final String content = "X".repeat(482); final ChatMessage msg = ChatMessage.assistantMessage(content);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 40.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/FacetResponseTest.java
// Test various complex field names String[] fieldNames = { "simple_field", "field-with-dashes", "field.with.dots", "field_with_underscores", "fieldWithCamelCase", "field with spaces", "field@with#special!chars", "フィールド名", "字段名称", "필드명" }; for (String fieldName : fieldNames) { String encoded = BaseEncoding.base64().encode(fieldName.getBytes(StandardCharsets.UTF_8));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.7K bytes - Click Count (0)