Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 601 for validate0 (0.25 sec)

  1. cmd/sts-handlers_test.go

    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Validate that a bucket can be created
    	bucket2 := getRandomBucketName()
    	err = minioClient.MakeBucket(ctx, bucket2, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket creat error: %v", err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  2. cmd/object_api_suite_test.go

    	n = copy(p, r.data)
    	r.eof = true
    	return n, nil
    }
    
    // Wrapper for calling testMakeBucket for both Erasure and FS.
    func TestMakeBucket(t *testing.T) {
    	ExecObjectLayerTest(t, testMakeBucket)
    }
    
    // Tests validate bucket creation.
    func testMakeBucket(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	err := obj.MakeBucket(context.Background(), "bucket-unknown", MakeBucketOptions{})
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/validation/validation.go

    				errs = append(errs, field.Invalid(path.Index(i).Child("pluginConfig", "args"), cfg.Args, "queueSort must be the same for all profiles"))
    			}
    		}
    	}
    	return errs
    }
    
    // validateExtenders validates the configured extenders for the Scheduler
    func validateExtenders(fldPath *field.Path, extenders []config.Extender) []error {
    	var errs []error
    	binders := 0
    	extenderManagedResources := sets.New[string]()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceRegistryBuilder.java

            this.providers.add(provider);
            return this;
        }
    
        /**
         * Providing a scope makes the resulting {@link ServiceRegistry}
         * validate all registered services for being annotated with the given scope.
         * <p>
         * However, this still allows to register services without the
         * {@link org.gradle.internal.service.scopes.ServiceScope @ServiceScope} annotation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    	return strings.HasPrefix(r.URL.Path, kmsPathPrefix)
    }
    
    // Supported Amz date headers.
    var amzDateHeaders = []string{
    	// Do not change this order, x-amz-date value should be
    	// validated first.
    	"x-amz-date",
    	"date",
    }
    
    // parseAmzDateHeader - parses supported amz date headers, in
    // supported amz date formats.
    func parseAmzDateHeader(req *http.Request) (time.Time, APIErrorCode) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/plugin.go

    			func(a authorizer.Authorizer, m *matching.Matcher) generic.Dispatcher[PolicyHook] {
    				return NewDispatcher(a, generic.NewPolicyMatcher(m))
    			},
    		),
    	}
    }
    
    // Validate makes an admission decision based on the request attributes.
    func (a *Plugin) Validate(ctx context.Context, attr admission.Attributes, o admission.ObjectInterfaces) error {
    	return a.Plugin.Dispatch(ctx, attr, o)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. internal/config/identity/openid/openid.go

    	if err != nil {
    		return c, err
    	}
    
    	for _, cfgName := range openIDTargets {
    		getCfgVal := func(cfgParam string) string {
    			// As parameters are already validated, we skip checking
    			// if the config param was found.
    			val, _, _ := s.ResolveConfigParam(config.IdentityOpenIDSubSys, cfgName, cfgParam, false)
    			return val
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. cmd/bucket-replication-handlers.go

    	}
    	sameTarget, apiErr := validateReplicationDestination(ctx, bucket, replicationConfig, true)
    	if apiErr != noError {
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// Validate the received bucket replication config
    	if err = replicationConfig.Validate(bucket, sameTarget); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	configData, err := xml.Marshal(replicationConfig)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. cmd/acl-handlers.go

    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketPolicyAction, bucket, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Before proceeding validate if bucket exists.
    	_, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{})
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	aclHeader := r.Header.Get(xhttp.AmzACL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

      file_io.recursive_create_dir_v2(output_directory)
    
    
    def _validate_signatures(
        signature_def_map: _SignatureDefMap, exported_graph: ops.Graph
    ) -> _SignatureDefMap:
      """Validates if the tensor names in signatures are consistent with the graph.
    
      This function checks if the input and output tensor names in the signatures
      exist if the graph. The output tensor names might change during conversion,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top