Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 243 for returningX (0.1 sec)

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

     *
     * <p>In addition to these required methods, implementations of {@code Multiset} are expected to
     * provide two {@code static} creation methods: {@code create()}, returning an empty multiset, and
     * {@code create(Iterable<? extends E>)}, returning a multiset containing the given initial
     * elements. This is simply a refinement of {@code Collection}'s constructor recommendations,
     * reflecting the new developments of Java 5.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Futures.java

        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
       * Executes {@code callable} on the specified {@code executor}, returning a {@code Future}.
       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static <O extends @Nullable Object> ListenableFuture<O> submit(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

          byteBuffer = ByteBuffer.allocate(byteBuffer.capacity() * 2);
        } else {
          draining = true;
        }
      }
    
      /**
       * Copy as much of the byte buffer into the output array as possible, returning the (positive)
       * number of characters copied.
       */
      private int drain(byte[] b, int off, int len) {
        int remaining = min(len, byteBuffer.remaining());
        byteBuffer.get(b, off, remaining);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ReaderInputStream.java

          byteBuffer = ByteBuffer.allocate(byteBuffer.capacity() * 2);
        } else {
          draining = true;
        }
      }
    
      /**
       * Copy as much of the byte buffer into the output array as possible, returning the (positive)
       * number of characters copied.
       */
      private int drain(byte[] b, int off, int len) {
        int remaining = min(len, byteBuffer.remaining());
        byteBuffer.get(b, off, remaining);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    # Classes as Dependencies
    
    Before diving deeper into the **Dependency Injection** system, let's upgrade the previous example.
    
    ## A `dict` from the previous example
    
    In the previous example, we were returning a `dict` from our dependency ("dependable"):
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/dependencies/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * given to [connectionUser] who may (for example) assign it to a [RealCall.connection].
       *
       * This confirms the returned connection is healthy before returning it. If this encounters any
       * unhealthy connections in its search, this will clean them up.
       *
       * If [routes] is non-null these are the resolved routes (ie. IP addresses) for the connection.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/simple-oauth2.md

    ///
    
    ```Python hl_lines="58-66  69-72  90"
    {!> ../../docs_src/security/tutorial003.py!}
    ```
    
    ////
    
    /// info
    
    The additional header `WWW-Authenticate` with value `Bearer` we are returning here is also part of the spec.
    
    Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header.
    
    In the case of bearer tokens (our case), the value of that header should be `Bearer`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-params.md

    #### Return *enumeration members*
    
    You can return *enum members* from your *path operation*, even nested in a JSON body (e.g. a `dict`).
    
    They will be converted to their corresponding values (strings in this case) before returning them to the client:
    
    ```Python hl_lines="18  21  23"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    In your client you will get a JSON response like:
    
    ```JSON
    {
      "model_name": "alexnet",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -# if __GNUC_PREREQ (2, 91)
    -#  define __bzero(s, n) __builtin_memset (s, '\0', n)
    -# endif
    -
    +# define __bzero(s, n) __builtin_memset (s, '\0', n)
     #endif
     
    -
    -/* Copy N bytes from SRC to DEST, returning pointer to byte following the
    -   last copied.  */
    -#ifdef __USE_GNU
    -# if !defined _HAVE_STRING_ARCH_mempcpy || defined _FORCE_INLINES
    -#  ifndef _HAVE_STRING_ARCH_mempcpy
    -#   if __GNUC_PREREQ (3, 4)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Table.java

     * that, in some implementations, data access by column key may have fewer supported operations or
     * worse performance than data access by row key.
     *
     * <p>The methods returning collections or maps always return views of the underlying table.
     * Updating the table can change the contents of those collections, and updating the collections
     * will change the table.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top