- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,133 for text (0.13 sec)
-
android/guava/src/com/google/common/base/Ascii.java
* }</pre> * * <p><b>Note:</b> This method <i>may</i> work with certain non-ASCII text but is not safe for use * with arbitrary Unicode text. It is mostly intended for use with text that is known to be safe * for use with it (such as all-ASCII text) and for simple debugging text. When using this method, * consider the following: * * <ul> * <li>it may split surrogate pairs
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jul 19 15:43:07 GMT 2021 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
import java.util.List; /** * Unit test for {@link CharStreams}. * * @author Chris Nokleberg */ public class CharStreamsTest extends IoTestCase { private static final String TEXT = "The quick brown fox jumped over the lazy dog."; public void testToString() throws IOException { assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT))); } public void testReadLines() throws IOException {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
import java.util.List; /** * Unit test for {@link CharStreams}. * * @author Chris Nokleberg */ public class CharStreamsTest extends IoTestCase { private static final String TEXT = "The quick brown fox jumped over the lazy dog."; public void testToString() throws IOException { assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT))); } public void testReadLines() throws IOException {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escaper.java
import com.google.common.base.Function; import com.google.errorprone.annotations.DoNotMock; /** * An object that converts literal text into a format safe for inclusion in a particular context * (such as an XML document). Typically (but not always), the inverse process of "unescaping" the * text is performed automatically by the relevant parser. * * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 16:02:17 GMT 2021 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 22.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
try { Thread.currentThread().setContextClassLoader(loader); URL url = Resources.getResource(tempFile.getName()); String text = Resources.toString(url, Charsets.UTF_8); assertEquals("rud a chur ar an méar fhada" + System.lineSeparator(), text); } finally { Thread.currentThread().setContextClassLoader(oldContextLoader); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
* counts are converted to strings as by {@code String.valueOf}. */ @Override public String toString() { String text = String.valueOf(getElement()); int n = getCount(); return (n == 1) ? text : (text + " x " + n); } } /** An implementation of {@link Multiset#equals}. */ static boolean equalsImpl(Multiset<?> multiset, @CheckForNull Object object) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 41.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/HostSpecifierTest.java
import com.google.common.collect.ImmutableList; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.text.ParseException; import junit.framework.TestCase; /** * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 18 15:33:20 GMT 2022 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input); int candidate = 0; int next; // Jump from bucket to bucket until we go out of range while (true) { next = (int) ((candidate + 1) / generator.nextDouble()); if (next >= 0 && next < buckets) { candidate = next; } else { return candidate; } } } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 18.6K bytes - Viewed (0)