- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 131 for closures (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
verify(tree, times(1)).release(); } @Test @DisplayName("release() decrements usage; closes only when count reaches zero") void release_decrementsAndClosesOnZero() throws CIFSException { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(8L, true, true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
static Stream<String> wildcardProvider() { return Stream.of(null, "", "*"); } @ParameterizedTest @MethodSource("wildcardProvider") @DisplayName("open() happy path: yields entries and closes with Smb2CloseRequest on close()") void happyPath_enumerates_and_closes(String wildcard) throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator);Created: 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/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertSame(handle, out); verify(treeConnection, times(2)).acquire(); // constructor + here } @Test @DisplayName("getRemoteHostName returns transport value and closes resources") void getRemoteHostNameHappyPath() { // Ensures remote host name is sourced from transport and resources are closed when(transport.getRemoteHostName()).thenReturn("remote.example");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
// TODO: configure a timeout on the reader so that it doesn’t block forever. writer.goAway(lastGoodStreamId, statusCode, EMPTY_BYTE_ARRAY) } } /** * Closes this connection. This cancels all open streams and unanswered pings. It closes the * underlying input and output streams and shuts down internal task queues. */ override fun close() { close(ErrorCode.NO_ERROR, ErrorCode.CANCEL, null) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
rspx = new SmbComWriteAndXResponse(); } else { req = new SmbComWrite(); rsp = new SmbComWriteResponse(); } } /** * Closes this output stream and releases any system resources associated * with it. * * @throws IOException if a network error occurs */ @Override public void close() throws IOException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11K bytes - Click Count (0) -
internal/event/target/mysql.go
if IsConnErr(err) { return store.ErrNotConnected } return err } // Delete the event from store. return target.store.Del(key) } // Close - closes underneath connections to MySQL database. func (target *MySQLTarget) Close() error { close(target.quitCh) if target.updateStmt != nil { // FIXME: log returned error. ignore time being. _ = target.updateStmt.Close()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 11.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
* * @throws CIFSException if an error occurs opening the file */ public void open() throws CIFSException { try (SmbFileHandleImpl fh = ensureOpen()) {} } /** * Closes this output stream and releases any system resources associated * with it. * * @throws IOException * if a network error occurs */ @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
if (root instanceof InterruptedException) { ioe = new InterruptedIOException(root.getMessage()); ioe.initCause(root); } return ioe; } /** * Closes this input stream and releases any system resources associated with the stream. * * @throws IOException * if a network error occurs */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.6K bytes - Click Count (0) -
internal/event/target/nats.go
if os.IsNotExist(eErr) { return nil } return eErr } if err := target.send(eventData); err != nil { return err } return target.store.Del(key) } // Close - closes underneath connections to NATS server. func (target *NATSTarget) Close() (err error) { close(target.quitCh) if target.stanConn != nil { // closing the streaming connection does not close the provided NATS connection.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Apr 27 04:30:57 GMT 2025 - 13.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java
// Each extract will overwrite the top level classes that existed before it, the result is that we end up // with a single version of the class in `jarExpandDir`. // This will be the closes version to `targetCompatibility`, the same class that would be loaded in a JVM // that has `targetCompatibility` version.Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 16.2K bytes - Click Count (0)