Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,181 for first (0.03 sec)

  1. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testFirst() {
        assertEquals(1, ContiguousSet.create(Range.closed(1, 3), integers()).first().intValue());
        assertEquals(1, ContiguousSet.create(Range.open(0, 4), integers()).first().intValue());
        assertEquals(
            Integer.MIN_VALUE,
            ContiguousSet.create(Range.<Integer>all(), integers()).first().intValue());
      }
    
      public void testLast() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-directly.md

    Because **FastAPI** doesn't make any changes to a `Response` you return, you have to make sure its contents are ready for it.
    
    For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types.
    
    For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  3. tests/default_value_test.go

    		t.Fatalf("Failed to create data with default value, got: %+v", harumph)
    	}
    
    	var result Harumph
    	if err := DB.First(&result, "email = ?", "******@****.***").Error; err != nil {
    		t.Fatalf("Failed to find created data, got error: %v", err)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Parameter.java

       */
      @Override
      public <A extends Annotation> @Nullable A getDeclaredAnnotation(Class<A> annotationType) {
        checkNotNull(annotationType);
        return FluentIterable.from(annotations).filter(annotationType).first().orNull();
      }
    
      /**
       * @since 18.0
       */
      @Override
      public <A extends Annotation> A[] getDeclaredAnnotationsByType(Class<A> annotationType) {
        @Nullable A[] result =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java

     * {@linkplain RemoteRepository remote repositories}.</p>
     *
     * <h2>Repository Resolution Process</h2>
     *
     * <p>When resolving dependencies, Maven follows this order:</p><ol>
     * <li>Check Local Repository: Maven first checks if the artifact is available in the local repository.</li>
     * <li>Check Remote Repositories: If the artifact is not found locally, Maven queries the configured remote repositories in the order they are listed.</li>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

              @Override
              protected char[] escapeUnsafe(char c) {
                return unknown;
              }
            };
        EscaperAsserts.assertBasic(replacingEscaper);
    
        // Replacements are applied first regardless of whether the character is in
        // the safe range or not ('&' is a safe char while '\t' and '\n' are not).
        assertThat(replacingEscaper.escape("\tFish &\0 Chips\r\n"))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       * first pre-determined printing line on the next form or page. (Applicable also to display
       * devices.)
       *
       * @since 8.0
       */
      public static final byte FF = 12;
    
      /**
       * Carriage Return ('\r'): A format effector which controls the movement of the printing position
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

        }
        
        return files;
    }
    
    @Override
    public boolean exists() throws IOException {
        if (isDirectory() && directoryLeaseManager != null) {
            // Check parent directory cache first
            String parentPath = getParent();
            DirectoryCacheEntry parentCache = directoryLeaseManager.getCacheEntry(parentPath);
            
            if (parentCache != null && parentCache.isComplete()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    /// tip
    
    In this example, the variable is called `router`, but you can name it however you want.
    
    ///
    
    We are going to include this `APIRouter` in the main `FastAPI` app, but first, let's check the dependencies and another `APIRouter`.
    
    ## Dependencies { #dependencies }
    
    We see that we are going to need some dependencies used in several places of the application.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NbtAddress.java

         * be set.
         */
    
        public static final int P_NODE = 1;
    
        /**
         * Try Broadcast queries first, then try to resolve the name using the
         * nameserver.
         */
    
        public static final int M_NODE = 2;
    
        /**
         * A Hybrid node tries to resolve a name using the nameserver first. If
         * that fails use the broadcast address. This is the default if a nameserver
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top