Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 776 for constraints (0.05 seconds)

  1. tests/table_test.go

    			t.Fatalf("failed to parse user unique, got error %v", err)
    		}
    
    		constraints := user.ParseUniqueConstraints()
    		if len(constraints) != 1 {
    			t.Fatalf("failed to find unique constraint, got %v", constraints)
    		}
    
    		for key := range constraints {
    			if len(key) != 63 {
    				t.Errorf("failed to find unique constraint, got %v", constraints)
    			}
    		}
    	})
    
    	t.Run("naming strategy", func(t *testing.T) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  2. schema/constraint_test.go

    	}
    	constraints := user.ParseUniqueConstraints()
    
    	results := map[string]schema.UniqueConstraint{
    		"uni_user_uniques_name1": {
    			Name:  "uni_user_uniques_name1",
    			Field: &schema.Field{Name: "Name1", Unique: true},
    		},
    	}
    	for k, result := range results {
    		v, ok := constraints[k]
    		if !ok {
    			t.Errorf("Failed to found unique constraint %v from parsed constraints %+v", k, constraints)
    		}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun Feb 04 07:49:19 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  3. schema/constraint.go

    	Name       string
    	Constraint string // length(phone) >= 10
    	*Field
    }
    
    func (chk *CheckConstraint) GetName() string { return chk.Name }
    
    func (chk *CheckConstraint) Build() (sql string, vars []interface{}) {
    	return "CONSTRAINT ? CHECK (?)", []interface{}{clause.Column{Name: chk.Name}, clause.Expr{SQL: chk.Constraint}}
    }
    
    // ParseCheckConstraints parse schema check constraints
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 18 07:33:54 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  4. architecture/runtimes.md

    The core-runtime module defines each runtime:
    
    - The target JVM for the runtime. Each runtime has its own JVM compatibility constraints.
    - Some base services that are available to code hosted by the runtime. This varies by runtime.
    - Additional constraints. For example, the CLI client runtimes limit the libraries that are available to the code in that runtime, for performance reasons. 
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 02 06:42:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

            }
          }
        }
        return impliedSet;
      }
    
      /**
       * Get the full set of requirements for a tester class.
       *
       * @param testerClass a tester class
       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

            }
          }
        }
        return impliedSet;
      }
    
      /**
       * Get the full set of requirements for a tester class.
       *
       * @param testerClass a tester class
       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  7. architecture/README.md

    When working on some source code it is important to be aware of the runtimes in which it will run, so that you don't break these constraints.
    There is some assistance in the IDE for this plus a lot of validation that is applied at build time and on CI, but it is useful to keep these constraints in mind as well.
    
    See [Gradle runtimes](runtimes.md) for a list of these runtimes and more details.
    
    ### Build execution model
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:50:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/wizard/CrawlingConfigForm.java

    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for crawling configuration wizard in the admin interface.
     * Contains validation constraints for creating new crawling configurations.
     */
    public class CrawlingConfigForm {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. build-logic-commons/build-platform/build.gradle.kts

    plugins {
        `java-platform`
    }
    
    group = "gradlebuild"
    
    description = "Provides a platform that constrains versions of external dependencies used by Gradle"
    
    // To try out newer kotlin versions
    val kotlinVersion = providers.gradleProperty("buildKotlinVersion")
        .getOrElse(embeddedKotlinVersion)
    
    dependencies {
        constraints {
            val distributionDependencies = versionCatalogs.named("buildLibs")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 25 02:25:37 GMT 2026
    - 897 bytes
    - Click Count (0)
  10. okhttp-bom/build.gradle.kts

    plugins {
      id("okhttp.base-conventions")
      id("okhttp.publish-conventions")
      id("java-platform")
    }
    
    dependencies {
      constraints {
        project.rootProject.subprojects.forEach { subproject ->
          if (subproject.name != "okhttp-bom") {
            api(subproject)
          }
        }
        api("com.squareup.okhttp3:okhttp-jvm:${project.version}")
        api("com.squareup.okhttp3:okhttp-android:${project.version}")
      }
    }
    
    publishing {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 526 bytes
    - Click Count (0)
Back to Top