- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 208 for IOException (0.16 sec)
-
android/guava-tests/test/com/google/common/base/JoinerTest.java
throw new IOException(); } @Override public Appendable append(@Nullable CharSequence csq, int start, int end) throws IOException { throw new IOException(); } @Override public Appendable append(char c) throws IOException { throw new IOException(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
throws IOException { testStreamingEncodes(encoding, decoded, encoded); testStreamingDecodes(encoding, encoded, decoded); } @GwtIncompatible // Writer private static void testStreamingEncodes(BaseEncoding encoding, String decoded, String encoded) throws IOException { StringWriter writer = new StringWriter();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Aug 25 16:34:08 GMT 2022 - 24.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
try { return new CharSource() { @Override public Reader openStream() throws IOException { return new StringReader(string); } }.readLines(); } catch (IOException e) { throw new AssertionError(); } } @Override public void tearDown() throws IOException { factory.tearDown(); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Apr 27 18:57:08 GMT 2022 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
import static java.nio.file.attribute.PosixFilePermission.OWNER_READ; import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE; import static org.junit.Assert.assertThrows; import java.io.File; import java.io.IOException; import java.nio.file.attribute.PosixFileAttributeView; import java.nio.file.attribute.PosixFileAttributes; import junit.framework.TestCase; /** * Unit test for {@link Files#createTempDir}. *
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataOutput.java
import com.google.common.annotations.J2ktIncompatible; import java.io.DataOutput; import java.io.IOException; /** * An extension of {@code DataOutput} for writing to in-memory byte arrays; its methods offer * identical functionality but do not throw {@link IOException}. * * @author Jayaprabhakar Kadarkarai * @since 1.0 */ @J2ktIncompatible @GwtIncompatible
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
*/ package com.google.common.collect.testing; import com.google.common.annotations.GwtIncompatible; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Collection; import java.util.List; /** * Reserializes the sets created by another test set generator. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
} private static class EmptyCharSourceFactory implements CharSourceFactory { @Override public CharSource createSource(String data) throws IOException { return CharSource.empty(); } @Override public String getExpected(String data) { return ""; } @Override public void tearDown() throws IOException {} }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 09 17:57:59 GMT 2021 - 17.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); stream.writeObject(keyTypeOrObjectUnderJ2cl); Serialization.writeMap(this, stream); } @SuppressWarnings("unchecked") // reading field populated by writeObject @GwtIncompatible // java.io.ObjectInputStream private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Aug 24 01:40:03 GMT 2023 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
} public void testWriteString() throws IOException { File temp = createTempFile(); Files.write(I18N, temp, Charsets.UTF_16LE); assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); } public void testWriteBytes() throws IOException { File temp = createTempFile(); byte[] data = newPreFilledByteArray(2000); Files.write(data, temp);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSequenceReaderTest.java
public void testMethodsThrowWhenClosed() throws IOException { CharSequenceReader reader = new CharSequenceReader(""); reader.close(); assertThrows(IOException.class, () -> reader.read()); assertThrows(IOException.class, () -> reader.read(new char[10])); assertThrows(IOException.class, () -> reader.read(new char[10], 0, 10)); assertThrows(IOException.class, () -> reader.read(CharBuffer.allocate(10)));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.5K bytes - Viewed (0)