Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 214 for Constraint (0.14 sec)

  1. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      }
    
      @Override
      protected Map<Class<? extends @NonNull B>, B> delegate() {
        return delegate;
      }
    
      /**
       * Wraps the {@code setValue} implementation of an {@code Entry} to enforce the class constraint.
       */
      private static <B extends @Nullable Object> Entry<Class<? extends @NonNull B>, B> checkedEntry(
          Entry<Class<? extends @NonNull B>, B> entry) {
        return new ForwardingMapEntry<Class<? extends @NonNull B>, B>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

    import org.lastaflute.job.util.LaCronUtil;
    
    import jakarta.validation.ConstraintValidator;
    import jakarta.validation.ConstraintValidatorContext;
    
    /**
     * Validator implementation for the CronExpression constraint.
     */
    public class CronExpressionValidator implements ConstraintValidator<CronExpression, String> {
    
        /**
         * Default constructor.
         */
        public CronExpressionValidator() {
            // Empty constructor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. migrator.go

    	DropColumn(dst interface{}, field string) error
    	AlterColumn(dst interface{}, field string) error
    	MigrateColumn(dst interface{}, field *schema.Field, columnType ColumnType) error
    	// MigrateColumnUnique migrate column's UNIQUE constraint, it's part of MigrateColumn.
    	MigrateColumnUnique(dst interface{}, field *schema.Field, columnType ColumnType) error
    	HasColumn(dst interface{}, field string) bool
    	RenameColumn(dst interface{}, oldName, field string) error
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. tests/gaussdb_test.go

    	t.Skipf("This test case skipped, because of gaussdb not support 'ON CONSTRAINT' statement")
    	if DB.Dialector.Name() != "gaussdb" {
    		t.Skip()
    	}
    
    	type Thing struct {
    		gorm.Model
    		SomeID  string
    		OtherID string
    		Data    string
    	}
    
    	DB.Migrator().DropTable(&Thing{})
    	DB.Migrator().CreateTable(&Thing{})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. 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,
    		)
    	}
    }
    
    type InfoRelation struct {
    	ID    int
    	Code  string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

    import jakarta.validation.ConstraintValidator;
    import jakarta.validation.ConstraintValidatorContext;
    
    /**
     * Validator implementation for the CustomSize constraint.
     */
    public class CustomSizeValidator implements ConstraintValidator<CustomSize, CharSequence> {
    
        /**
         * Default constructor.
         */
        public CustomSizeValidator() {
            // Empty constructor
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Represents the result of a version range resolution request. This interface provides access to
     * information about resolved versions that match a version range constraint, including any exceptions
     * that occurred during resolution, the available versions, and their source repositories.
     *
     * <p>The versions returned by this interface are guaranteed to be in ascending order.</p>
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. tests/migrate_test.go

    			t.Fatalf("failed to drop constraint %v, got error %v", name, err)
    		}
    
    		if DB.Migrator().HasConstraint(&User{}, name) {
    			t.Fatalf("constraint %v should been deleted", name)
    		}
    
    		if err := DB.Migrator().CreateConstraint(&User{}, name); err != nil {
    			t.Fatalf("failed to create constraint %v, got error %v", name, err)
    		}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

      protected void setUp() throws Exception {
        map = MutableClassToInstanceMap.create();
      }
    
      public void testConstraint() {
        /*
         * We'll give ourselves a pass on testing all the possible ways of breaking the constraint,
         * because we know that newClassMap() is implemented using ConstrainedMap which is itself
         * well-tested. A purist would object to this, but what can I say, we're dirty cheaters.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top