Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 348 for constraints (0.07 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

    import jakarta.validation.ConstraintDefinitionException;
    import jakarta.validation.ConstraintValidator;
    import jakarta.validation.ConstraintValidatorContext;
    
    /**
     * Validator implementation for URI type constraints.
     * This validator checks URI strings against specified protocol types.
     */
    public class UriTypeValidator implements ConstraintValidator<UriType, String> {
    
        /**
         * Default constructor for UriTypeValidator.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/validation/UriType.java

    import jakarta.validation.Constraint;
    import jakarta.validation.Payload;
    
    /**
     * Validation annotation for URI type constraints.
     * This annotation validates URI strings based on specified protocol types.
     */
    @Target({ METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER })
    @Retention(RUNTIME)
    @Documented
    @Constraint(validatedBy = UriTypeValidator.class)
    public @interface UriType {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

        /** The time taken to execute the search query in milliseconds. */
        protected final long queryTime;
    
        /** Flag indicating whether the search results are partial due to timeout or other constraints. */
        protected final boolean partialResults;
    
        /** The facet response containing aggregated facet information for the search results. */
        protected final FacetResponse facetResponse;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top