- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 1,033 for Close (0.1 seconds)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
// Close should have sent FindClose2 exactly once ArgumentCaptor<SmbComFindClose2> captor = ArgumentCaptor.forClass(SmbComFindClose2.class); verify(tree, times(1)).send(captor.capture(), any()); assertNotNull(captor.getValue()); // Tree handle is released after close verify(tree, atLeastOnce()).release(); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
cmd/object-api-utils.go
cleanUpFns: cFns, } return r, nil } } return fn, off, length, nil } // Close - calls the cleanup actions in reverse order func (g *GetObjectReader) Close() error { if g == nil { return nil } // sync.Once is used here to ensure that Close() is // idempotent. g.once.Do(func() { for i := len(g.cleanUpFns) - 1; i >= 0; i-- { g.cleanUpFns[i]() }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
/** * Immediately closes the socket connection if it's currently held. Use this to interrupt an * in-flight request from any thread. It's the caller's responsibility to close the request body * and response body streams; otherwise resources may be leaked. * * This method is safe to be called concurrently, but provides limited guarantees. If a transport
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 19.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
throw complete(e)!! } } @Throws(IOException::class) override fun close() { if (closed) return closed = true if (contentLength != -1L && bytesReceived != contentLength) { throw ProtocolException("unexpected end of stream") } try { super.close() complete(null) } catch (e: IOException) { throw complete(e)!! }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 10.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
} off += r; } return off; } @Override public void close() throws IOException { super.close(); try { this.handle.close(); } finally { this.pipe.close(); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
logger.warn("Could not close a process input stream.", e); } }); CommonPoolUtil.execute(() -> { try { CloseableUtil.closeQuietly(p.getErrorStream()); } catch (final Exception e) { logger.warn("Could not close a process error stream.", e); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
mockwebserver-junit5/src/test/java/mockwebserver3/junit5/StartStopTest.kt
} } } class ClosableDispatcher : Dispatcher() { var closed = false override fun dispatch(request: RecordedRequest) = MockResponse() override fun close() { closed = true } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 11:13:17 GMT 2025 - 3.3K bytes - Click Count (1) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
class KotlinSourceParser { data class ParsedKotlinFiles( val ktFiles: List<KtFile>, private val disposable: Disposable ) : AutoCloseable { override fun close() { Disposer.dispose(disposable) } } private val messageCollector: MessageCollector get() = PrintingMessageCollector(System.out, MessageRenderer.PLAIN_RELATIVE_PATHS, false)Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 18 05:37:07 GMT 2026 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequest.java
* * @author mbechler */ public class Smb2TreeDisconnectRequest extends ServerMessageBlock2Request<Smb2TreeDisconnectResponse> { /** * Creates a new SMB2 tree disconnect request to close a tree connection. * * @param config the CIFS configuration */ public Smb2TreeDisconnectRequest(final Configuration config) { super(config, SMB2_TREE_DISCONNECT); } @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0)