Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,659 for Validate2 (0.22 sec)

  1. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperGenerationIntegrationTest.groovy

            when:
            run "wrapper", "--no-validate-url"
    
            then:
            new ZipTestFixture(file("gradle/wrapper/gradle-wrapper.jar"))
                .assertFileContent("META-INF/LICENSE", containsString("Apache License"))
        }
    
        def "generated wrapper scripts for given version from command-line"() {
            when:
            run "wrapper", "--gradle-version", "2.2.1", "--no-validate-url"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/common/equality.go

    limitations under the License.
    */
    
    package common
    
    import (
    	"reflect"
    	"time"
    )
    
    // CorrelatedObject represents a node in a tree of objects that are being
    // validated. It is used to keep track of the old value of an object during
    // traversal of the new value. It is also used to cache the results of
    // DeepEqual comparisons between the old and new values of objects.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 21:53:21 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. pkg/scheduler/apis/config/validation/validation_pluginargs.go

    }
    
    // validateMinCandidateNodesAbsolute validates that minCandidateNodesAbsolute
    // is within the allowed range.
    func validateMinCandidateNodesAbsolute(minCandidateNodesAbsolute int32, p *field.Path) *field.Error {
    	if minCandidateNodesAbsolute < 0 {
    		return field.Invalid(p, minCandidateNodesAbsolute, "not in valid range [0, inf)")
    	}
    	return nil
    }
    
    // ValidateInterPodAffinityArgs validates that InterPodAffinityArgs are correct.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 09:29:49 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/admission/chain_test.go

    		return nil
    	}
    	return fmt.Errorf("Don't validate")
    }
    
    func makeHandler(name string, accept bool, ops ...Operation) *FakeHandler {
    	return &FakeHandler{
    		name:     name,
    		admit:    accept,
    		validate: accept,
    		Handler:  NewHandler(ops...),
    	}
    }
    
    func TestAdmitAndValidate(t *testing.T) {
    	sysns := metav1.NamespaceSystem
    	otherns := "default"
    	tests := []struct {
    		name      string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top