Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,156 for FIRST (0.03 sec)

  1. guava/src/com/google/common/primitives/ImmutableIntArray.java

       *
       * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}.
       */
      // Use (first, rest) so that `of(someIntArray)` won't compile (they should use copyOf), which is
      // okay since we have to copy the just-created array anyway.
      public static ImmutableIntArray of(int first, int... rest) {
        checkArgument(
            rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * throwable did not cause this future to fail, and it is the first time we've seen that
       * particular Throwable.
       */
      private void handleException(Throwable throwable) {
        checkNotNull(throwable);
    
        if (allMustSucceed) {
          // As soon as the first one fails, make that failure the result of the output future.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb/NtStatus.java

        int NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE = 0xC000018d;
        /** The account used is a computer account */
        int NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT = 0xC0000199;
        /** The user must change the password before first logon */
        int NT_STATUS_PASSWORD_MUST_CHANGE = 0xC0000224;
        /** The object was not found */
        int NT_STATUS_NOT_FOUND = 0xC0000225;
        /** The referenced account is currently locked out */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

            crawlingInfoBhv.insertOrUpdate(crawlingInfo, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        /**
         * Deletes a crawling information record and all its associated parameters.
         * First deletes all related CrawlingInfoParam records, then deletes the main record
         * with immediate refresh to ensure consistency.
         *
         * @param crawlingInfo the crawling information entity to delete
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
Back to top