Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for validi (0.05 sec)

  1. docs/id/docs/tutorial/path-params.md

    /// check | Periksa
    
    Dengan deklarasi tipe data Python, **FastAPI** melakukan validasi data.
    
    Perhatikan kesalahan tersebut juga menjelaskan validasi apa yang tidak sesuai.
    
    Validasi ini sangat membantu ketika mengembangkan dan men-*debug* kode yang berhubungan dengan API anda.
    
    ///
    
    ## Dokumentasi
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            // Test excessive maxTransactSize (> 16MB)
            SMBUtil.writeInt4(20 * 1024 * 1024, buffer, 28); // 20MB
            SMBUtil.writeInt4(1024 * 1024, buffer, 32); // 1MB read size - valid
            SMBUtil.writeInt4(1024 * 1024, buffer, 36); // 1MB write size - valid
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(buffer, 0);
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/InputValidatorTest.java

        @CsvSource({ "50, 0, 100, true", "0, 0, 100, true", "100, 0, 100, true", "-1, 0, 100, false", "101, 0, 100, false" })
        void testRangeValidation(long value, long min, long max, boolean valid) {
            if (valid) {
                assertDoesNotThrow(() -> InputValidator.validateRange(value, min, max, "test"));
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                // Test 3: Tampered data with valid signature format should return false
                System.arraycopy(validSig, 0, data, SIGNATURE_OFFSET, SIGNATURE_LENGTH);
                data[20] ^= 0xFF; // Tamper with data
    
                boolean tamperedResult = digest.verify(data, 0, data.length, 0, msg);
                assertFalse(tamperedResult, "Tampered data MUST return false even with valid signature format");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  5. cmd/object-api-options.go

    }
    
    func getAndValidateAttributesOpts(ctx context.Context, w http.ResponseWriter, r *http.Request, bucket, object string) (opts ObjectOptions, valid bool) {
    	var argumentName string
    	var argumentValue string
    	var apiErr APIError
    	var err error
    	valid = true
    
    	defer func() {
    		if valid {
    			return
    		}
    
    		errResp := objectAttributesErrorResponse{
    			ArgumentName:  &argumentName,
    			ArgumentValue: &argumentValue,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:34:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

    The same would happen if you had something like a <abbr title='A union between multiple types means "any of these types".'>union</abbr> between different types where one or more of them are not valid Pydantic types, for example this would fail 💥:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                }
            }
            if (rpc == null) {
                return false;
            }
    
            boolean valid = false;
            for (final int hash : rpc.getHashAlgos()) {
                if (hash == pc.getHashAlgos()[0]) {
                    valid = true;
                }
            }
            if (!valid) {
                log.error("Server returned invalid hash selection");
                return false;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    ///
    
    FastAPI will now:
    
    * **Validate** the data making sure that the max length is 50 characters
    * Show a **clear error** for the client when the data is not valid
    * **Document** the parameter in the OpenAPI schema *path operation* (so it will show up in the **automatic docs UI**)
    
    ## Alternative (old): `Query` as the default value { #alternative-old-query-as-the-default-value }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            // Then - Buffer should be valid
            assertNotNull(buffer2, "Reused buffer should not be null");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size");
    
            // Note: We don't check if content is cleared as that's not a security requirement
            // The important part is that the buffer is valid and has correct size
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            // Invalid regex pattern should be handled gracefully
            urlFilter.addInclude(".*[invalid");
            urlFilter.addInclude("https://valid.com/.*");
    
            // Valid pattern should still work
            assertTrue(urlFilter.match("https://valid.com/page"));
        }
    
        /**
         * Test adding a single exclude pattern
         */
        public void test_addExclude_singlePattern() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
Back to top