Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 353 for charsets (0.05 seconds)

  1. 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)
        }
    }
    
    inline
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 18 11:32:19 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 47K bytes
    - Click Count (0)
  3. 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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  4. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. okhttp/build.gradle.kts

      val kotlinTemplatesOutput = layout.buildDirectory.dir("generated/sources/kotlinTemplates")
    
      from("src/commonJvmAndroid/kotlinTemplates")
      into(kotlinTemplatesOutput)
    
      filteringCharset = Charsets.UTF_8.toString()
    
      expand(
        // Build & use okhttp3/internal/-InternalVersion.kt
        "projectVersion" to project.version,
      )
    }
    
    // Build & use okhttp3/internal/idn/IdnaMappingTableInstance.kt
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. build.gradle.kts

        apply(plugin = "com.android.lint")
    
        dependencies {
          "lintChecks"(rootProject.libs.androidx.lint.gradle)
        }
      }
    
      tasks.withType<JavaCompile> {
        options.encoding = Charsets.UTF_8.toString()
      }
    
      if (plugins.hasPlugin(JavaBasePlugin::class.java)) {
        extensions.configure<JavaPluginExtension> {
          toolchain {
            languageVersion.set(JavaLanguageVersion.of(17))
          }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 11.5K bytes
    - Click Count (1)
  7. 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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  9. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/Files.java

          imports = "com.google.common.io.Files")
      public
      static void copy(File from, Charset charset, Appendable to) throws IOException {
        asCharSource(from, charset).copyTo(to);
      }
    
      /**
       * Appends a character sequence (such as a string) to a file using the given character set.
       *
       * @param from the character sequence to append
       * @param to the destination file
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
Back to Top