- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 284 for saved (0.04 sec)
-
tests/named_polymorphic_test.go
func TestNamedPolymorphic(t *testing.T) { DB.Migrator().DropTable(&Hamster{}) DB.AutoMigrate(&Hamster{}) hamster := Hamster{Name: "Mr. Hammond", PreferredToy: Toy{Name: "bike"}, OtherToy: Toy{Name: "treadmill"}} DB.Save(&hamster) hamster2 := Hamster{} DB.Preload("PreferredToy").Preload("OtherToy").Find(&hamster2, hamster.Id)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jul 08 09:59:40 UTC 2020 - 4.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
* the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from * aftereffects and bogus error messages. */ List<Dependency> dependencies = model.getDependencies();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
CONTRIBUTING.md
For any non-trivial change, we need to be able to answer these questions: * Why is this change done? What's the use case? * For user facing features, what will the API look like? * What test cases should it have? What could go wrong? * How will it roughly be implemented? We'll happily provide code pointers to save you time.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Nov 05 15:15:33 UTC 2024 - 15.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* of the same class. For example, if sublists of {@code MyList} instances were serializable, * those sublists might implement a private {@code MySubList} type but serialize as a plain {@code * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@code * MySubList}, this is safe. For these cases, for which {@code reserializeAndAssert} is too * strict, use {@link #reserialize}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 4.1K bytes - Viewed (0) -
ci/official/installer_wheel.sh
# Extract the package name from the wheel name. That is, extract every character # before the pattern "-py3-" in the wheel name. pkg_name=$(echo "${pure_python_whl}" | awk -F'-py3-' '{print $1}') # Save the current working directory and then switch to the output directory. pushd "${TFCI_OUTPUT_DIR}" # Unpack the wheel to get all the file contents. The pure python wheel we built
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 25 17:28:01 UTC 2024 - 3.5K bytes - Viewed (0) -
internal/logger/logonce.go
} } const unwrapErrsDepth = 3 // unwrapErrs upto the point where errors.Unwrap(err) returns nil func unwrapErrs(err error) (leafErr error) { uerr := errors.Unwrap(err) depth := 1 for uerr != nil { // Save the current `uerr` leafErr = uerr // continue to look for leaf errors underneath uerr = errors.Unwrap(leafErr) depth++ if depth == unwrapErrsDepth { // If we have reached enough depth we
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/metacache-manager.go
} const metacacheMaxEntries = 5000 // initManager will start async saving the cache. func (m *metacacheManager) initManager() { // Add a transient bucket. // Start saver when object layer is ready. go func() { objAPI := newObjectLayerFn() for objAPI == nil { time.Sleep(time.Second) objAPI = newObjectLayerFn() } t := time.NewTicker(time.Minute) defer t.Stop()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 5.2K bytes - Viewed (0) -
cmd/signature-v4.go
if pSignValues.Date.After(UTCNow().Add(globalMaxSkewTime)) { return ErrRequestNotReadyYet } if UTCNow().Sub(pSignValues.Date) > pSignValues.Expires { return ErrExpiredPresignRequest } // Save the date and expires. t := pSignValues.Date expireSeconds := int(pSignValues.Expires / time.Second) // Construct new query. query := make(url.Values) clntHashedPayload := req.Form.Get(xhttp.AmzContentSha256)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 12.4K bytes - Viewed (0) -
tests/associations_many2many_test.go
{Code: "TestDuplicateMany2ManyAssociation-language-3"}, }} users := []*User{&user1, &user2} var err error err = DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(users).Error AssertEqual(t, nil, err) var findUser1 User err = DB.Preload("Languages").Where("id = ?", user1.ID).First(&findUser1).Error AssertEqual(t, nil, err) AssertEqual(t, user1, findUser1)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
blocker = (Blocker) state; } spinCount++; if (spinCount > MAX_BUSY_WAIT_SPINS) { /* * If we have spun a lot, just park ourselves. This will save CPU while we wait for a slow * interrupting thread. In theory, interruptTask() should be very fast, but due to * InterruptibleChannel and JavaLangAccess.blockedOn(Thread, Interruptible), it isn't
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 10.1K bytes - Viewed (0)