Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 1,560 for Example (0.08 sec)

  1. guava/src/com/google/common/util/concurrent/Futures.java

       * if the primary input succeeds, it is never invoked. If, during the invocation of {@code
       * fallback}, an exception is thrown, this exception is used as the result of the output {@code
       * Future}.
       *
       * <p>Usage example:
       *
       * <pre>{@code
       * ListenableFuture<Integer> fetchCounterFuture = ...;
       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * java.util.stream} Javadoc), that order is preserved, but entries are <a
       * href="ImmutableMultimap.html#iteration">grouped by key</a>.
       *
       * <p>Example:
       *
       * <pre>{@code
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ElementOrder.java

    import java.util.Map;
    import javax.annotation.CheckForNull;
    
    /**
     * Used to represent the order of elements in a data structure that supports different options for
     * iteration order guarantees.
     *
     * <p>Example usage:
     *
     * <pre>{@code
     * MutableGraph<Integer> graph =
     *     GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build();
     * }</pre>
     *
     * @author Joshua O'Madadhain
     * @since 20.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/ElementOrder.java

    import java.util.Map;
    import javax.annotation.CheckForNull;
    
    /**
     * Used to represent the order of elements in a data structure that supports different options for
     * iteration order guarantees.
     *
     * <p>Example usage:
     *
     * <pre>{@code
     * MutableGraph<Integer> graph =
     *     GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build();
     * }</pre>
     *
     * @author Joshua O'Madadhain
     * @since 20.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LongAdder.java

       * concurrently updating.
       */
      public void reset() {
        internalReset(0L);
      }
    
      /**
       * Equivalent in effect to {@link #sum} followed by {@link #reset}. This method may apply for
       * example during quiescent points between multithreaded computations. If there are updates
       * concurrent with this method, the returned value is not guaranteed to be the final
       * value occurring before the reset.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/policy/v1beta1/generated.proto

    message PodDisruptionBudgetSpec {
      // An eviction is allowed if at least "minAvailable" pods selected by
      // "selector" will still be available after the eviction, i.e. even in the
      // absence of the evicted pod.  So for example you can prevent all voluntary
      // evictions by specifying "100%".
      // +optional
      optional k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. docs/fr/docs/advanced/additional-responses.md

    Par exemple, vous pouvez déclarer une réponse avec un code HTTP `404` qui utilise un modèle Pydantic et a une `description` personnalisée.
    
    Et une réponse avec un code HTTP `200` qui utilise votre `response_model`, mais inclut un `example` personnalisé :
    
    ```Python hl_lines="20-31"
    {!../../docs_src/additional_responses/tutorial003.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

                Maps.asMap(graph.adjacentNodes(node), successorNodeToValueFn));
      }
    
      /**
       * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * <pre>{@code
       * static final ImmutableValueGraph<City, Distance> CITY_ROAD_DISTANCE_GRAPH =
       *     ValueGraphBuilder.undirected()
       *         .<City, Distance>immutable()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial005.py

        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "johndoe@example.com",
            "disabled": False,
        }
    
    
    def test_incorrect_token():
        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    /**
     * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with
     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * <pre>{@code
     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }</pre>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top