Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 686 for passes (0.1 sec)

  1. internal/config/identity/ldap/ldap.go

    	if err != nil {
    		return nil, err
    	}
    	defer conn.Close()
    
    	// Bind to the lookup user account
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return nil, err
    	}
    
    	// Check if the passed in username is a valid DN.
    	if !l.ParsesAsDN(username) {
    		// We consider it as a login username and attempt to check it exists in
    		// the directory.
    		bindDN, err := l.LDAP.LookupUsername(conn, username)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses_test.go

    			if err != nil && testCase.success {
    				t.Errorf("Test %d: Expected success but failed instead %s", i+1, err)
    			}
    			if err == nil && !testCase.success {
    				t.Errorf("Test %d: Expected failure but passed instead", i+1)
    			}
    		})
    	}
    }
    
    func TestGetDivisibleSize(t *testing.T) {
    	testCases := []struct {
    		totalSizes []uint64
    		result     uint64
    	}{
    		{[]uint64{24, 32, 16}, 8},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/testing.md

    ```
    
    Sempre que você precisar que o cliente passe informações na requisição e não souber como, você pode pesquisar (no Google) como fazer isso no `httpx`, ou até mesmo como fazer isso com `requests`, já que o design do HTTPX é baseado no design do Requests.
    
    Depois é só fazer o mesmo nos seus testes.
    
    Por exemplo:
    
    * Para passar um parâmetro *path* ou *query*, adicione-o à própria URL.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/query-params-str-validations.md

    Mais si vous décidez d'apprendre à les utiliser, sachez qu'ensuite vous pouvez les utiliser directement dans **FastAPI**.
    
    ## Valeurs par défaut
    
    De la même façon que vous pouvez passer `None` comme premier argument pour l'utiliser comme valeur par défaut, vous pouvez passer d'autres valeurs.
    
    Disons que vous déclarez le paramètre `q` comme ayant une longueur minimale de `3`, et une valeur par défaut étant `"fixedquery"` :
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    ///
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    ////
    
    O **FastAPI** nos fornece um atalho para esses casos, onde a dependência é *especificamente* uma classe que o **FastAPI** irá "chamar" para criar uma instância da própria classe.
    
    Para esses casos específicos, você pode fazer o seguinte:
    
    Em vez de escrever:
    
    //// tab | Python 3.8+
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. internal/crypto/sse-s3.go

    	// Return only true if the SSE header is specified and does not contain the SSE-KMS value
    	return ok && !strings.EqualFold(h.Get(xhttp.AmzServerSideEncryption), xhttp.AmzEncryptionKMS)
    }
    
    // ParseHTTP parses the SSE-S3 related HTTP headers and checks
    // whether they contain valid values.
    func (sses3) ParseHTTP(h http.Header) error {
    	if h.Get(xhttp.AmzServerSideEncryption) != xhttp.AmzEncryptionAES {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin.go

    }
    
    // parseConfig parses the supplied configuration (and prevResult) from stdin.
    func parseConfig(stdin []byte) (*Config, error) {
    	conf := Config{}
    
    	if err := json.Unmarshal(stdin, &conf); err != nil {
    		return nil, fmt.Errorf("failed to parse network configuration: %v", err)
    	}
    
    	log.Debugf("istio-cni: Config is: %+v", conf)
    	// Parse previous result. Remove this if your plugin is not chained.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 14 19:36:19 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. src/main/assemblies/files/fess.in.sh

    #!/bin/sh
    
    FESS_CLASSPATH=$FESS_HOME/lib/classes
    
    # JAVA_OPTS is not a built-in JVM mechanism but some people think it is so we
    # warn them that we are not observing the value of $JAVA_OPTS
    if [ ! -z "$JAVA_OPTS" ]; then
      echo -n "warning: ignoring JAVA_OPTS=$JAVA_OPTS; "
      echo "pass JVM parameters via FESS_JAVA_OPTS"
    fi
    
    if [ "x$FESS_MIN_MEM" = "x" ]; then
        FESS_MIN_MEM=256m
    fi
    if [ "x$FESS_MAX_MEM" = "x" ]; then
        FESS_MAX_MEM=2g
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/classes-as-dependencies.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top