- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 210 for ascii (0.02 seconds)
-
okhttp/src/jvmTest/resources/web-platform-test-toascii.json
"output": null }, { "input": "xn--a.ß", "output": null }, { "input": "xn--ls8h=", "output": null }, { "comment": "Invalid Punycode (contains non-ASCII character)", "input": "xn--tešla", "output": null }, { "comment": "Valid Punycode", "input": "xn--zca.xn--zca", "output": "xn--zca.xn--zca" }, { "comment": "Mixed",
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
internal fun Array<String>.concat(value: String): Array<String> { val result = copyOf(size + 1) result[result.lastIndex] = value return result as Array<String> } /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */ internal fun String.indexOfFirstNonAsciiWhitespace( startIndex: Int = 0, endIndex: Int = length, ): Int { for (i in startIndex until endIndex) { when (this[i]) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
* It should write the dialect string to the destination array. */ @Test void testWriteBytesWireFormat() throws UnsupportedEncodingException { byte[] expectedBytes = DIALECTS.getBytes("ASCII"); byte[] dst = new byte[expectedBytes.length]; int dstIndex = 0; // Execute the method to write bytes int bytesWritten = smbComNegotiate.writeBytesWireFormat(dst, dstIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Utf8.java
// Warning to maintainers: this implementation is highly optimized. int utf16Length = sequence.length(); int utf8Length = utf16Length; int i = 0; // This loop optimizes for pure ASCII. while (i < utf16Length && sequence.charAt(i) < 0x80) { i++; } // This loop optimizes for chars less than 0x800. for (; i < utf16Length; i++) { char c = sequence.charAt(i);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
guava/src/com/google/common/base/Utf8.java
// Warning to maintainers: this implementation is highly optimized. int utf16Length = sequence.length(); int utf8Length = utf16Length; int i = 0; // This loop optimizes for pure ASCII. while (i < utf16Length && sequence.charAt(i) < 0x80) { i++; } // This loop optimizes for chars less than 0x800. for (; i < utf16Length; i++) { char c = sequence.charAt(i);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/AsciiTest.java
assertTrue(str, Ascii.isUpperCase(c)); } } public void testTruncate() { assertThat(Ascii.truncate("foobar", 10, "...")).isEqualTo("foobar"); assertThat(Ascii.truncate("foobar", 5, "...")).isEqualTo("fo..."); assertThat(Ascii.truncate("foobar", 6, "...")).isEqualTo("foobar"); assertThat(Ascii.truncate("foobar", 3, "...")).isEqualTo("...");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
assertTrue(str, Ascii.isUpperCase(c)); } } public void testTruncate() { assertThat(Ascii.truncate("foobar", 10, "...")).isEqualTo("foobar"); assertThat(Ascii.truncate("foobar", 5, "...")).isEqualTo("fo..."); assertThat(Ascii.truncate("foobar", 6, "...")).isEqualTo("foobar"); assertThat(Ascii.truncate("foobar", 3, "...")).isEqualTo("...");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/package-info.java
* library. * * <h2>Contents</h2> * * The classes in this package that are most commonly useful are: * * <h3>String utilities</h3> * * <ul> * <li>{@link Ascii} * <li>{@link CaseFormat} * <li>{@link CharMatcher} * <li>{@link Splitter} * <li>{@link Strings} * </ul> * * <h3>Function types</h3> * * <ul> * <li>{@link Converter}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/xml/XmlEscapersTest.java
assertThat(xmlEscaper.escape("<tab>")).isEqualTo("<tab>"); // Test all non-escaped ASCII characters. String s = "!@#$%^*()_+=-/?\\|]}[{,.;:" + "abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "1234567890"; assertThat(xmlEscaper.escape(s)).isEqualTo(s); // Test ASCII control characters. for (char ch = 0; ch < 0x20; 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) -
tests/test_security_http_basic_realm_description.py
assert response.json() == {"detail": "Not authenticated"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.9K bytes - Click Count (0)