- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 503 for unicode (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt
) assertNull( Punycode.encode(a1000MaxCodePoint.repeat(2)), ) } @Test fun invalidPunycode() { assertNull(Punycode.decode("xn--ls8h=")) } private fun testEncodeDecode( unicode: String, punycode: String, ) { assertEquals(unicode, Punycode.decode(punycode)) assertEquals(punycode, Punycode.encode(unicode)) } private fun testDecodeOnly(
Registered: 2025-05-30 11:42 - Last Modified: 2024-12-27 13:39 - 5.3K bytes - Viewed (0) -
src/bytes/example_test.go
} func ExampleTrimFunc() { fmt.Println(string(bytes.TrimFunc([]byte("go-gopher!"), unicode.IsLetter))) fmt.Println(string(bytes.TrimFunc([]byte("\"go-gopher!\""), unicode.IsLetter))) fmt.Println(string(bytes.TrimFunc([]byte("go-gopher!"), unicode.IsPunct))) fmt.Println(string(bytes.TrimFunc([]byte("1234go-gopher!567"), unicode.IsNumber))) // Output: // -gopher! // "go-gopher!" // go-gopher // go-gopher! }
Registered: 2025-05-27 11:13 - Last Modified: 2025-05-12 16:07 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
private String filename; private final Configuration config; private final boolean unicode; /** * @param config * @param unicode * */ public FileBothDirectoryInfo ( Configuration config, boolean unicode ) { this.config = config; this.unicode = unicode; } @Override public String getName () { return this.filename; }
Registered: 2025-05-25 00:10 - Last Modified: 2018-07-01 13:12 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper does not escape the given character. * * @param escaper the non-null escaper to test * @param cp the Unicode code point to test */ public static void assertUnescaped(UnicodeEscaper escaper, int cp) { Assert.assertNull(computeReplacement(escaper, cp)); } /**
Registered: 2025-05-30 12:43 - Last Modified: 2022-01-18 20:55 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
} /** * Asserts that a Unicode escaper does not escape the given character. * * @param escaper the non-null escaper to test * @param cp the Unicode code point to test */ public static void assertUnescaped(UnicodeEscaper escaper, int cp) { Assert.assertNull(computeReplacement(escaper, cp)); } /**
Registered: 2025-05-30 12:43 - Last Modified: 2022-01-18 20:55 - 3.8K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/regexp/syntax/70781.md
The `\p{name}` and `\P{name}` character class syntaxes now accept the names Any, ASCII, Assigned, Cn, and LC, as well as Unicode category aliases like `\p{Letter}` for `\pL`. Following [Unicode TR18](https://unicode.org/reports/tr18/), they also now use
Registered: 2025-05-27 11:13 - Last Modified: 2025-04-18 21:13 - 328 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
* limitations under the License. */ package okhttp3.internal.idn import okio.Buffer import okio.ByteString.Companion.encodeUtf8 /** * An [RFC 3492] punycode decoder for converting ASCII to Unicode domain name labels. This is * intended for use in Internationalized Domain Names (IDNs). * * This class contains a Kotlin implementation of the pseudocode specified by RFC 3492. It includes
Registered: 2025-05-30 11:42 - Last Modified: 2024-12-27 13:39 - 8.5K bytes - Viewed (0) -
src/bytes/bytes.go
} b[i] = c } return b } return Map(unicode.ToLower, s) } // ToTitle treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their title case. func ToTitle(s []byte) []byte { return Map(unicode.ToTitle, s) } // ToUpperSpecial treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their
Registered: 2025-05-27 11:13 - Last Modified: 2025-05-12 14:41 - 36K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
/** * * @param src * @param srcIndex * @param maxLen * @param unicode * @return read string */ public String readString ( byte[] src, int srcIndex, int maxLen, boolean unicode ) { if ( unicode ) { // Unicode requires word alignment if ( ( ( srcIndex - this.headerStart ) % 2 ) != 0 ) { srcIndex++;
Registered: 2025-05-25 00:10 - Last Modified: 2018-08-05 09:45 - 32.7K bytes - Viewed (0) -
api/go1.7.txt
pkg testing, type InternalExample struct, Unordered bool pkg unicode, const Version = "9.0.0" pkg unicode, var Adlam *RangeTable pkg unicode, var Bhaiksuki *RangeTable pkg unicode, var Marchen *RangeTable pkg unicode, var Newa *RangeTable pkg unicode, var Osage *RangeTable pkg unicode, var Prepended_Concatenation_Mark *RangeTable pkg unicode, var Sentence_Terminal *RangeTable
Registered: 2025-05-27 11:13 - Last Modified: 2016-06-28 15:08 - 13.6K bytes - Viewed (0)