- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 476 for Charsets (0.05 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/url/-Url.kt
if (encodedCharBuffer == null) { encodedCharBuffer = Buffer() } if (charset == null || charset == Charsets.UTF_8) { encodedCharBuffer.writeUtf8CodePoint(codePoint) } else { encodedCharBuffer.writeString(input, i, i + Character.charCount(codePoint), charset) } while (!encodedCharBuffer.exhausted()) { val b = encodedCharBuffer.readByte().toInt() and 0xff
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 09 12:33:05 UTC 2024 - 7.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
if (!matchesSocket(sslSocket)) { return null } return try { val alpnResult = getAlpnSelectedProtocol.invoke(sslSocket) as ByteArray? alpnResult?.toString(Charsets.UTF_8) } catch (e: IllegalAccessException) { throw AssertionError(e) } catch (e: InvocationTargetException) { // https://github.com/square/okhttp/issues/5587 val cause = e.cause when {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.6K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
PropertiesUtils.store( properties, libraryVersionFile.get().asFile, "Generated file, please do not edit - Version values used in build-init templates", Charsets.ISO_8859_1, "\n" ) } private fun findLatest(name: String, notation: String, dest: Properties) { val libDependencies = arrayOf(project.dependencies.create(notation))
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:29 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
* at least for commonly used charsets like UTF-8. */ @Override @CanIgnoreReturnValue public final Hasher putByte(byte b) { buffer.put(b); munchIfFull(); return this; } @Override @CanIgnoreReturnValue public final Hasher putShort(short s) { buffer.putShort(s); munchIfFull(); return this; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
val eventListener: EventListener = factory.create(FailingCall()) } @Test fun mediaType() { val mediaType: MediaType = "".toMediaType() val defaultCharset: Charset? = mediaType.charset() val charset: Charset? = mediaType.charset(Charsets.UTF_8) val type: String = mediaType.type val subtype: String = mediaType.subtype val parse: MediaType? = "".toMediaTypeOrNull() } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
build.gradle.kts
apply(plugin = "ru.vyarus.animalsniffer") apply(plugin = "biz.aQute.bnd.builder") apply(plugin = "io.github.usefulness.maven-sympathy") tasks.withType<JavaCompile> { options.encoding = Charsets.UTF_8.toString() } configure<JavaPluginExtension> { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } } tasks.withType<Checkstyle>().configureEach {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jun 23 17:02:02 UTC 2024 - 9K bytes - Viewed (0) -
guava/src/com/google/common/base/Utf8.java
import static java.lang.Character.MIN_SURROGATE; import com.google.common.annotations.GwtCompatible; /** * Low-level, high-performance utility methods related to the {@linkplain Charsets#UTF_8 UTF-8} * character encoding. UTF-8 is defined in section D92 of <a * href="http://www.unicode.org/versions/Unicode6.2.0/ch03.pdf">The Unicode Standard Core * Specification, Chapter 3</a>. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
import static com.google.common.truth.Truth.assertThat; import static java.nio.charset.StandardCharsets.ISO_8859_1; import static java.nio.charset.StandardCharsets.US_ASCII; import static java.nio.charset.StandardCharsets.UTF_16; import static java.nio.charset.StandardCharsets.UTF_16BE; import static java.nio.charset.StandardCharsets.UTF_16LE; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertEquals;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 25.5K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
suffix][public_suffix] list. Alongside this fix is a new API, `HttpUrl.topPrivateDomain()`, which returns the privately domain name if the URL has one. * Fix: Change `MediaType.charset()` to return null for unexpected charsets. * Fix: Don't skip cache invalidation if the invalidating response has no body. * Fix: Don't use a cryptographic random number generator for web sockets. Some Android devices
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
HSPLokhttp3/MediaType;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V HSPLokhttp3/MediaType;->charset(Ljava/nio/charset/Charset;)Ljava/nio/charset/Charset; HSPLokhttp3/OkHttpClient$Builder;-><init>()V HSPLokhttp3/OkHttpClient$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V HSPLokhttp3/OkHttpClient;-><clinit>()V
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Mar 21 11:22:00 UTC 2022 - 127.9K bytes - Viewed (0)