- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 723 for charsets (0.05 seconds)
-
android/guava/src/com/google/common/base/Charsets.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; /** * Contains constant definitions for the six standard {@link Charset} instances, which are * guaranteed to be supported by all Java platform implementations. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3K bytes - Click Count (0) -
guava/src/com/google/common/base/Charsets.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; /** * Contains constant definitions for the six standard {@link Charset} instances, which are * guaranteed to be supported by all Java platform implementations. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharsetsTest.java
} @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testIso88591() { assertThat(Charsets.ISO_8859_1).isEqualTo(Charset.forName("ISO-8859-1")); } public void testUtf8() { assertThat(Charsets.UTF_8).isEqualTo(Charset.forName("UTF-8")); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16be() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 12:37:39 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* level of escaping to ensure that the output can be safely included in a Unicode XML document. * * <p>For details on the behavior of the escapers in this class, see sections <a * href="http://www.w3.org/TR/2008/REC-xml-20081126/#charsets">2.2</a> and <a * href="http://www.w3.org/TR/2008/REC-xml-20081126/#syntax">2.4</a> of the XML specification. * * @author Alex Matevossian * @author David Beaumont * @since 15.0 */ @GwtCompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/CharsetsTest.java
} @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testIso88591() { assertThat(Charsets.ISO_8859_1).isEqualTo(Charset.forName("ISO-8859-1")); } public void testUtf8() { assertThat(Charsets.UTF_8).isEqualTo(Charset.forName("UTF-8")); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16be() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 12:37:39 GMT 2026 - 2.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
// Result should be consistent with charset's canEncode capability boolean canEncode = StandardCharsets.ISO_8859_1.newEncoder().canEncode(icon.getUnicodeChar()); String expected = canEncode ? String.valueOf(icon.getUnicodeChar()) : icon.getAsciiFallback(); assertEquals(expected, result, "Icon should match charset encoding capability for " + icon); } } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
} }; abstract String read(ByteSource byteSource, Charset cs) throws IOException; } @Param({"UTF-8"}) String charsetName; @Param ReadStrategy strategy; @Param({"10", "1024", "1048576"}) int size; Charset charset; ByteSource data; @BeforeExperiment public void setUp() { charset = Charset.forName(charsetName); StringBuilder sb = new StringBuilder();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
} }; abstract String read(ByteSource byteSource, Charset cs) throws IOException; } @Param({"UTF-8"}) String charsetName; @Param ReadStrategy strategy; @Param({"10", "1024", "1048576"}) int size; Charset charset; ByteSource data; @BeforeExperiment public void setUp() { charset = Charset.forName(charsetName); StringBuilder sb = new StringBuilder();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.1K bytes - Click Count (0) -
android/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>. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0)