Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 1,351 for round (0.06 sec)

  1. docs/en/docs/tutorial/query-params-str-validations.md

    Previous versions of FastAPI (before <abbr title="before 2023-03">0.95.0</abbr>) required you to use `Query` as the default value of your parameter, instead of putting it in `Annotated`, there's a high chance that you will see code using it around, so I'll explain it to you.
    
    /// tip
    
    For new code and whenever possible, use `Annotated` as explained above. There are multiple advantages (explained below) and no disadvantages. 🍰
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. tests/associations_has_many_test.go

    	if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 {
    		t.Fatalf("should only find one pets, but got %v", count)
    	}
    
    	if count := DB.Model(&user).Where("name = ?", "not found").Association("Pets").Count(); count != 0 {
    		t.Fatalf("should only find no pet with invalid conditions, but got %v", count)
    	}
    
    	// Count
    	AssertAssociationCount(t, user, "Pets", 2, "")
    
    	// Append
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. cmd/xl-storage-format_test.go

    		if err != nil {
    			t.Errorf("Test %d: Expected to pass but failed. %s", i+1, err)
    		}
    		if err == nil && s != testCase.expectedSize {
    			t.Errorf("Test %d: The calculated part size is incorrect: expected = %d, found = %d\n", i+1, testCase.expectedSize, s)
    		}
    	}
    
    	testCasesFailure := []struct {
    		totalSize int64
    		partSize  int64
    		partIndex int
    		err       error
    	}{
    		// partSize is 0, returns error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      }
    
      private static final class UnknownElementException extends RuntimeException {
        private UnknownElementException(Collection<?> expected, Object actual) {
          super("Returned value '" + actual + "' not found. Remaining elements: " + expected);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Quasi-implementation of {@link ListIterator} that works from a list of elements and a set of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.23.md

    - Fixed consolidate logs for `instance not found` error
      Fixed skip `not found` nodes when reconciling LB backend address pools ([#105188](https://github.com/kubernetes/kubernetes/pull/105188), [@nilo19](https://github.com/nilo19))
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Feb 28 21:06:52 UTC 2023
    - 424.5K bytes
    - Viewed (0)
  6. cmd/bucket-metadata.go

    				// in FS mode it possible that we have actual
    				// files in this folder with `.minio.sys/buckets/bucket/configFile`
    				continue
    			}
    			if errors.Is(err, errConfigNotFound) {
    				// legacy file config not found, proceed to look for new metadata.
    				continue
    			}
    
    			return nil, err
    		}
    		configs[legacyFile] = configData
    		b.Created = info.ModTime
    	}
    
    	return configs, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. tests/test_application.py

        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        sort(insertionOrder, entryComparator(keyComparator));
        return insertionOrder;
      }
    
      /**
       * Private replacement for {@link com.google.gwt.user.client.rpc.GwtTransient} to work around
       * build-system quirks.
       */
      private @interface GwtTransient {}
    
      /**
       * Compares strings in natural order except that null comes immediately before a given value. This
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        String[] array = new String[] {null};
        assertThrows(NullPointerException.class, () -> ImmutableSortedMultiset.copyOf(array));
      }
    
      public void testCopyOf_collection_empty() {
        // "<String>" is required to work around a javac 1.5 bug.
        Collection<String> c = MinimalCollection.<String>of();
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
        assertTrue(multiset.isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Invokable.java

    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    import java.util.Arrays;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Wrapper around either a {@link Method} or a {@link Constructor}. Convenience API is provided to
     * make common reflective operation easier to deal with, such as {@link #isPublic}, {@link
     * #getParameters} etc.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top