Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,391 for Validate2 (0.93 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentIntegrationTest.groovy

                        tasks.create("validate") {
                            assert components*.binaries*.values().flatten()*.name == ["jar"]
                        }
                    }
                }
                apply plugin: ValidateTaskRules
            """
    
            expect:
            succeeds "validate"
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/InvalidatableSet.java

      protected Set<E> delegate() {
        validate();
        return delegate;
      }
    
      private InvalidatableSet(
          Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) {
        this.delegate = delegate;
        this.validator = validator;
        this.errorMessage = errorMessage;
      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class.go

    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    		return fmt.Errorf("parity %d should be less than or equal to %d", ssParity, setDriveCount/2)
    	}
    
    	return nil
    }
    
    // Validates the parity drives.
    func validateParity(ssParity, rrsParity, setDriveCount int) (err error) {
    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/notations/ComponentIdentifierParserFactory.java

                @MapKey("name") String name,
                @MapKey("version") String version) {
    
                return DefaultModuleComponentIdentifier.newId(
                    DefaultModuleIdentifier.newId(validate(group.trim()), validate(name.trim())),
                    validate(version.trim())
                );
            }
        }
    
        static class StringNotationConverter extends TypedNotationConverter<String, ModuleComponentIdentifier> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. pkg/apis/authorization/validation/validation.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	authorizationapi "k8s.io/kubernetes/pkg/apis/authorization"
    )
    
    // ValidateSubjectAccessReviewSpec validates a SubjectAccessReviewSpec and returns an
    // ErrorList with any errors.
    func ValidateSubjectAccessReviewSpec(spec authorizationapi.SubjectAccessReviewSpec, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 15:37:57 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. cmd/iam.go

    		entityKeysInStorage.Add(k)
    		return true
    	})
    
    	return entityKeysInStorage
    }
    
    // NormalizeLDAPMappingImport - validates the LDAP policy mappings. Keys in the
    // given map may not correspond to LDAP DNs - these keys are ignored.
    //
    // For validated mappings, it updates the key in the given map to be in
    // normalized form.
    func (sys *IAMSys) NormalizeLDAPMappingImport(ctx context.Context, isGroup bool,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/InvalidatableSet.java

      protected Set<E> delegate() {
        validate();
        return delegate;
      }
    
      private InvalidatableSet(
          Set<E> delegate, Supplier<Boolean> validator, Supplier<String> errorMessage) {
        this.delegate = delegate;
        this.validator = validator;
        this.errorMessage = errorMessage;
      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. pkg/config/schema/ast/ast.go

    	for i, r := range m.Resources {
    		if r.Validate == "" {
    			validateFn := "Validate" + asResourceVariableName(r.Kind)
    			if !validation.IsValidateFunc(validateFn) {
    				validateFn = "validation.EmptyValidate"
    			} else {
    				if r.Kind == "EnvoyFilter" {
    					validateFn = "envoyfilter." + validateFn
    				} else {
    					validateFn = "validation." + validateFn
    				}
    			}
    			m.Resources[i].Validate = validateFn
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/discovery/token/token_test.go

    				}()
    			}
    
    			// Retrieve validated configuration
    			kubeconfig, err = retrieveValidatedConfigInfo(client, test.cfg, interval, timeout)
    			if (err != nil) != test.expectedError {
    				t.Errorf("expected error %v, got %v, error: %v", test.expectedError, err != nil, err)
    			}
    
    			// Return if an error is expected
    			if test.expectedError {
    				return
    			}
    
    			// Validate the resulted kubeconfig
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/crdclient/client_test.go

    		}
    		if l[0].Name != configMeta1.Name {
    			return fmt.Errorf("expected `name1` returned")
    		}
    		return nil
    	}, retry.Timeout(time.Second*10), retry.Converge(5))
    }
    
    // CheckIstioConfigTypes validates that an empty store can do CRUD operators on all given types
    func TestClient(t *testing.T) {
    	store, _ := makeClient(t, collections.PilotGatewayAPI().Union(collections.Kube), nil)
    	configName := "test"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top