- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for openInputStream (0.08 sec)
-
src/test/java/jcifs/tests/ConcurrencyTest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:40:50 UTC 2021 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
int before = t.getInflightRequests(); if ( before > 0 ) { log.warn("Have existing inflight requests"); } try ( InputStream is = f.openInputStream() ) { } catch ( SmbException e ) { // expected } assertEquals(before, t.getInflightRequests()); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* * <p>This class is intended to be used in the following pattern: * * <pre>{@code * Closer closer = Closer.create(); * try { * InputStream in = closer.register(openInputStream()); * OutputStream out = closer.register(openOutputStream()); * // do stuff * } catch (Throwable e) { * // ensure that any checked exception types other than IOException that could be thrown are
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* @throws CIFSException */ InputStream openInputStream ( int sharing ) throws CIFSException; /** * Opens an input stream reading the file (read only, sharable) * * @return input stream, needs to be closed when finished * @throws CIFSException */ InputStream openInputStream () throws CIFSException; /** * Close/release the file
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 26K bytes - Viewed (1) -
src/test/java/jcifs/tests/FileOperationsTest.java
assertTrue(f.exists()); try ( SmbResource e2 = new SmbFile(t, "test") ) { assertTrue(e2.exists()); try ( InputStream is = e2.openInputStream() ) { ReadWriteTest.verifyRandom(bufSize, length, is); } } } finally { d1.delete();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
guava/src/com/google/common/io/Closer.java
* * <p>This class is intended to be used in the following pattern: * * <pre>{@code * Closer closer = Closer.create(); * try { * InputStream in = closer.register(openInputStream()); * OutputStream out = closer.register(openOutputStream()); * // do stuff * } catch (Throwable e) { * // ensure that any checked exception types other than IOException that could be thrown are
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0)