Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 2,133 for Used (0.04 seconds)

  1. docs/en/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}
    
    A **context manager** in Python is something that you can use in a `with` statement, for example, `open()` can be used as a context manager:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    In recent versions of Python, there's also an **async context manager**. You would use it with `async with`:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/JAASAuthenticator.java

            this.serviceName = serviceName;
        }
    
        /**
         * Create an authenticator using the given credentials
         *
         * This will create a JAAS configuration that is used to obtain a TGT.
         *
         * @param domain the domain for authentication
         * @param username the username for authentication
         * @param password the password for authentication
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.3K bytes
    - Click Count (1)
  3. cmd/metrics-v2_test.go

    	defer ticker.Stop()
    	for _, obs := range observations {
    		// Send observations once every 1ms, to simulate delay between
    		// observations. This is to test the channel based
    		// synchronization used internally.
    		<-ticker.C
    		ttfbHist.With(prometheus.Labels{"api": obs.label}).Observe(obs.val)
    	}
    
    	metrics := getHistogramMetrics(ttfbHist, getBucketTTFBDistributionMD(), false, false)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. internal/logger/logrotate.go

    	// When FileNameFunc is not specified, DefaultFilenameFunc will be used.
    	FileNameFunc func() string
    
    	// Compress specify if you want the logs to be compressed after rotation.
    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. guava-gwt/test/com/google/common/escape/testing/Testing.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 19 16:02:36 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/PluginConfigurationExpander.java

         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void expandPluginConfiguration(Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

            }
    
            return filePath;
        }
    
        /**
         * Returns the character set used for content encoding.
         * @return the charset
         */
        public String getCharset() {
            return charset;
        }
    
        /**
         * Sets the character set used for content encoding.
         * @param charset the charset to set
         */
        public void setCharset(final String charset) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/UploadForm.java

    import org.lastaflute.web.validation.Required;
    
    /**
     * Form for uploading stopwords files to the Fess search engine.
     * Stopwords are common words that should be ignored during search indexing and querying.
     * This form is used in the admin interface to upload custom stopwords dictionary files.
     */
    public class UploadForm {
    
        /**
         * The dictionary ID that identifies which stopwords dictionary configuration to update.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

         * Add a rule which will skip SHA checking for the given dependency name. This should be used for
         * locally build dependencies, which cause the sha to change constantly.
         */
        public void ignoreSha(String dep) {
            ignoreShas.add(dep);
        }
    
        /**
         * Add a file that should be ignored by the check. This should be used for additional license files not tied to jar dependency
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/base/Predicates.java

       * contains any match for the given regular expression pattern. The test used is equivalent to
       * {@code Pattern.compile(pattern).matcher(arg).find()}
       *
       * @throws IllegalArgumentException if the pattern is invalid
       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
      public static Predicate<CharSequence> containsPattern(String pattern) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
Back to Top