- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 122 for Constraint (0.16 seconds)
-
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
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Aug 18 11:44:52 GMT 2025 - 26.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/BiMap.java
import java.util.Map; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as * that of its keys. This constraint enables bimaps to support an "inverse view", which is another * bimap containing the same entries as this bimap but with reversed keys and values. * * <h3>Implementations</h3> * * <ul>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 4.2K bytes - Click Count (0) -
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. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 5K bytes - Click Count (0) -
docs/en/docs/history-design-future.md
Then I contributed to it, to make it fully compliant with JSON Schema, to support different ways to define constraint declarations, and to improve editor support (type checks, autocompletion) based on the tests in several editors.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 4.2K bytes - Click Count (0) -
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) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Aug 20 04:51:17 GMT 2025 - 65.2K bytes - Click Count (0) -
schema/naming.go
} // IndexName generate index name func (ns NamingStrategy) IndexName(table, column string) string { return ns.formatName("idx", table, ns.toDBName(column)) } // UniqueName generate unique constraint name func (ns NamingStrategy) UniqueName(table, column string) string { return ns.formatName("uni", table, ns.toDBName(column)) } func (ns NamingStrategy) formatName(prefix, table, name string) string {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 12 03:46:59 GMT 2024 - 5.3K bytes - Click Count (0) -
tests/postgres_test.go
gorm.Model SomeID string OtherID string Data string } DB.Migrator().DropTable(&Thing{}) DB.Migrator().CreateTable(&Thing{}) if err := DB.Exec("ALTER TABLE things ADD CONSTRAINT some_id_other_id_unique UNIQUE (some_id, other_id)").Error; err != nil { t.Error(err) } thing := Thing{ SomeID: "1234", OtherID: "1234", Data: "something", } DB.Create(&thing)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Oct 08 09:16:32 GMT 2022 - 6.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java
* * <h3>Resolution</h3> * * <p><dfn>Version resolution</dfn> is the process of finding, for a given artifact, a list of * versions that match the input {@linkplain org.apache.maven.api.VersionConstraint version constraint} * in the list of remote repositories. This is done either explicitly using the * {@link org.apache.maven.api.services.VersionResolver VersionResolver} service, or implicitly when resolving * an artifact.</p> *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 7.7K bytes - Click Count (0) -
cmd/globals.go
GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs. // Refresh interval to update in-memory iam config cache. globalRefreshIAMInterval = 10 * time.Minute // Limit of location constraint XML for unauthenticated PUT bucket operations. maxLocationConstraintSize = 3 * humanize.MiByte // Maximum size of default bucket encryption configuration allowed maxBucketSSEConfigSize = 1 * humanize.MiByte
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 03 18:23:41 GMT 2024 - 16.2K bytes - Click Count (1) -
api/go1.18.txt
pkg go/types, method (*Term) Tilde() bool pkg go/types, method (*Term) Type() Type pkg go/types, method (*TypeList) At(int) Type pkg go/types, method (*TypeList) Len() int pkg go/types, method (*TypeParam) Constraint() Type pkg go/types, method (*TypeParam) Index() int pkg go/types, method (*TypeParam) Obj() *TypeName pkg go/types, method (*TypeParam) SetConstraint(Type) pkg go/types, method (*TypeParam) String() string
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 13K bytes - Click Count (0)