Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for reserves (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       */
      @CanIgnoreReturnValue
      public double acquire(int permits) {
        long microsToWait = reserve(permits);
        stopwatch.sleepMicrosUninterruptibly(microsToWait);
        return 1.0 * microsToWait / SECONDS.toMicros(1L);
      }
    
      /**
       * Reserves the given number of permits from this {@code RateLimiter} for future use, returning
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/RateLimiter.java

       */
      @CanIgnoreReturnValue
      public double acquire(int permits) {
        long microsToWait = reserve(permits);
        stopwatch.sleepMicrosUninterruptibly(microsToWait);
        return 1.0 * microsToWait / SECONDS.toMicros(1L);
      }
    
      /**
       * Reserves the given number of permits from this {@code RateLimiter} for future use, returning
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/resources/poms/validation/reserved-repository-id.xml

    Guillaume Nodet <******@****.***> 1729859506 +0200
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

         * values in the [-128, 127] range are valid for the compact serial form. Non-negative values
         * are reserved for enums defined in BloomFilterStrategies; negative values are reserved for any
         * custom, stateful strategy we may define (e.g. any kind of strategy that would depend on user
         * input).
         */
        int ordinal();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java

    import org.apache.maven.model.building.ModelBuildingRequest;
    
    /**
     * Resolves relative paths of a model against a specific base directory.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelPathTranslator {
    
        /**
         * Resolves the well-known paths of the specified model against the given base directory. Paths within plugin
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

    package org.apache.maven.model.path;
    
    import java.io.File;
    import java.nio.file.Path;
    
    /**
     * Resolves relative paths against a specific base directory.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface PathTranslator {
    
        /**
         * Resolves the specified path against the given base directory. The resolved path will be absolute and uses the
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/encoder.md

    For example, if you need to store it in a database.
    
    For that, **FastAPI** provides a `jsonable_encoder()` function.
    
    ## Using the `jsonable_encoder`
    
    Let's imagine that you have a database `fake_db` that only receives JSON compatible data.
    
    For example, it doesn't receive `datetime` objects, as those are not compatible with JSON.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 23:31:16 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. fastapi/param_functions.py

                This will be used to extract the data and for the generated OpenAPI.
                It is particularly useful when you can't use the name you want because it
                is a Python reserved keyword or similar.
                """
            ),
        ] = None,
        alias_priority: Annotated[
            Union[int, None],
            Doc(
                """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/middleware.md

    ///
    
    ## Create a middleware
    
    To create a middleware you use the decorator `@app.middleware("http")` on top of a function.
    
    The middleware function receives:
    
    * The `request`.
    * A function `call_next` that will receive the `request` as a parameter.
        * This function will pass the `request` to the corresponding *path operation*.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactCollector.java

     * under the License.
     */
    package org.apache.maven.artifact.resolver;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * Artifact collector - takes a set of original artifacts and resolves all of the best versions to use
     * along with their metadata. No artifacts are downloaded.
     */
    @Deprecated
    @Named
    @Singleton
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top