Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for variation (0.04 sec)

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

    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    or
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    or any other case variation (uppercase, first letter in uppercase, etc), your function will see the parameter `short` with a `bool` value of `True`. Otherwise as `False`.
    
    
    ## Multiple path and query parameters { #multiple-path-and-query-parameters }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SMBSignatureValidationException.java

         * Constructs an SMB signature validation exception with message and cause.
         *
         * @param msg the detail message describing the validation failure
         * @param rootCause the underlying cause of the validation failure
         */
        public SMBSignatureValidationException(final String msg, final Throwable rootCause) {
            super(msg, rootCause);
        }
    
        /**
         * Constructs an SMB signature validation exception with a detail message.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.validation;
    
    import java.lang.annotation.Annotation;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    import jakarta.validation.ConstraintValidatorContext;
    import jakarta.validation.Payload;
    
    public class CustomSizeValidatorTest extends UnitFessTestCase {
    
        private CustomSizeValidator validator;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

     */
    package org.codelibs.fess.validation;
    
    import java.lang.annotation.Annotation;
    import java.lang.reflect.Field;
    import java.lang.reflect.Method;
    import java.util.Set;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    import jakarta.validation.ConstraintViolation;
    import jakarta.validation.Validation;
    import jakarta.validation.Validator;
    import jakarta.validation.ValidatorFactory;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            } catch (SMBProtocolDecodingException e) {
                // If exception thrown, validation is working
                assertTrue(e.getMessage().contains("Invalid negotiate context data length") || e.getMessage().contains("Buffer too small")
                        || e.getMessage().contains("negotiate context"), "Validation detected issue: " + e.getMessage());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial014_an_py310.py hl[10] *}
    
    ## Custom Validation { #custom-validation }
    
    There could be cases where you need to do some **custom validation** that can't be done with the parameters shown above.
    
    In those cases, you can use a **custom validator function** that is applied after the normal validation (e.g. after validating that the value is a `str`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.validation;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    import jakarta.validation.ConstraintValidatorContext;
    
    public class CronExpressionValidatorTest extends UnitFessTestCase {
    
        public CronExpressionValidator validator;
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/InputValidatorTest.java

        @Test
        @DisplayName("Test invalid buffer size validation")
        void testInvalidBufferSize() {
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test"));
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(1001, 1000, "test"));
        }
    
        @Test
        @DisplayName("Test SMB2 buffer size validation")
        void testSmb2BufferSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. docs/en/docs/benchmarks.md

        * If you didn't use FastAPI and used Starlette directly (or another tool, like Sanic, Flask, Responder, etc) you would have to implement all the data validation and serialization yourself. So, your final application would still have...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.Set;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    import jakarta.validation.Constraint;
    import jakarta.validation.Payload;
    
    public class CustomSizeTest extends UnitFessTestCase {
    
        // Test field with CustomSize annotation for testing
        @CustomSize(minKey = "test.min", maxKey = "test.max")
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top