Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2661 - 2670 of 3,107 for false (0.05 sec)

  1. cmd/endpoint_test.go

    		expectedErr      error
    	}{
    		{"/foo", Endpoint{&url.URL{Path: rootSlashFoo}, true, -1, -1, -1}, PathEndpointType, nil},
    		{"https://example.org/path", Endpoint{u2, false, -1, -1, -1}, URLEndpointType, nil},
    		{"http://192.168.253.200/path", Endpoint{u4, false, -1, -1, -1}, URLEndpointType, nil},
    		{"", Endpoint{}, -1, fmt.Errorf("empty or root endpoint is not supported")},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. association.go

    		switch association.Relationship.Type {
    		case schema.HasOne, schema.BelongsTo:
    			if len(values) > 0 {
    				association.Error = association.Replace(values...)
    			}
    		default:
    			association.saveAssociation( /*clear*/ false, values...)
    		}
    	}
    
    	return association.Error
    }
    
    func (association *Association) Replace(values ...interface{}) error {
    	if association.Error == nil {
    		reflectValue := association.DB.Statement.ReflectValue
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Verify.java

    public final class Verify {
      /**
       * Ensures that {@code expression} is {@code true}, throwing a {@code VerifyException} with no
       * message otherwise.
       *
       * @throws VerifyException if {@code expression} is {@code false}
       * @see Preconditions#checkState Preconditions.checkState()
       */
      public static void verify(boolean expression) {
        if (!expression) {
          throw new VerifyException();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    // names will be modified if their name already exists in the graph. If false,
    // conflicting names will be treated as an error. Note that this option has no
    // effect if a prefix is set, since the prefix will guarantee all names are
    // unique. Defaults to false.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsSetUniquifyNames(
        TF_ImportGraphDefOptions* opts, unsigned char uniquify_names);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      @Test
      fun uploadBodySmallFixedLength() {
        upload(false, 1048576, 256)
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.bodySize).isEqualTo(1048576)
        assertThat(recordedRequest.chunkSizes).isEmpty()
      }
    
      @Test
      fun uploadBodyLargeFixedLength() {
        upload(false, 1048576, 65536)
        val recordedRequest = server.takeRequest()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/Stats.java

       * {@code strictfp}-like semantics.)
       */
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == null) {
          return false;
        }
        if (getClass() != obj.getClass()) {
          return false;
        }
        Stats other = (Stats) obj;
        return count == other.count
            && doubleToLongBits(mean) == doubleToLongBits(other.mean)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    또는
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    또는 다른 어떤 변형(대문자, 첫글자만 대문자 등)이더라도 함수는 매개변수 `bool`형을 가진 `short`의 값이 `True`임을 압니다. 그렇지 않은 경우 `False`입니다.
    
    
    ## 여러 경로/쿼리 매개변수
    
    여러 경로 매개변수와 쿼리 매개변수를 동시에 선언할 수 있으며 **FastAPI**는 어느 것이 무엇인지 알고 있습니다.
    
    그리고 특정 순서로 선언할 필요가 없습니다.
    
    매개변수들은 이름으로 감지됩니다:
    
    ```Python hl_lines="8  10"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. docs/pt/docs/how-to/separate-openapi-schemas.md

    Nesse caso, você pode desativar esse recurso no **FastAPI**, com o parâmetro `separate_input_output_schemas=False`.
    
    /// info | Informação
    
    O suporte para `separate_input_output_schemas` foi adicionado no FastAPI `0.102.0`. 🤓
    
    ///
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="10"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:52:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. tests/postgres_test.go

    		t.Fatalf("failed to create table, got error %v", err)
    	}
    
    	columns, err := DB.Migrator().ColumnTypes("log_usage")
    	if err != nil {
    		t.Fatalf("failed to get columns, got error %v", err)
    	}
    
    	hasLogID := false
    	for _, column := range columns {
    		if column.Name() == "log_id" {
    			hasLogID = true
    			autoIncrement, ok := column.AutoIncrement()
    			if !ok || !autoIncrement {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  10. internal/config/dns/operator_dns.go

    func (c *OperatorDNS) Put(bucket string) error {
    	ctx, cancel := context.WithTimeout(context.Background(), defaultOperatorContextTimeout)
    	defer cancel()
    	e, err := c.endpoint(bucket, false)
    	if err != nil {
    		return newError(bucket, err)
    	}
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, e, nil)
    	if err != nil {
    		return newError(bucket, err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top