Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 893 for isValid (0.04 sec)

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

    {* ../../docs_src/response_model/tutorial003_03.py hl[8:9] *}
    
    This will also work because `RedirectResponse` is a subclass of `Response`, and FastAPI will automatically handle this simple case.
    
    ### Invalid Return Type Annotations { #invalid-return-type-annotations }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. cmd/dummy-data-generator_test.go

    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx += offset
    	case io.SeekEnd:
    		if d.length+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = d.length + offset
    	}
    	return d.idx, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                assertTrue(true);
            }
        }
    
        public void test_install_withInvalidZip() throws IOException {
            // Create an invalid zip file
            Path jarPath = tempDir.resolve("invalid.jar");
            Files.write(jarPath, "not a zip file".getBytes());
    
            ThemeHelper mockThemeHelper = new ThemeHelper() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

        private int userFlags;
    
        /**
         * Constructs a PAC logon information object from raw PAC data.
         * @param data the raw PAC logon info buffer data
         * @throws PACDecodingException if the data is malformed or invalid
         */
        public PacLogonInfo(final byte[] data) throws PACDecodingException {
            try {
                final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                }
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(5, buffer, bufferIndex); // Invalid structure size
    
                // When & Then
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        if (hostname.isNullOrEmpty() ||
          hostname.startsWith(".") ||
          hostname.endsWith("..")
        ) {
          // Invalid domain name.
          return false
        }
        if (pattern.isNullOrEmpty() ||
          pattern.startsWith(".") ||
          pattern.endsWith("..")
        ) {
          // Invalid pattern.
          return false
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. cmd/decommetric_string.go

    // Code generated by "stringer -type=decomMetric -trimprefix=decomMetric erasure-server-pool-decom.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[decomMetricDecommissionBucket-0]
    	_ = x[decomMetricDecommissionObject-1]
    	_ = x[decomMetricDecommissionRemoveObject-2]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 10 19:46:45 UTC 2022
    - 830 bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             * @throws ErrorResponseException If the server returns an error
             * @throws IllegalArgumentException If the arguments are invalid
             * @throws InsufficientDataException If insufficient data is available
             * @throws InternalException If an internal error occurs
             * @throws InvalidResponseException If the response is invalid
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and Exception cause
            String message = "SSO token validation error";
            Exception cause = new RuntimeException("Invalid token format");
            SsoProcessException exception = new SsoProcessException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    .orElseThrow(() -> new SsoMessageException(
                            messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, "Invalid state."),
                            "Failed to process metadata.", new SsoProcessException("Invalid state.")));
        }
    
        /**
         * Gets the logout response.
         * @return The logout response.
         */
        protected ActionResponse getLogoutResponse() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (1)
Back to top