Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 284 for validity (0.06 seconds)

  1. tensorflow/c/c_api_test.cc

      // Set the shape to be 2 x Unknown
      int64_t dims[] = {2, -1};
      TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Fetch the shape and validate it is 2 by -1.
      num_dims = TF_GraphGetTensorNumDims(graph, feed_out_0, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(2, num_dims);
    
      // Resize the dimension vector appropriately.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 97K bytes
    - Click Count (0)
  2. cmd/signature-v4-parser_test.go

    				t.Errorf("Test %d: Expected the result to be \"%v\", but got \"%v\". ", i+1, testCase.expectedAuthField, parsedAuthField.SignedHeaders)
    			}
    		}
    	}
    }
    
    // TestDoesV4PresignParamsExist - tests validate the logic to
    func TestDoesV4PresignParamsExist(t *testing.T) {
    	testCases := []struct {
    		inputQueryKeyVals []string
    		expectedErrCode   APIErrorCode
    	}{
    		// Test case - 1.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        // The expressions help a lot, but we need a clean to pick up a directory of POMs, automatically load
        // them into a resolver, create the expression to extract the data to validate the Model, and the URI
        // to validate the properties. We also need a way to navigate from the Tex specification documents to
        // the test in question and vice versa. A little Eclipse plugin would do the trick.
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  4. internal/config/identity/openid/openid.go

    				enabled = false
    			}
    		}
    
    		// No need to continue loading if the config is not enabled.
    		if !enabled {
    			continue
    		}
    
    		// Validate that client ID has not been duplicately specified.
    		if seenClientIDs.Contains(p.ClientID) {
    			return c, config.Errorf("Client ID %s is present with multiple OpenID configurations", p.ClientID)
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  5. cmd/site-replication.go

    			return madmin.ReplicateAddStatus{}, errSRInvalidRequest(fmt.Errorf("all existing replicated sites must be specified - missing %s", strings.Join(diffSlc, " ")))
    		}
    	}
    
    	// validate that all clusters are using the same IDP settings.
    	err = c.validateIDPSettings(ctx, sites)
    	if err != nil {
    		return madmin.ReplicateAddStatus{}, err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 184.8K bytes
    - Click Count (1)
  6. internal/bucket/replication/replication_test.go

    			}
    			if tc.expectedParsingErr != nil {
    				// We already expect a parsing error,
    				// no need to continue this test.
    				return
    			}
    			err = cfg.Validate(tc.destBucket, tc.sameTarget)
    			if err != tc.expectedValidationErr {
    				t.Fatalf("%d: Expected %v during parsing but got %v", i+1, tc.expectedValidationErr, err)
    			}
    		})
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *}
    
    FastAPI will use this return type to:
    
    * **Validate** the returned data.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  8. cmd/bucket-targets.go

    		return BucketRemoteArnTypeInvalid{Bucket: bucket}
    	}
    	clnt, err := sys.getRemoteTargetClient(tgt)
    	if err != nil {
    		return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    	}
    	// validate if target credentials are ok
    	exists, err := clnt.BucketExists(ctx, tgt.TargetBucket)
    	if err != nil {
    		switch minio.ToErrorResponse(err).Code {
    		case "NoSuchBucket":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  9. cmd/format-erasure.go

    		}
    		format.Info = info
    	}
    
    	// Success.
    	return format, nil
    }
    
    // Valid formatErasure basic versions.
    func checkFormatErasureValue(formatErasure *formatErasureV3, disk StorageAPI) error {
    	// Validate format version and format type.
    	if formatErasure.Version != formatMetaVersionV1 {
    		return fmt.Errorf("Unsupported version of backend format [%s] found on %s", formatErasure.Version, disk)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  10. docs/en/docs/alternatives.md

    But then, the project's focus shifted.
    
    It was no longer an API web framework, as the creator needed to focus on Starlette.
    
    Now APIStar is a set of tools to validate OpenAPI specifications, not a web framework.
    
    /// info
    
    APIStar was created by Tom Christie. The same guy that created:
    
    * Django REST Framework
    * Starlette (in which **FastAPI** is based)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 23.6K bytes
    - Click Count (0)
Back to Top