Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,758 for onex (0.04 sec)

  1. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

         * the uniformly-distributed random integer, then truncates any fractional
         * part, so higher integers would appear (in this case linearly) more often
         * than lower ones.
         */
        return (int) Math.pow(a, 1.0 / concentration);
      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
        double hit = req - misses.get();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Service.java

       * invoked in the same order as the underlying service enters those states. Additionally, at most
       * one of the listener's callbacks will execute at once. However, multiple listeners' callbacks
       * may execute concurrently, and listeners may execute in an order different from the one in which
       * they were registered.
       *
       * <p>RuntimeExceptions thrown by a listener will be caught and logged. Any exception thrown
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/openapi-callbacks.md

    ## Documenting the callback { #documenting-the-callback }
    
    The actual callback code will depend heavily on your own API app.
    
    And it will probably vary a lot from one app to the next.
    
    It could be just one or two lines of code, like:
    
    ```Python
    callback_url = "https://example.com/api/v1/invoices/events/"
    httpx.post(callback_url, json={"description": "Invoice paid", "paid": True})
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/response-model.md

    This can be used as a quick shortcut if you have only one Pydantic model and want to remove some data from the output.
    
    /// tip
    
    But it is still recommended to use the ideas above, using multiple classes, instead of these parameters.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

       *         .build();
       * }
       *
       * <p>Builder instances can be reused; it is safe to call {@link #build} multiple times to build
       * multiple graphs in series. Each new graph contains all the elements of the ones created before
       * it.
       *
       * @since 28.0
       */
      public static class Builder<N, V> {
    
        private final MutableValueGraph<N, V> mutableValueGraph;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

    But we also pass a `list` of scopes, in this case with just one scope: `items` (it could have more).
    
    And the dependency function `get_current_active_user` can also declare sub-dependencies, not only with `Depends` but also with `Security`. Declaring its own sub-dependency function (`get_current_user`), and more scope requirements.
    
    In this case, it requires the scope `me` (it could require more than one scope).
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. guava-gwt/pom.xml

                One way to eliminate the warnings is to make base.testModule include the not really
                necessary <inherits> lines for c.g.c.collect.testModule, etc. However, adding <inherits>
                lines could make c.g.c.base.testModule transitively inherit from extra modules. If some
                of those modules are ones that it uses but forgets to list in its own <inherits>, we'd
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/sql-databases.md

    You would have **one single `engine` object** for all your code to connect to the same database.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[14:18] hl[14:15,17:18] *}
    
    Using `check_same_thread=False` allows FastAPI to use the same SQLite database in different threads. This is necessary as **one single request** could use **more than one thread** (for example in dependencies).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/oauth2-jwt.md

    Create a PassLib "context". This is what will be used to hash and verify passwords.
    
    /// tip
    
    The PassLib context also has functionality to use different hashing algorithms, including deprecated old ones only to allow verifying them, etc.
    
    For example, you could use it to read and verify passwords generated by another system (like Django) but hash any new passwords with a different algorithm like Bcrypt.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        }
        if (e is SSLPeerUnverifiedException) {
          // e.g. a certificate pinning error.
          return false
        }
        // An example of one we might want to retry with a different route is a problem connecting to a
        // proxy and would manifest as a standard IOException. Unless it is one we know we should not
        // retry, we return true and try a new route.
        return true
      }
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top