- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 578 for charsets (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.3K bytes - Click Count (0) -
okcurl/build.gradle.kts
from("src/main/resources-templates") into(layout.buildDirectory.dir("generated/resources-templates")) expand("projectVersion" to "${project.version}") filteringCharset = Charsets.UTF_8.toString() } configure<JavaPluginExtension> { sourceSets.getByName("main").resources.srcDir(copyResourcesTemplates.get().outputs) } dependencies { api(projects.okhttp)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 2.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
capabilities.forEach { it.configure(dependencies.components, configurations) } } fun readCapabilities(source: File): List<CapabilitySpec> { JsonReader(source.reader(Charsets.UTF_8)).use { reader -> reader.strictness = Strictness.LENIENT return Gson().fromJson(reader) } } inlineCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 26 09:04:32 GMT 2026 - 9.5K bytes - Click Count (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))
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Nov 24 20:45:41 GMT 2025 - 5K bytes - Click Count (0) -
okhttp/build.gradle.kts
val kotlinTemplatesOutput = layout.buildDirectory.dir("generated/sources/kotlinTemplates") from("src/commonJvmAndroid/kotlinTemplates") into(kotlinTemplatesOutput) filteringCharset = Charsets.UTF_8.toString() expand( "projectVersion" to project.version.toString(), ) } // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 22:16:39 GMT 2026 - 11.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt
} else if (labelBytesLeft > publicSuffixBytesLeft) { low = mid + end + 1 } else { // Found a match. match = this.substring(mid, mid + publicSuffixLength).string(Charsets.UTF_8) break } } } return match } internal fun resetForTests() { instance = PublicSuffixDatabase(PublicSuffixList.Default) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Chars}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class CharsTest extends TestCase { private static final char[] EMPTY = {}; private static final char[] ARRAY1 = {(char) 1}; private static final char[] ARRAY234 = {(char) 2, (char) 3, (char) 4};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/CharsTest.java
import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Chars}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class CharsTest extends TestCase { private static final char[] EMPTY = {}; private static final char[] ARRAY1 = {(char) 1}; private static final char[] ARRAY234 = {(char) 2, (char) 3, (char) 4};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 26K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertThat(MediaType.parse("text/plain; charset =utf-8").charset()).hasValue(UTF_8); assertThat(MediaType.parse("text/plain; charset= utf-8").charset()).hasValue(UTF_8); assertThat(MediaType.parse("text/plain; charset = utf-8").charset()).hasValue(UTF_8); assertThat(MediaType.parse("text/plain;charset =utf-8").charset()).hasValue(UTF_8); } public void testGetCharset() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 20.4K bytes - Click Count (0)