- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 221 for CHARSET (0.13 sec)
-
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() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Mar 05 13:16:00 UTC 2024 - 21.4K bytes - Viewed (0) -
src/mime/encodedword.go
) // Encode returns the encoded-word form of s. If s is ASCII without special // characters, it is returned unchanged. The provided charset is the IANA // charset name of s. It is case insensitive. func (e WordEncoder) Encode(charset, s string) string { if !needsEncoding(s) { return s } return e.encodeWord(charset, s) } func needsEncoding(s string) bool { for _, b := range s { if (b < ' ' || b > '~') && b != '\t' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 10K bytes - Viewed (0) -
android/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() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Mar 05 13:16:00 UTC 2024 - 21.4K bytes - Viewed (0) -
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
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java
public String readAsString(String encoding) { Charset charset = Charset.forName(encoding); return readAsString(charset); } public String readAsString() { return readAsString(Charset.defaultCharset()); } public String readAsString(Charset charset) { try { return doReadAsString(charset); } catch (CharacterCodingException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 16.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/GroovyFileInterceptors.java
@WithExtensionReferences(toClass = ResourceGroovyMethods.class) public static String intercept_getText( @Receiver File self, String charset, @CallerClassName String consumer ) throws IOException { return Instrumented.groovyFileGetText(self, charset, consumer); } @InterceptGroovyCalls @InstanceMethod @WithExtensionReferences(toClass = ResourceGroovyMethods.class)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 24 15:57:56 UTC 2023 - 16.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/NioFileInterceptors.java
@StaticMethod(ofClass = Files.class) public static BufferedReader intercept_newBufferedReader( Path path, Charset charset, @CallerClassName String consumer ) throws IOException { tryReportFileOpened(path, consumer); return Files.newBufferedReader(path, charset); } @InterceptCalls @StaticMethod(ofClass = Files.class)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 12:34:20 UTC 2023 - 12.2K bytes - Viewed (0) -
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
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/UriTextResource.java
import java.net.URI; import java.net.URLConnection; import java.nio.charset.Charset; /** * A {@link TextResource} implementation backed by a URI. Defaults content encoding to UTF-8. */ public class UriTextResource implements TextResource { private static final HashCode SIGNATURE = Hashing.signature(UriTextResource.class); protected static final Charset DEFAULT_ENCODING = Charset.forName("utf-8"); private static final String USER_AGENT;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 11.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ResponseBody.kt
fun string(): String = source().use { source -> source.readString(charset = source.readBomAsCharset(charset())) } private fun charset() = contentType().charsetOrUtf8() override fun close() = commonClose() internal class BomAwareReader( private val source: BufferedSource, private val charset: Charset, ) : Reader() { private var closed: Boolean = false
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0)