- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 37 for Shouldn (0.05 seconds)
-
tests/migrate_test.go
} // RelationModel3 should be existed _, err = findColumnType(&RelationModel3{}, "id") AssertEqual(t, nil, err) // RelationModel1 should not be existed _, err = findColumnType(&RelationModel1{}, "id") if err == nil { t.Errorf("RelationModel1 should not be migrated") } // RelationModel2 should not be existed _, err = findColumnType(&RelationModel2{}, "id")
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) -
internal/bucket/lifecycle/lifecycle_test.go
versionID string }{ // Empty object name (unexpected case) should always return NoneAction { inputConfig: `<LifecycleConfiguration><Rule><Filter><Prefix>prefix</Prefix></Filter><Status>Enabled</Status><Expiration><Days>5</Days></Expiration></Rule></LifecycleConfiguration>`, expectedAction: NoneAction, }, // Disabled should always return NoneAction {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
tests/query_test.go
if result.ID != 0 { t.Errorf("Should not have ID because only selected name, %+v", result.ID) } if user.Name != result.Name { t.Errorf("Should have user Name when selected it") } var result2 User DB.Where("name = ?", user.Name).Select("name as name").Find(&result2) if result2.ID != 0 { t.Errorf("Should not have ID because only selected name, %+v", result2.ID) }Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
tensorflow/c/c_api.h
// allocated to size `ninputs`. The caller should build `cond_graph` and // `body_graph` starting from the inputs, and store the final outputs in // `cond_output` and `body_outputs`. // // If `status` is OK, the caller must call either TF_FinishWhile or // TF_AbortWhile on the returned TF_WhileParams. If `status` isn't OK, the // returned TF_WhileParams is not valid, and the caller should not call // TF_FinishWhile() or TF_AbortWhile().
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
cmd/xl-storage_test.go
} } } func TestXLStorageIsDirEmpty(t *testing.T) { tmp := t.TempDir() // Should give false on non-existent directory. dir1 := slashpath.Join(tmp, "non-existent-directory") if isDirEmpty(dir1, true) { t.Error("expected false for non-existent directory, got true") } // Should give false for not-a-directory. dir2 := slashpath.Join(tmp, "file") err := os.WriteFile(dir2, []byte("hello"), 0o777)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
cmd/object-api-listobjects_test.go
// If marker is *after* the last possible object from the prefix it should return an empty list. {"test-bucket-list-object", "Asia", "europe-object", "", 0, ListObjectsInfo{}, nil, true}, // If the marker is *before* the first possible object from the prefix it should return the first object. {"test-bucket-list-object", "Asia", "A", "", 1, resultCases[4], nil, true},Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 76.1K bytes - Click Count (0) -
cmd/admin-handlers-users_test.go
if err != nil { c.Fatalf("should be able to get user info: %v", err) } return ui } func (c *check) mustNotCreateIAMUser(ctx context.Context, admClnt *madmin.AdminClient) { c.Helper() randUser := mustGetUUID() randPass := mustGetUUID() err := admClnt.AddUser(ctx, randUser, randPass) if err == nil { c.Fatalf("should not be able to create a user") } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 50.6K bytes - Click Count (0) -
src/bytes/bytes_test.go
if input == nil && clone != nil { t.Errorf("Clone(%#v) return value should be equal to nil slice.", input) } if input != nil && clone == nil { t.Errorf("Clone(%#v) return value should not be equal to nil slice.", input) } if cap(input) != 0 && unsafe.SliceData(input) == unsafe.SliceData(clone) { t.Errorf("Clone(%q) return value should not reference inputs backing memory.", input) } }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
cmd/xl-storage-format-v2.go
} // mergeXLV2Versions will merge all versions, typically from different disks // that have at least quorum entries in all metas. // Each version slice should be sorted. // Quorum must be the minimum number of matching metadata files. // Quorum should be > 1 and <= len(versions). // If strict is set to false, entries that match type
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 65.6K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
.toList(); if (!unversionedPlugins.isEmpty()) { logger.warn("Version not locked for default bindings plugins " + unversionedPlugins + ", you should define versions in pluginManagement section of your " + "pom.xml or parent"); } } private void checkThreadSafety(BuildPlan buildPlan) { if (threads > 1) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0)