- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 832 for IOException (0.21 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 11.3K 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) -
android/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 May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 4.8K 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) -
guava-tests/test/com/google/common/io/CountingInputStreamTest.java
} public void testMarkNotSet() { IOException expected = assertThrows(IOException.class, () -> counter.reset()); assertThat(expected).hasMessageThat().isEqualTo("Mark not set"); } public void testMarkNotSupported() { counter = new CountingInputStream(new UnmarkableInputStream()); IOException expected = assertThrows(IOException.class, () -> counter.reset());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
writeBytesMaximum += delta if (delta > 0L) { condition.signalAll() } } @Throws(IOException::class) internal fun checkOutNotClosed() { when { sink.closed -> throw IOException("stream closed") sink.finished -> throw IOException("stream finished") errorCode != null -> throw errorException ?: StreamResetException(errorCode!!) } } /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 23.2K bytes - Viewed (1) -
android/guava/src/com/google/common/io/AppendableWriter.java
*/ @Override public void write(int c) throws IOException { checkNotClosed(); target.append((char) c); } @Override public void write(String str) throws IOException { checkNotNull(str); checkNotClosed(); target.append(str); } @Override public void write(String str, int off, int len) throws IOException { checkNotNull(str); checkNotClosed();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} protected void doSend0 ( Request request ) throws IOException { try { doSend(request); } catch ( IOException ioe ) { log.warn("send failed", ioe); try { disconnect(true); } catch ( IOException ioe2 ) { ioe.addSuppressed(ioe2);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 18 23:47:00 GMT 2023 - 67K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingInputStream.java
public long getCount() { return count; } @Override public int read() throws IOException { int result = in.read(); if (result != -1) { count++; } return result; } @Override public int read(byte[] b, int off, int len) throws IOException { int result = in.read(b, off, len); if (result != -1) { count += result; } return result;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2.4K bytes - Viewed (0)