- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 532 for charset (0.21 sec)
-
guava/src/com/google/common/base/Charsets.java
* java.nio.charset.StandardCharsets#UTF_16} instead. * */ @J2ktIncompatible @GwtIncompatible // Charset not supported by GWT public static final Charset UTF_16 = Charset.forName("UTF-16"); /* * Please do not add new Charset references to this class, unless those character encodings are * part of the set required to be supported by all Java platform implementations! Any Charsets
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Charsets.java
* java.nio.charset.StandardCharsets#UTF_16} instead. * */ @J2ktIncompatible @GwtIncompatible // Charset not supported by GWT public static final Charset UTF_16 = Charset.forName("UTF-16"); /* * Please do not add new Charset references to this class, unless those character encodings are * part of the set required to be supported by all Java platform implementations! Any Charsets
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Challenge.kt
val charset: Charset get() { val charset = authParams["charset"] if (charset != null) { try { return Charset.forName(charset) } catch (ignore: Exception) { } } return ISO_8859_1 } constructor(scheme: String, realm: String) : this(scheme, singletonMap("realm", realm)) init { val newAuthParams = mutableMapOf<String?, String>()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/internal.kt
} } internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> { var charset: Charset = Charsets.UTF_8 var finalContentType: MediaType? = this if (this != null) { val resolvedCharset = this.charset() if (resolvedCharset == null) { charset = Charsets.UTF_8 finalContentType = "$this; charset=utf-8".toMediaTypeOrNull() } else { charset = resolvedCharset } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
assertStringHash(0xfc5ba834, "毎月1日,毎週月曜日", Charsets.UTF_8); assertStringHash(0x8a5c3699, "surrogate pair: \uD83D\uDCB0", Charsets.UTF_8); assertStringHash(0, "", Charsets.UTF_16LE); assertStringHash(0x288418e4, "k", Charsets.UTF_16LE); assertStringHash(0x5a0cb7c3, "hell", Charsets.UTF_16LE); assertStringHash(0xd7c31989, "hello", Charsets.UTF_16LE);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 08 13:56:22 GMT 2021 - 8.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt
assertEquals( "UTF-8", noCharset.charset(Charsets.UTF_8)!!.name(), ) assertEquals( "US-ASCII", noCharset.charset(Charsets.US_ASCII)!!.name(), ) val charset = parse("text/plain; charset=iso-8859-1") assertEquals( "ISO-8859-1", charset.charset(Charsets.UTF_8)!!.name(), ) assertEquals( "ISO-8859-1",
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3K bytes - Viewed (0) -
.idea/encodings.xml
<file url="file://$PROJECT_DIR$/libraries/examples/browser-example/src/main/kotlin" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/libraries/examples/browser-example/src/main/resources" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/libraries/examples/js-example" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/libraries/examples/js-example/src/main/kotlin" charset="UTF-8" />
XML - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Aug 22 14:23:18 GMT 2022 - 5.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MediaType.kt
internal val parameterNamesAndValues: Array<String>, ) { /** * Returns the charset of this media type, or [defaultValue] if either this media type doesn't * specify a charset, or if its charset is unsupported by the current runtime. */ @JvmOverloads fun charset(defaultValue: Charset? = null): Charset? { val charset = parameter("charset") ?: return defaultValue
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Resources.java
* @param url the URL to read from * @param charset the charset used to decode the input stream; see {@link Charsets} for helpful * predefined constants * @return a string containing all the characters from the URL * @throws IOException if an I/O error occurs. */ public static String toString(URL url, Charset charset) throws IOException { return asCharSource(url, charset).read(); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 7.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
} } @Override public Optional<String> getString(URI relativeSource, Charset charset) { requireNonNull(charset, "charset is null"); Optional<byte[]> data = getBytes(relativeSource); return data.map(bytes -> new String(bytes, charset)); } @Override public void put(Path source, URI relativeTarget) { requireNonNull(source, "source is null");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 5.3K bytes - Viewed (0)