- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,033 for Close (0.05 seconds)
-
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
@Test @DisplayName("ensureOpen throws after close() is called") void testEnsureOpenAfterClose() throws CIFSException { target.close(); CIFSException ex = assertThrows(SmbException.class, () -> target.ensureOpen()); assertTrue(ex.getMessage().contains("Pipe handle already closed")); } @Test @DisplayName("close() calls handle.close when open and handle.release otherwise; releases tree")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java
* * This command is used to close a search handle that was * opened by a Trans2 Find First2 request. */ public class SmbComFindClose2 extends ServerMessageBlock { private final int sid; /** * Creates a new SMB1 find close request to close a search handle. * * @param config the CIFS configuration * @param sid the search identifier to close */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// After last element, hasNext should be false and calling close() should send Smb2CloseRequest once assertFalse(it.hasNext(), "Iterator should be exhausted"); // Close explicitly to exercise doCloseInternal it.close(); // Verify interactions: one create, two additional directory queries (for fetchMore), one closeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
return false; } /** * {@inheritDoc} * * * @see jcifs.CIFSContext#close() */ @Override public boolean close() throws CIFSException { if (!this.closed) { Runtime.getRuntime().removeShutdownHook(this); } return false; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 4K bytes - Click Count (0) -
.dir-locals.el
(defun my/statement-block-intro (arg) (if (and (c-at-statement-start-p) (my/inside-java-lambda-p)) 0 '+)) (defun my/block-close (arg) (if (my/inside-java-lambda-p) '- 0)) (defun my/arglist-close (arg) (if (my/trailing-paren-p) 0 '--)) (defun my/arglist-intro (arg) (if (my/prev-line-call-with-no-args-p) '++ 0)) (c-set-offset 'inline-open 0)Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Apr 14 14:50:53 GMT 2017 - 3.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Sep 21 06:26:07 GMT 2025 - 2.4K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
private var closed = false override fun close() { if (closed) return try { super.close() } finally { closedLatch.countDown() } } }.buffer() override val sink: BufferedSink = object : ForwardingSink(delegate.sink) { private var closed = false override fun close() { if (closed) return try {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closeables.java
* // If an exception occurs, rethrow it only if threw==false: * Closeables.close(stream, threw); * } * } * } * * @param closeable the {@code Closeable} object to be closed, or null, in which case this method * does nothing * @param swallowIOException if true, don't propagate IO exceptions thrown by the {@code close} * methodsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
@Override public void close() { throw new AssertionError( "ForwardingExecutorService should have used the default method" + " ExecutorService.close() (which would forward to methods like shutdown() on" + " the delegate) instead of forwarding to delegate.close()"); } }; ExecutorService wrapper =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
this.classLoader = classLoader; } void close() { try { classLoader.clearCache(); classLoader.close(); } catch (final IOException e) { LogManager.getLogger(GroovyEngine.class).warn("Failed to close GroovyClassLoader", e); } } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 11.9K bytes - Click Count (0)