- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 259 for closing (0.04 sec)
-
android/guava/src/com/google/common/io/CharSink.java
* <li><b>Convenience methods:</b> These are implementations of common operations that are * typically implemented by opening a writer using one of the methods in the first category, * doing something and finally closing the writer that was opened. * </ul> * * <p>Any {@link ByteSink} may be viewed as a {@code CharSink} with a specific {@linkplain Charset
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
String str = response.toString(); // Should start with the class name assertTrue(str.startsWith("Trans2SetFileInformationResponse[")); // Should end with closing bracket assertTrue(str.endsWith("]")); // Should contain parent toString content // Note: The parent toString might include various fields assertNotNull(str);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
final SmbTreeHandleImpl t = this.tree; try { if (t != null && isValid()) { if (log.isDebugEnabled()) { log.debug("Closing file handle " + this); } if (t.isSMB2()) { final Smb2CloseRequest req = new Smb2CloseRequest(this.cfg, this.fileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
android/guava/src/com/google/common/io/Closer.java
* place as Closeables logs. */ Closeables.logger.log( Level.WARNING, "Suppressing exception thrown when closing " + closeable, suppressed); } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Apr 22 22:13:51 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
// TODO(cgdecker): Add CharSource.slice? StringBuilder builder = new StringBuilder(); Reader reader = concatenated.openStream(); // no need to worry about closing for (int i = 0; i < 8; i++) { builder.append((char) reader.read()); } assertEquals(expected, builder.toString()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
docs/contribute/concurrency.md
The connection lock is never held while doing I/O (even closing a socket) to prevent contention.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
// TODO(cgdecker): Add CharSource.slice? StringBuilder builder = new StringBuilder(); Reader reader = concatenated.openStream(); // no need to worry about closing for (int i = 0; i < 8; i++) { builder.append((char) reader.read()); } assertEquals(expected, builder.toString()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
assertTrue(target.isStale()); } @Test @DisplayName("getInput and getOutput throw after close") void testGetInputOutputAndClosed() throws CIFSException { // After closing the handle, further calls throw target.close(); CIFSException e1 = assertThrows(SmbException.class, target::getInput); assertTrue(e1.getMessage().contains("Already closed"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
} @Test @DisplayName("read after close throws 'Bad file descriptor'") void readAfterCloseThrows() throws Exception { SmbFileInputStream in = newStream(); // closing should null tmp; subsequent readDirect should fail in.close(); IOException ex = assertThrows(IOException.class, () -> in.readDirect(new byte[8], 0, 4));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0)