Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,719 for because (0.19 sec)

  1. docs/en/docs/tutorial/response-model.md

    ```Python hl_lines="8  10-11"
    {!> ../../../docs_src/response_model/tutorial003_02.py!}
    ```
    
    This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass) of `Response`.
    
    And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct.
    
    ### Annotate a Response Subclass
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * least old versions), so we mostly do. This is useful because we don't actually run our CI on
         * Windows under Java 8, at least as of this writing.
         *
         * Under Windows in particular, we want to test that:
         *
         * - Under Java 9+, createTempDir() succeeds because it can look up the *real* username, rather
         * than relying on the one from the system property.
         *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/DosError.java

            "A device attached to the system is not functioning.",
            "The process cannot access the file because it is being used by another process.",
            "The process cannot access the file because it is being used by another process.",
            "The process cannot access the file because another process has locked a portion of the file.",
            "The disk is full.",
            "A duplicate name exists on the network.",
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.5K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

          // Fail fast if there's no response queued up.
          return failFastResponse!!
        }
    
        val result = responseQueue.take()
    
        // If take() returned because we're shutting down, then enqueue another dead letter so that any
        // other threads waiting on take() will also return.
        if (result == DEAD_LETTER) responseQueue.add(DEAD_LETTER)
    
        return result
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Striped64.java

       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
       * other. But Atomic objects residing in arrays will tend to be
       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * least old versions), so we mostly do. This is useful because we don't actually run our CI on
         * Windows under Java 8, at least as of this writing.
         *
         * Under Windows in particular, we want to test that:
         *
         * - Under Java 9+, createTempDir() succeeds because it can look up the *real* username, rather
         * than relying on the one from the system property.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params.md

    ## Standards-based benefits, alternative documentation
    
    And because the generated schema is from the <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md" class="external-link" target="_blank">OpenAPI</a> standard, there are many compatible tools.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @Override
      int indexOf(@CheckForNull Object target) {
        if (!contains(target)) {
          return -1;
        }
        // The cast is safe because of the contains checkā€”at least for any reasonable Comparable class.
        @SuppressWarnings("unchecked")
        // requireNonNull is safe because of the contains check.
        C c = (C) requireNonNull(target);
        return (int) domain.distance(first(), c);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          tester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(e, "bar [group 1, item 2] must be Object#equals to foo [group 1, item 1]");
          return;
        }
        fail("should failed because symmetry is broken");
      }
    
      public void testTransitivityBrokenInEqualityGroup() {
        EqualsTester tester =
            new EqualsTester()
                .addEqualityGroup(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
     * fragile because they assume that only certain methods will be called and because they often
     * implement subtleties of the API improperly.
     *
     * <p><b>Custom implementation</b>: Avoid implementing {@code ListenableFuture} from scratch. If you
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top