- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for nonAscii (0.16 sec)
-
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
encodings[ 0x1d] = encoding // Group Separator encodings[ 0x1e] = encoding // Record Separator encodings[ 0x1f] = encoding // Unit Separator encodings[ 0x7f] = encoding // Delete } fun nonAscii(encoding: Encoding) = apply { encodings[UNICODE_2] = encoding encodings[UNICODE_3] = encoding encodings[UNICODE_4] = encoding } fun test(component: Component) = apply {
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/test/java/okhttp3/HttpUrlTest.kt
// lock it down due to URL templating: "http://{env}.{dc}.example.com". UrlComponentEncodingTester.newInstance() .nonPrintableAscii(Encoding.FORBIDDEN) .nonAscii(Encoding.PUNYCODE) .override( Encoding.FORBIDDEN, '\t'.code, '\n'.code, '\u000c'.code, '\r'.code, ' '.code, ) .override(
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
src/archive/tar/reader.go
// For Format detection, check if block is properly formatted since // the parser is more liberal than what USTAR actually permits. notASCII := func(r rune) bool { return r >= 0x80 } if bytes.IndexFunc(tr.blk[:], notASCII) >= 0 { hdr.Format = FormatUnknown // Non-ASCII characters in block. } nul := func(b []byte) bool { return int(b[len(b)-1]) == 0 }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0)