- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 528 for unicode (0.2 sec)
-
okhttp/src/test/java/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(
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
} fun nonAscii(encoding: Encoding) = apply { encodings[UNICODE_2] = encoding encodings[UNICODE_3] = encoding encodings[UNICODE_4] = encoding } fun test(component: Component) = apply { for ((codePoint, encoding) in encodings) { val codePointString = Encoding.IDENTITY.encode(codePoint) if (encoding == Encoding.FORBIDDEN) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 12.3K bytes - Viewed (0) -
okhttp/src/main/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
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 03 03:04:50 GMT 2024 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl
uint32_t length; uint8_t *root_directory; unicode_string *object_name; uint32_t attributes; uint32_t security_descriptor; LsarQosInfo *security_quality_of_service; } LsarObjectAttributes; typedef struct { unicode_string name; sid_t *sid; } LsarDomainInfo; typedef struct { unicode_string name; unicode_string dns_domain; unicode_string dns_forest; uuid_t domain_guid; sid_t *sid;
Others - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.1K bytes - Viewed (1) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl
uint32_t length; uint8_t *root_directory; unicode_string *object_name; uint32_t attributes; uint32_t security_descriptor; LsarQosInfo *security_quality_of_service; } LsarObjectAttributes; typedef struct { unicode_string name; sid_t *sid; } LsarDomainInfo; typedef struct { unicode_string name; unicode_string dns_domain; unicode_string dns_forest; uuid_t domain_guid; sid_t *sid;
Others - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 3.1K 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! }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
( USE_NTSTATUS ? FLAGS2_STATUS32 : 0 ) | ( USE_UNICODE ? FLAGS2_UNICODE : 0 ); static final int DEFAULT_CAPABILITIES = ( USE_NTSMBS ? CAP_NT_SMBS : 0 ) | ( USE_NTSTATUS ? CAP_STATUS32 : 0 ) | ( USE_UNICODE ? CAP_UNICODE : 0 ) | CAP_DFS;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 8.4K 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
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.capabilities |= SmbConstants.CAP_UNICODE; } if ( ( this.capabilities & SmbConstants.CAP_UNICODE ) == 0 ) { // server doesn't want unicode if ( ctx.getConfig().isForceUnicode() ) { this.capabilities |= SmbConstants.CAP_UNICODE; this.useUnicode = true; } else {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Tue Jul 07 10:52:42 GMT 2020 - 15.4K 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; }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 5.6K bytes - Viewed (0)