Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 215 for takes (0.01 sec)

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

          if (iterations >= maxIterations) {
            @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts
            T[] castBuffer = (T[]) buffer;
            // We've already taken O(k log k), let's make sure we don't take longer than O(k log k).
            sort(castBuffer, left, right + 1, comparator);
            break;
          }
        }
        bufferSize = k;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/index.md

    And that function takes parameters in the same way that *path operation functions* do.
    
    /// tip
    
    You'll see what other "things", apart from functions, can be used as dependencies in the next chapter.
    
    ///
    
    Whenever a new request arrives, **FastAPI** will take care of:
    
    * Calling your dependency ("dependable") function with the correct parameters.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

    ### `HTMLResponse` { #htmlresponse }
    
    Takes some text or bytes and returns an HTML response, as you read above.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Takes some text or bytes and returns a plain text response.
    
    {* ../../docs_src/custom_response/tutorial005.py hl[2,7,9] *}
    
    ### `JSONResponse` { #jsonresponse }
    
    Takes some data and returns an `application/json` encoded response.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/middleware.md

    * It takes each **request** that comes to your application.
    * It can then do something to that **request** or run any needed code.
    * Then it passes the **request** to be processed by the rest of the application (by some *path operation*).
    * It then takes the **response** generated by the application (by some *path operation*).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

      }
    
      // TODO(cpovirk): instead of skipping, use a smaller number of steps
      @GwtIncompatible // works but takes 5 minutes to run
      public void testPeekingIteratorBehavesLikeIteratorOnThreeElementIterable() {
        actsLikeIteratorHelper(Lists.newArrayList("A", "B", "C"));
      }
    
      @GwtIncompatible // works but takes 5 minutes to run
      public void testPeekingIteratorAcceptsNullElements() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharStreams.java

       * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific
       * types. CharBuffer has poor performance when being written into or read out of so round tripping
       * all the bytes through the buffer takes a long time. With these specialized types we can just
       * use a char array.
       *
       * @param from the object to read from
       * @param to the object to write to
       * @return the number of characters copied
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/sub-applications.md

    ## Mounting a **FastAPI** application { #mounting-a-fastapi-application }
    
    "Mounting" means adding a completely "independent" application in a specific path, that then takes care of handling everything under that path, with the _path operations_ declared in that sub-application.
    
    ### Top-level application { #top-level-application }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        }
      }
    
      /**
       * Generates test cases for the given combination of scenario and timeouts. For methods that take
       * an explicit timeout value, all of the given timeoutsToUse result in individual test cases. For
       * methods that do not take an explicit timeout value, a single test case is generated only if the
       * implicit timeout of that method matches the given timeoutsToUse. For example, enter() is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/static-files.md

    ///
    
    ### What is "Mounting" { #what-is-mounting }
    
    "Mounting" means adding a complete "independent" application in a specific path, that then takes care of handling all the sub-paths.
    
    This is different from using an `APIRouter` as a mounted application is completely independent. The OpenAPI and docs from your main application won't include anything from the mounted application, etc.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 COM_RENAME command implementation.
     *
     * This command renames a file or directory on the SMB server.
     * It takes an old filename and new filename and performs the rename operation.
     */
    public class SmbComRename extends ServerMessageBlock {
    
        private final int searchAttributes;
        private final String oldFileName;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top