Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,659 for Validate2 (0.44 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        signature_keys: Collection[str],
    ) -> None:
      """Validates the representative dataset, based on the signature keys.
    
      Representative dataset can be provided in two different forms: a single
      instance of `RepresentativeDataset` or a map of signature key to the
      corresponding `RepresentativeDataset`. These have a relationship with
      `signature_keys`.
    
      This function validates the following conditions:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. pkg/registry/apps/statefulset/strategy.go

    		if oldSS == nil || oldSS.Spec.Ordinals == nil {
    			// Reset Spec.Ordinals to the default value (nil).
    			newSS.Spec.Ordinals = nil
    		}
    	}
    }
    
    // Validate validates a new StatefulSet.
    func (statefulSetStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	statefulSet := obj.(*apps.StatefulSet)
    	opts := pod.GetValidationOptionsFromPodTemplate(&statefulSet.Spec.Template, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 15:48:10 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  3. pkg/registry/apps/deployment/strategy.go

    	deployment := obj.(*apps.Deployment)
    	deployment.Status = apps.DeploymentStatus{}
    	deployment.Generation = 1
    
    	pod.DropDisabledTemplateFields(&deployment.Spec.Template, nil)
    }
    
    // Validate validates a new deployment.
    func (deploymentStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	deployment := obj.(*apps.Deployment)
    	opts := pod.GetValidationOptionsFromPodTemplate(&deployment.Spec.Template, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 16 21:07:13 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/Pmd.java

            configureAction.execute(reports);
            return reports;
        }
    
        /**
         * Validates the value is a valid PMD rules minimum priority (1-5)
         *
         * @param value rules minimum priority threshold
         */
        public static void validate(int value) {
            if (value > 5 || value < 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:11 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java

            return networkTimeout;
        }
    
        /**
         * Indicates if this task will validate the distribution url that has been configured.
         *
         * @return whether this task will validate the distribution url
         * @since 8.2
         */
        @Incubating
        @Input
        @Option(option = "validate-url", description = "Sets task to validate the configured distribution url.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. operator/pkg/manifest/shared.go

    	}
    	y, err := ReadLayeredYAMLs(inFilenames)
    	if err != nil {
    		return "", "", err
    	}
    	var fileOverlayIOP *iopv1alpha1.IstioOperator
    	fileOverlayIOP, err = validate.UnmarshalIOP(y)
    	if err != nil {
    		return "", "", err
    	}
    	if err := validate.ValidIOP(fileOverlayIOP); err != nil {
    		if !force {
    			return "", "", fmt.Errorf("validation errors (use --force to override): \n%s", err)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    	claims["exp"] = time.Now().UTC().Add(defaultExpiryDuration).Unix() // update with new expiry.
    	return nil
    }
    
    const (
    	audClaim = "aud"
    	azpClaim = "azp"
    )
    
    // Validate - validates the id_token.
    func (r *Config) Validate(ctx context.Context, arn arn.ARN, token, accessToken, dsecs string, claims map[string]interface{}) error {
    	jp := new(jwtgo.Parser)
    	jp.ValidMethods = []string{
    		"RS256", "RS384", "RS512",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. pkg/apis/storage/validation/validation.go

    	return allErrs
    }
    
    // ValidateCSINodeUpdate validates a CSINode.
    func ValidateCSINodeUpdate(new, old *storage.CSINode, validationOpts CSINodeValidationOptions) field.ErrorList {
    	allErrs := ValidateCSINode(new, validationOpts)
    
    	// Validate modifying fields inside an existing CSINodeDriver entry is not allowed
    	for _, oldDriver := range old.Spec.Drivers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 00:47:13 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    		}
    	}
    
    	for _, tag := range ef.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range ef.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    	if err := ef.Purge.Validate(); err != nil {
    		return err
    	}
    	if err := ef.Size.Validate(); err != nil {
    		return err
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. cmd/batch-handlers.go

    	}
    	return madmin.BatchJobType("unknown")
    }
    
    // Validate validates the current job, used by 'save()' before
    // persisting the job request
    func (j BatchJobRequest) Validate(ctx context.Context, o ObjectLayer) error {
    	switch {
    	case j.Replicate != nil:
    		return j.Replicate.Validate(ctx, j, o)
    	case j.KeyRotate != nil:
    		return j.KeyRotate.Validate(ctx, j, o)
    	case j.Expire != nil:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top