Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 372 for Constraint (0.23 sec)

  1. pkg/controller/resourcequota/resource_quota_controller.go

    		rq.missingUsageQueue.Add(key)
    		return
    	}
    
    	// if we declared a constraint that has no usage (which this controller can calculate, prioritize it)
    	for constraint := range resourceQuota.Status.Hard {
    		if _, usageFound := resourceQuota.Status.Used[constraint]; !usageFound {
    			matchedResources := []v1.ResourceName{constraint}
    			for _, evaluator := range rq.registry.List() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. schema/relationship_test.go

    	}
    
    	expectedConstraintName := "fk_my_schema_a_very_very_very_very_very_very_very_very_l4db13eec"
    	constraint := s.Relationships.Relations["Author"].ParseConstraint()
    
    	if constraint.Name != expectedConstraintName {
    		t.Fatalf(
    			"expected constraint name %s, got %s",
    			expectedConstraintName,
    			constraint.Name,
    		)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. cmd/handler-utils.go

    	replaceDirective = "REPLACE"
    	accessDirective  = "ACCESS"
    )
    
    // Parses location constraint from the incoming reader.
    func parseLocationConstraint(r *http.Request) (location string, s3Error APIErrorCode) {
    	// If the request has no body with content-length set to 0,
    	// we do not have to validate location constraint. Bucket will
    	// be created at default region.
    	locationConstraint := createBucketLocationConfiguration{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/main/java/org/gradle/swiftpm/plugins/SwiftPackageManagerExportPlugin.java

                    if (externalDependency.getVersion() != null) {
                        throw new InvalidUserDataException(String.format("Cannot map a dependency on %s:%s that defines both a branch (%s) and a version constraint (%s).", externalDependency.getGroup(), externalDependency.getName(), externalDependency.getVersionConstraint().getBranch(), externalDependency.getVersion()));
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    	keys := []string{}
    	for key := range item {
    		keys = append(keys, string(key))
    	}
    	sort.Strings(keys)
    	for _, key := range keys {
    		value := item[corev1.ResourceName(key)]
    		constraint := key + "=" + value.String()
    		parts = append(parts, constraint)
    	}
    	return strings.Join(parts, ",")
    }
    
    func prettyPrintResourceNames(a []corev1.ResourceName) string {
    	values := []string{}
    	for _, value := range a {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. tests/multi_primary_keys_test.go

    		stmt := gorm.Statement{DB: DB}
    		stmt.Parse(&Blog{})
    		stmt.Schema.LookUpField("ID").Unique = true
    		stmt.Parse(&Tag{})
    		stmt.Schema.LookUpField("ID").Unique = true
    		// postgers only allow unique constraint matching given keys
    	}
    
    	DB.Migrator().DropTable(&Blog{}, &Tag{}, "blog_tags", "locale_blog_tags", "shared_blog_tags")
    	if err := DB.AutoMigrate(&Blog{}, &Tag{}); err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modindex/read.go

    			x, err := constraint.Parse(goBuildConstraint)
    			if err != nil {
    				return p, fmt.Errorf("%s: parsing //go:build line: %v", name, err)
    			}
    			shouldBuild = ctxt.eval(x, allTags)
    		} else if plusBuildConstraints := tf.plusBuildConstraints(); len(plusBuildConstraints) > 0 {
    			for _, text := range plusBuildConstraints {
    				if x, err := constraint.Parse(text); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/artifacts/dsl/DependencyCollectorDslIntegrationTest.groovy

    the action must be tested
    ${BAZ_GROUP}:${BAZ_NAME}
    """)
        }
    
        def "dependency constraint declared using #expression shows up in related configuration"() {
            given:
            file(dsl.fileNameFor("build")).text = """
            ${setupDependencies()}
    
            dependencies {
                testingCollector(constraint(${expression}))
            }
    
            testingCollectorConf.dependencyConstraints.forEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 16:23:38 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    // a signature, and the hash value of t must depend only on t's index and
    // constraint: signatures are considered identical modulo type parameter
    // renaming. To avoid infinite recursion, we only hash the type parameter
    // index, and rely on types.Identical to handle signatures where constraints
    // are not identical.
    //
    // Otherwise the hash of t depends only on t's pointer identity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

                }
    
                @Override
                public VersionConstraint parseVersionConstraint(String constraint) {
                    throw new IllegalArgumentException("constraint not supported by this parser");
                }
    
                @Override
                public boolean isSnapshot(String version) {
                    requireNonNull(version, "version");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top