Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 362 for validators (0.08 seconds)

  1. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, dst[0], "First byte must be subCommand");
            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            int sid = 0x1234;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. cmd/api-resources_test.go

    		}
    		if encodingType != testCase.encodingType {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.encodingType, encodingType)
    		}
    	}
    }
    
    // Validates extracting information for object resources.
    func TestGetObjectsResources(t *testing.T) {
    	testCases := []struct {
    		values                     url.Values
    		uploadID                   string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/body-nested-models.md

    Chaque attribut d'un modèle Pydantic a un type.
    
    Mais ce type peut lui-même être un autre modèle Pydantic.
    
    Ainsi, vous pouvez déclarer des « objets » JSON profondément imbriqués avec des noms d'attributs, des types et des validations spécifiques.
    
    Tout cela, de manière arbitrairement imbriquée.
    
    ### Définir un sous-modèle { #define-a-submodel }
    
    Par exemple, nous pouvons définir un modèle `Image` :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                }
            });
        }
    
        /**
         * Changes the password for a user in the LDAP directory.
         *
         * <p>This method performs the following validations:
         * <ul>
         * <li>Checks if username and password are not blank</li>
         * <li>Verifies LDAP admin is enabled for the user</li>
         * <li>Confirms the user exists in LDAP directory</li>
         * </ul>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  5. cmd/object-api-interface.go

    type CheckPreconditionFn func(o ObjectInfo) bool
    
    // EvalMetadataFn validates input objInfo and GetObjectInfo error and returns an updated metadata and replication decision if any
    type EvalMetadataFn func(o *ObjectInfo, gerr error) (ReplicateDecision, error)
    
    // EvalRetentionBypassFn validates input objInfo and GetObjectInfo error and returns an error if retention bypass is not allowed.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  6. docs/ru/docs/index.md

    Когда вы устанавливаете FastAPI с помощью `pip install "fastapi[standard]"`, он идёт с группой опциональных зависимостей `standard`:
    
    Используется Pydantic:
    
    * [`email-validator`](https://github.com/JoshData/python-email-validator) — для проверки адресов электронной почты.
    
    Используется Starlette:
    
    * [`httpx`](https://www.python-httpx.org) — обязателен, если вы хотите использовать `TestClient`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  7. cmd/batch-rotate.go

    	Key        string               `yaml:"key" json:"key"`
    	Context    string               `yaml:"context" json:"context"`
    	kmsContext kms.Context          `msg:"-"`
    }
    
    // Validate validates input key rotation encryption options.
    func (e BatchJobKeyRotateEncryption) Validate() error {
    	if e.Type != sses3 && e.Type != ssekms {
    		return errInvalidArgument
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  8. internal/config/identity/ldap/ldap.go

    	if err == nil && !isUnderBaseDN {
    		// Not under any configured base DN, so treat as not found.
    		return nil, nil
    	}
    	return validDN, err
    }
    
    // GetValidatedUserDN validates the given user DN. Will error out if conn is nil. The returned
    // boolean is true iff the user DN is found under one of the LDAP user base DNs.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 01:04:53 GMT 2024
    - 12.4K bytes
    - Click Count (1)
  9. cmd/utils_test.go

    		urlStr     string
    		shouldPass bool
    	}{
    		{"", false},
    		{":", false},
    		{"http://localhost/", true},
    		{"http://127.0.0.1/", true},
    		{"proto://myhostname/path", true},
    	}
    
    	// Validates fetching local address.
    	for i, testCase := range testCases {
    		_, err := checkURL(testCase.urlStr)
    		if testCase.shouldPass && err != nil {
    			t.Errorf("Test %d: expected to pass but got an error: %v\n", i+1, err)
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  10. docs/pt/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    ## Guia oficial { #official-guide }
    
    O Pydantic tem um [Guia de Migração](https://docs.pydantic.dev/latest/migration/) oficial do v1 para o v2.
    
    Ele também inclui o que mudou, como as validações agora são mais corretas e rigorosas, possíveis ressalvas, etc.
    
    Você pode lê-lo para entender melhor o que mudou.
    
    ## Testes { #tests }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top