Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 229 for utilities (0.06 seconds)

  1. guava/src/com/google/common/collect/CollectCollectors.java

    import java.util.function.Supplier;
    import java.util.function.ToIntFunction;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import org.jspecify.annotations.Nullable;
    
    /** Collectors utilities for {@code common.collect} internals. */
    @GwtCompatible
    final class CollectCollectors {
    
      private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST =
          Collector.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          checkValidState(cache);
    
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          checkValidState(cache);
        }
      }
    
      /* ---------------- Local utilities -------------- */
    
      /** Most of the tests in this class run against every one of these caches. */
      private Iterable<LoadingCache<Object, Object>> caches() {
        // lots of different ways to configure a LoadingCache
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/Floats.java

     * either {@link Float} or {@link Arrays}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained">primitive utilities</a>.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @GwtCompatible
    public final class Floats extends FloatsMethodsForWeb {
      private Floats() {}
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  4. fastapi/.agents/skills/fastapi/SKILL.md

    * HTTPX for interacting with HTTP (other APIs), prefer it over Requests.
    
    ## Do not use Pydantic RootModels
    
    Do not use Pydantic `RootModel`, instead use regular type annotations with `Annotated` and Pydantic validation utilities.
    
    For example, for a list with validations you could do:
    
    ```python
    from typing import Annotated
    
    from fastapi import Body, FastAPI
    from pydantic import Field
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/CollectSpliterators.java

    import java.util.function.IntFunction;
    import java.util.function.LongConsumer;
    import java.util.function.Predicate;
    import java.util.stream.IntStream;
    import org.jspecify.annotations.Nullable;
    
    /** Spliterator utilities for {@code common.collect} internals. */
    @GwtCompatible
    final class CollectSpliterators {
      private CollectSpliterators() {}
    
      static <T extends @Nullable Object> Spliterator<T> indexed(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CollectSpliterators.java

    import java.util.function.IntFunction;
    import java.util.function.LongConsumer;
    import java.util.function.Predicate;
    import java.util.stream.IntStream;
    import org.jspecify.annotations.Nullable;
    
    /** Spliterator utilities for {@code common.collect} internals. */
    @GwtCompatible
    @IgnoreJRERequirement // used only from APIs that work with Stream
    final class CollectSpliterators {
      private CollectSpliterators() {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.locks.AbstractQueuedSynchronizer;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /** Utilities for the AbstractFutureBenchmarks */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    final class AbstractFutureBenchmarks {
      private AbstractFutureBenchmarks() {}
    
      interface Facade<T> extends ListenableFuture<T> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Verify.java

     * reasonable and it will be fine.
     *
     * <ul>
     *   <li>If checking whether the <i>caller</i> has violated your method or constructor's contract
     *       (such as by passing an invalid argument), use the utilities of the {@link Preconditions}
     *       class instead.
     *   <li>If checking an <i>impossible</i> condition (which <i>cannot</i> happen unless your own
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/security/oauth2-scopes.md

    It's common that each authentication provider names their flows in a different way, to make it part of their brand.
    
    But in the end, they are implementing the same OAuth2 standard.
    
    ///
    
    **FastAPI** includes utilities for all these OAuth2 authentication flows in `fastapi.security.oauth2`.
    
    ## `Security` in decorator `dependencies` { #security-in-decorator-dependencies }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import java.util.regex.Pattern;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Supplies an arbitrary "default" instance for a wide range of types, often useful in testing
     * utilities.
     *
     * <p>Covers arrays, enums and common types defined in {@code java.lang}, {@code java.lang.reflect},
     * {@code java.io}, {@code java.nio}, {@code java.math}, {@code java.util}, {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
Back to Top