Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 212 for think (0.09 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * list to {@link com.google.common.collect.ImmutableList#copyOf(Collection) ImmutableList.copyOf}
       * and use that list instead.
       */
      public List<Long> asList() {
        /*
         * Typically we cache this kind of thing, but much repeated use of this view is a performance
         * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if
         * they never use this method.
         */
        return new AsList(this);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeConnection.java

                        if ( transport.isDisconnected() || transport.getRemoteHostName() == null ) {
                            /*
                             * Tree/session thinks it is connected but transport disconnected
                             * under it, reset tree to reflect the truth.
                             */
                            log.debug("Disconnecting failed tree and session");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * ImmutableList.copyOf} and use that list instead.
       */
      public List<Integer> asList() {
        /*
         * Typically we cache this kind of thing, but much repeated use of this view is a performance
         * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if
         * they never use this method.
         */
        return new AsList(this);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python hl_lines="5-6"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    /// tip
    
    You can use `async` or regular functions.
    
    **FastAPI** will do the right thing with each, the same as with normal dependencies.
    
    ///
    
    ## A dependency with `yield` and `try`
    
    If you use a `try` block in a dependency with `yield`, you'll receive any exception that was thrown when using the dependency.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Crc32cHashFunction.java

         * crc2 = int2
         * crc3 = int3
         *
         * ...so we set crc0 so that computeForWord(crc0) = -1 and xoring it with the first int
         * gives us the desired result.  computeForWord(0) == 0, so all the others do the right thing.
         */
        private int crc0 = INVERSE_COMPUTE_FOR_WORD_OF_ALL_1S;
        private int crc1 = 0;
        private int crc2 = 0;
        private int crc3 = 0;
    
        @Override
        protected void process(ByteBuffer bb) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        int removes = frequency(asList(stimuli), remove);
        if ((!features.contains(IteratorFeature.SUPPORTS_REMOVE) && removes > 1)
            || (stimuli.length >= 5 && removes > 2)) {
          // removes are the most expensive thing to test, since they often throw exceptions with stack
          // traces, so we test them a bit less aggressively
          return;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        int removes = frequency(asList(stimuli), remove);
        if ((!features.contains(IteratorFeature.SUPPORTS_REMOVE) && removes > 1)
            || (stimuli.length >= 5 && removes > 2)) {
          // removes are the most expensive thing to test, since they often throw exceptions with stack
          // traces, so we test them a bit less aggressively
          return;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/security/oauth2-scopes.md

    /// tip
    
    The important and "magic" thing here is that `get_current_user` will have a different list of `scopes` to check for each *path operation*.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableSortedMap}. It's a thin wrapper
     * around a {@link java.util.TreeMap}.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    public final class ImmutableSortedMap<K, V> extends ForwardingImmutableMap<K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str | None] = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Annotated[Union[str, None]] = None
    ```
    
    ////
    
    Both of those versions mean the same thing, `q` is a parameter that can be a `str` or `None`, and by default, it is `None`.
    
    Now let's jump to the fun stuff. 🎉
    
    ## Add `Query` to `Annotated` in the `q` parameter
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top