Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 461 for keep1 (0.89 seconds)

  1. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        private SmbTreeConnection newConn() {
            return new SmbTreeConnection(ctx) {
            };
        }
    
        @BeforeEach
        void setup() {
            when(ctx.getConfig()).thenReturn(config);
            // keep retries small for faster and deterministic tests
            when(config.getMaxRequestRetries()).thenReturn(2);
            when(config.isTraceResourceUsage()).thenReturn(false);
            // Mock credentials to avoid NullPointerException
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/handling-errors.md

    The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it.
    
    So, you can keep raising **FastAPI**'s `HTTPException` as normally in your code.
    
    But when you register an exception handler, you should register it for Starlette's `HTTPException`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            dataMap.put("url", "http://example.com/test");
            dataMap.put("doc_id", "existing-doc-id");
    
            indexUpdateCallback.store(paramMap, dataMap);
    
            // Should keep existing doc_id
            assertEquals("existing-doc-id", dataMap.get("doc_id"));
        }
    
        @Test
        public void test_concurrentStore() throws Exception {
            // Test thread safety
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/body-nested-models.md

    That's what we are going to see here.
    
    In this case, you would accept any `dict` as long as it has `int` keys with `float` values:
    
    {* ../../docs_src/body_nested_models/tutorial009_py310.py hl[7] *}
    
    /// tip
    
    Keep in mind that JSON only supports `str` as keys.
    
    But Pydantic has automatic data conversion.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  5. pyproject.toml

    [tool.ruff.lint.isort]
    known-third-party = ["fastapi", "pydantic", "starlette"]
    
    [tool.ruff.lint.pyupgrade]
    # Preserve types, even if a file imports `from __future__ import annotations`.
    keep-runtime-typing = true
    
    [tool.inline-snapshot]
    # default-flags=["fix"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    stick, and held it out to the puppy; whereupon the puppy jumped
    into the air off all its feet at once, with a yelp of delight,
    and rushed at the stick, and made believe to worry it; then Alice
    dodged behind a great thistle, to keep herself from being run
    over; and the moment she appeared on the other side, the puppy
    made another rush at the stick, and tumbled head over heels in
    its hurry to get hold of it; then Alice, thinking it was very
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * example, we could compute the appropriate throttle time for an incoming request, and make the
       * calling thread wait for that time.
       *
       * The simplest way to maintain a rate of QPS is to keep the timestamp of the last granted
       * request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of
       * QPS=5 (5 tokens per second), if we ensure that a request isn't granted earlier than 200ms after
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/behind-a-proxy.md

    Passing the `root_path` to `FastAPI` would be the equivalent of passing the `--root-path` command line option to Uvicorn or Hypercorn.
    
    ### About `root_path` { #about-root-path }
    
    Keep in mind that the server (Uvicorn) won't use that `root_path` for anything else than passing it to the app.
    
    But if you go with your browser to [http://127.0.0.1:8000/app](http://127.0.0.1:8000/app) you will see the normal response:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          DerHeader(
            tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
            tag = DerHeader.TAG_END_OF_CONTENTS,
            constructed = false,
            length = -1L,
          )
      }
    
      /** A source that keeps track of how many bytes it's consumed. */
      private class CountingSource(
        source: Source,
      ) : ForwardingSource(source) {
        var bytesRead = 0L
    
        override fun read(
          sink: Buffer,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/settings.md

    ///
    
    And then the `admin_email` setting would be set to `"******@****.***"`.
    
    The `app_name` would be `"ChimichangApp"`.
    
    And the `items_per_user` would keep its default value of `50`.
    
    ## Settings in another module { #settings-in-another-module }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.9K bytes
    - Click Count (0)
Back to Top