- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 371 for uniques (0.1 seconds)
-
schema/constraint.go
return "CONSTRAINT ? UNIQUE (?)", []interface{}{clause.Column{Name: uni.Name}, clause.Column{Name: uni.Field.DBName}} } // ParseUniqueConstraints parse schema unique constraints func (schema *Schema) ParseUniqueConstraints() map[string]UniqueConstraint { uniques := make(map[string]UniqueConstraint) for _, field := range schema.Fields { if field.Unique {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Mar 18 07:33:54 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
int uniques = 1; for (int i = 1; i < sortedElements.length; i++) { if (comparator.compare(sortedElements[uniques - 1], sortedElements[i]) < 0) { sortedElements[uniques] = sortedElements[i]; uniques++; } } Arrays.fill(sortedElements, uniques, length, null); if (maybeExpand && uniques * 4 > length * 3) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 35.2K bytes - Click Count (0) -
docs/fr/docs/advanced/path-operation-advanced-configuration.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/JobHelper.java
}); } /** * Finds a scheduled job by its unique identifier. * * @param jobUnique the unique identifier of the job * @return an optional containing the scheduled job if found, empty otherwise */ private OptionalThing<LaScheduledJob> findJobByUniqueOf(final LaJobUnique jobUnique) { final JobManager jobManager = ComponentUtil.getJobManager(); try {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
return userCode; } return null; } /** * Generates a new unique identifier for user tracking. * Creates a UUID and removes hyphens to create a clean identifier string. * * @return a new unique identifier string */ protected String getId() { return UUID.randomUUID().toString().replace("-", StringUtil.EMPTY); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14.9K bytes - Click Count (0) -
src/archive/tar/writer_test.go
) func bytediff(a, b []byte) string { const ( uniqueA = "- " uniqueB = "+ " identity = " " ) var ss []string sa := strings.Split(strings.TrimSpace(hex.Dump(a)), "\n") sb := strings.Split(strings.TrimSpace(hex.Dump(b)), "\n") for len(sa) > 0 && len(sb) > 0 { if sa[0] == sb[0] { ss = append(ss, identity+sa[0]) } else { ss = append(ss, uniqueA+sa[0]) ss = append(ss, uniqueB+sb[0]) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
schema/index_test.go
} func TestParseIndexWithUniqueIndexAndUnique(t *testing.T) { type IndexTest struct { FieldA string `gorm:"unique;index"` // unique and index FieldB string `gorm:"unique"` // unique FieldC string `gorm:"index:,unique"` // uniqueIndex FieldD string `gorm:"uniqueIndex;index"` // uniqueIndex and index FieldE1 string `gorm:"uniqueIndex:uniq_field_e1_e2"` // mul uniqueIndex
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Dec 06 02:27:44 GMT 2024 - 7.9K bytes - Click Count (0) -
migrator/index.go
// PrimaryKey returns the index is primary key or not. func (idx Index) PrimaryKey() (isPrimaryKey bool, ok bool) { return idx.PrimaryKeyValue.Bool, idx.PrimaryKeyValue.Valid } // Unique returns whether the index is unique or not. func (idx Index) Unique() (unique bool, ok bool) { return idx.UniqueValue.Bool, idx.UniqueValue.Valid } // Option return the optional attribute of the index func (idx Index) Option() string {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Apr 11 02:32:46 GMT 2023 - 1023 bytes - Click Count (0) -
schema/index.go
return } subName = composite } name = field.Schema.namer.IndexName( field.Schema.Table, subName) } if (k == "UNIQUEINDEX") || settings["UNIQUE"] != "" { settings["CLASS"] = "UNIQUE" } priority, err := strconv.Atoi(settings["PRIORITY"]) if err != nil { priority = 10 } indexes = append(indexes, Index{ Name: name,
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed May 21 02:35:56 GMT 2025 - 3.8K bytes - Click Count (0) -
tests/migrate_test.go
if field == nil { t.Fatalf("%v: failed to find column %q", utils.FileWithLineNum(), fieldName) } if field.Unique != unique { t.Fatalf("%v: %q column %q unique should be %v but got %v", utils.FileWithLineNum(), stmt.Schema.Table, fieldName, unique, field.Unique) } if field.UniqueIndex != uniqueIndex {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)