- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,061 for Arrange (0.27 sec)
-
tests/preload_test.go
} for _, user := range users { for idx, pet := range user.Pets { pet.Toy = Toy{Name: user.Name + "_toy_nested_preload_" + strconv.Itoa(idx+1)} } } if err := DB.Create(&users).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } var userIDs []uint for _, user := range users { userIDs = append(userIDs, user.ID) }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
cmd/utils_test.go
keys []string keyvalues []string }{ { []string{"aaaa", "bbbb"}, []string{"aaaa", "{aaaa:.*}", "bbbb", "{bbbb:.*}"}, }, } for i, test := range testCases { keyvalues := restQueries(test.keys...) for j := range keyvalues { if keyvalues[j] != test.keyvalues[j] { t.Fatalf("test %d: keyvalues[%d] does not match", i+1, j) } } } } func TestLCP(t *testing.T) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java
/** * Checks whether the current Maven runtime matches the specified version range. A version range can either use the * usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for * "[2.2.1,)", i.e. denotes the minimum version required. * * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
schema/index.go
indexesByName := map[string]*Index{} indexes := []*Index{} for _, field := range schema.Fields { if field.TagSettings["INDEX"] != "" || field.TagSettings["UNIQUEINDEX"] != "" { fieldIndexes, err := parseFieldIndexes(field) if err != nil { schema.err = err break } for _, index := range fieldIndexes { idx := indexesByName[index.Name] if idx == nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed May 21 02:35:56 UTC 2025 - 3.8K bytes - Viewed (0) -
cmd/net_test.go
expectedPort string }{ {":54321", "", "54321"}, {"server:54321", "server", "54321"}, {":0", "", "0"}, {"server:https", "server", "443"}, {"server:http", "server", "80"}, } for _, testCase := range testCases { host, port := mustSplitHostPort(testCase.hostPort) if testCase.expectedHost != host { t.Fatalf("host: expected = %v, got = %v", testCase.expectedHost, host) } if testCase.expectedPort != port {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
* specified version range. * <p> * The restrictions of the returned version range will be an intersection of the restrictions * of this version range and the specified version range if both version ranges have * restrictions. Otherwise, the restrictions on the returned range will be empty. * </p> * <p>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 19K bytes - Viewed (0) -
cmd/postpolicyform.go
func isString(val any) bool { _, ok := val.(string) return ok } // ContentLengthRange - policy content-length-range field. type contentLengthRange struct { Min int64 Max int64 Valid bool // If content-length-range was part of policy } // PostPolicyForm provides strict static type conversion and validation for Amazon S3's POST policy JSON string. type PostPolicyForm struct {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Oct 23 15:10:12 UTC 2025 - 12.1K bytes - Viewed (0) -
cmd/admin-handlers.go
} if globalIsTLS { for _, c := range globalPublicCerts { check := xxh3.Hash(c.RawIssuer) check ^= xxh3.Hash(c.RawSubjectPublicKeyInfo) // We XOR, so order doesn't matter. for _, v := range c.DNSNames { check ^= xxh3.HashString(v) } for _, v := range c.EmailAddresses { check ^= xxh3.HashString(v) } for _, v := range c.IPAddresses {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 99.7K bytes - Viewed (0) -
schema/utils.go
if len(foreignKeys) == 1 { for idx, r := range foreignValues { queryValues[idx] = r[0] } return clause.Column{Table: table, Name: foreignKeys[0]}, queryValues } columns := make([]clause.Column, len(foreignKeys)) for idx, key := range foreignKeys { columns[idx] = clause.Column{Table: table, Name: key} } for idx, r := range foreignValues { queryValues[idx] = r }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Oct 30 11:15:36 UTC 2025 - 5.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
* no versions matched the requested range. */ @Nonnull List<Version> getVersions(); /** * Gets the lowest version matching the requested range. * * @return An Optional containing the lowest matching version, or empty Optional if no versions * matched the requested range */ @Nonnull default Optional<Version> getLowestVersion() { return getVersions().isEmpty()Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 3.4K bytes - Viewed (0)