Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 1,033 for Close (0.32 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

     * ftpClient.init(); // Initialize with configured parameters
     * ResponseData responseData = ftpClient.doGet("ftp://example.com/path/to/file.txt");
     * // Process the responseData
     * ftpClient.close(); // Close and release resources
     * }
     * </pre>
     *
     * @author shinsuke
     */
    public class FtpClient extends AbstractCrawlerClient {
    
        /** Logger instance for this class */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

        }
      } catch (_: NumberFormatException) {
        return defaultValue
      }
    }
    
    /** Closes this, ignoring any checked exceptions. */
    fun Closeable.closeQuietly() {
      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /**
     * Returns true if file streams can be manipulated independently of their paths. This is typically
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. docs/en/docs/management-tasks.md

    If the PR meets the above conditions, you can merge it. 😎
    
    ## Review PRs
    
    * If a PR doesn't explain what it does or why, if it seems like it could be useful, ask for more information. Otherwise, feel free to close it.
    
    * If a PR seems to be spam, meaningless, only to change statistics (to appear as "contributor") or similar, you can simply mark it as `invalid`, and it will be automatically closed.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            setTree(c, tree);
    
            assertEquals(7, c.getTreeType());
            assertEquals("SHARE", c.getConnectedShare());
            // try-with-resources closes the acquired tree
            verify(tree, atLeastOnce()).close();
        }
    
        @Test
        @DisplayName("isSame returns true only for same underlying tree instance")
        void isSame_comparesUnderlyingTreeIdentity() {
            SmbTreeConnection c1 = newConn();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/advanced-dependencies.md

    But as `generate_stream()` doesn't use the database session, it is not really necessary to keep the session open while sending the response.
    
    If you have this specific use case using SQLModel (or SQLAlchemy), you could explicitly close the session after you don't need it anymore:
    
    {* ../../docs_src/dependencies/tutorial014_an_py310.py ln[24:28] hl[28] *}
    
    That way the session would release the database connection, so other requests could use it.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
  6. schema/schema.go

    		cacheStore:       cacheStore,
    		namer:            namer,
    		initialized:      make(chan struct{}),
    	}
    	// When the schema initialization is completed, the channel will be closed
    	defer close(schema.initialized)
    
    	// Load exist schema cache, return if exists
    	if v, ok := cacheStore.Load(schemaCacheKey); ok {
    		s := v.(*Schema)
    		// Wait for the initialization of other goroutines to complete
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                this.stream = stream;
                this.collector = collector;
            }
    
            @Override
            public void close() throws IOException {
                this.stream.close();
                this.collector.close();
            }
    
            @Override
            public void flush() throws IOException {
                this.stream.flush();
                this.collector.flush();
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  8. docs/recipes.md

                    totalBytesWritten += byteCount
                    progressListener.update(totalBytesWritten, contentLength(), completed)
                  }
    
                  override fun close() {
                    super.close()
                    if (!completed) {
                      completed = true
                      progressListener.update(totalBytesWritten, contentLength(), completed)
                    }
                  }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  9. cmd/object-api-interface.go

    	// Object operations.
    
    	// GetObjectNInfo returns a GetObjectReader that satisfies the
    	// ReadCloser interface. The Close method runs any cleanup
    	// functions, so it must always be called after reading till EOF
    	//
    	// IMPORTANTLY, when implementations return err != nil, this
    	// function MUST NOT return a non-nil ReadCloser.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/CopyUtil.java

                try {
                    return copyInternal(is, os);
                } finally {
                    CloseableUtil.close(os);
                }
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
         * Copies from a file with the specified encoding to a file with the platform default encoding.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 45.2K bytes
    - Click Count (0)
Back to Top