Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 100 for min_length (0.09 sec)

  1. tests/test_path.py

        assert response.json() == "foo"
    
    
    def test_path_param_minlength_foo():
        response = client.get("/path/param-minlength/foo")
        assert response.status_code == 200
        assert response.json() == "foo"
    
    
    def test_path_param_minlength_fo():
        response = client.get("/path/param-minlength/fo")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 20.5K bytes
    - Viewed (1)
  2. fastapi/openapi/models.py

        contact: Optional[Contact] = None
        license: Optional[License] = None
        version: str
    
    
    class ServerVariable(BaseModelWithConfig):
        enum: Annotated[Optional[list[str]], Field(min_length=1)] = None
        default: str
        description: Optional[str] = None
    
    
    class Server(BaseModelWithConfig):
        url: Union[AnyUrl, str]
        description: Optional[str] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Booleans.java

       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static boolean[] ensureCapacity(boolean[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Booleans.java

       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static boolean[] ensureCapacity(boolean[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 15:01:23 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Chars.java

       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static char[] ensureCapacity(char[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Shorts.java

       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static short[] ensureCapacity(short[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Shorts.java

       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static short[] ensureCapacity(short[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                        MAX_TERMINAL_WIDTH,
                        Math.max(terminalWidth <= 0 ? DEFAULT_TERMINAL_WIDTH : terminalWidth, MIN_TERMINAL_WIDTH));
                lineLength = terminalWidth - MAX_LOG_PREFIX_SIZE;
                maxProjectNameLength = lineLength - PROJECT_STATUS_SUFFIX_SIZE;
            }
        }
    
        @Override
        public void projectDiscoveryStarted(ExecutionEvent event) {
            if (logger.isInfoEnabled()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                        MAX_TERMINAL_WIDTH,
                        Math.max(terminalWidth <= 0 ? DEFAULT_TERMINAL_WIDTH : terminalWidth, MIN_TERMINAL_WIDTH));
                lineLength = terminalWidth - MAX_LOG_PREFIX_SIZE;
                maxProjectNameLength = lineLength - PROJECT_STATUS_SUFFIX_SIZE;
            }
        }
    
        @Override
        public void projectDiscoveryStarted(ExecutionEvent event) {
            if (logger.isInfoEnabled()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 15:40:45 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

       * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative
       * @return an array containing the values of {@code array}, with guaranteed minimum length {@code
       *     minLength}
       */
      public static int[] ensureCapacity(int[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 31.3K bytes
    - Viewed (0)
Back to top