- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,347 for closed (0.05 sec)
-
android/guava/src/com/google/common/io/MultiReader.java
MultiReader(Iterator<? extends CharSource> readers) throws IOException { this.it = readers; advance(); } /** Closes the current reader and opens the next one, if any. */ private void advance() throws IOException { close(); if (it.hasNext()) { current = it.next().openStream(); } } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
* </ul> * * <p>Methods:</p> * <ul> * <li>{@code getFile()} - Marks the file as retrieved and returns the file.</li> * <li>{@code close()} - Closes the stream and deletes the temporary file if it is not needed.</li> * </ul> */ public class ContentOutputStream extends DeferredFileOutputStream { /** * The logger for this class. */
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
@DisplayName("close() closes handle; does not close file when not unshared") void closeClosesHandle() throws Exception { SmbFileInputStream in = newStream(); in.close(); verify(mockHandle, times(1)).close(); verify(mockFile, never()).close(); } @Test @DisplayName("seToIoe maps Interrupted cause to InterruptedIOException")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/MultiInputStream.java
advance(); } @Override public void close() throws IOException { if (in != null) { try { in.close(); } finally { in = null; } } } /** Closes the current input stream and opens the next one, if any. */ private void advance() throws IOException { close(); if (it.hasNext()) { in = it.next().openStream(); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcConnectionMonitorTarget.java
logger.warn("clientConnectionManager is null."); return; } try { // Close expired connections clientConnectionManager.closeExpiredConnections(); // Close idle connections clientConnectionManager.closeIdleConnections(idleConnectionTimeout, TimeUnit.MILLISECONDS); } catch (final Exception e) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.3K bytes - Viewed (0) -
internal/http/check_port_others.go
l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port)) if err != nil { return err } // As we are able to listen on this network, the port is not in use. // Close the listener and continue check other networks. return l.Close()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.5K bytes - Viewed (0) -
fastapi/applications.py
# user middlewares, the same context is used. # This is currently not needed, only for closing files, but used to be # important when dependencies with yield were closed here. Middleware(AsyncExitStackMiddleware), ] ) app = self.router for cls, args, kwargs in reversed(middleware):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 176.3K bytes - Viewed (0) -
internal/http/request-recorder.go
io.Reader // Response body should be logged LogBody bool // internal recording buffer buf bytes.Buffer // total bytes read including header size bytesRead int } // Close is a no operation closer func (r *RequestRecorder) Close() error { // no-op return nil } // Read reads from the internal reader and counts/save the body in the memory func (r *RequestRecorder) Read(p []byte) (n int, err error) {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 12 21:37:19 UTC 2023 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
// Act raf.open(); // Assert: open() ensures handle and closes it via try-with-resources verify(raf, times(1)).ensureOpen(); verify(fh, times(1)).close(); } @Test @DisplayName("close(): clears cache and closes handle; does not close shared SmbFile") void close_sharedFile_closesHandle_only() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
cmd/erasure-decode.go
case errors.Is(err, errDiskNotFound): atomic.AddInt32(&disksNotFound, 1) } // This will be communicated upstream. p.orgReaders[bufIdx] = nil if br, ok := p.readers[i].(io.Closer); ok { br.Close() } p.readers[i] = nil // Since ReadAt returned error, trigger another read. readTriggerCh <- true return } newBufLK.Lock()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0)