- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 996 for replace (0.07 sec)
-
tests/multi_primary_keys_test.go
t.Fatalf("Preload many2many relations") } // Replace tag5 := &Tag{Locale: "ZH", Value: "tag5"} tag6 := &Tag{Locale: "ZH", Value: "tag6"} DB.Model(&blog).Association("Tags").Replace(tag5, tag6) var tags2 []Tag DB.Model(&blog).Association("Tags").Find(&tags2) if !compareTags(tags2, []string{"tag5", "tag6"}) { t.Fatalf("Should find 2 tags after Replace") } if DB.Model(&blog).Association("Tags").Count() != 2 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 12.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
// don't compareAndSet a zero if (map.replace(key, atomic, new AtomicLong(newValue))) { return 0L; } // atomic replaced continue; } return oldValue; } } /** * If {@code (key, expectedOldValue)} is currently in the map, this method replaces {@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 14.1K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 08 14:54:27 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
try { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } catch (ClassCastException tolerated) { // for ClassToInstanceMap expectUnchanged(); } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresentNoChange() { assertEquals(v0(), getMap().replace(k0(), v0())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/sanitize.js
unction(a){return a.toLocaleLowerCase()},trim:function(b){return a.trim(b)},trimLeft:function(a){return a.replace(/^\s+/,"")},trimRight:function(a){return a.replace(/\s+$/,"")},capitalize:function(b){var c=b.split(" ");return a.each(c,function(a,b){c[a]=b.substr(0,1).toUpperCase()+b.substr(1,b.length)}),c.join(" ")},insert:function(a,b,c){var d=(b.attr("data-sanitize-insert-"+c)||"").replace(/\[SPACE\]/g," ");return"left"===c&&0===a.indexOf(d)||"right"===c&&a.substring(a.length-d.length)===d?a:(...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceTester.java
public void testReplace_supportedPresent() { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresentNoChange() { assertEquals(v0(), getMap().replace(k0(), v0())); expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceTester.java
try { assertEquals(v0(), getMap().replace(k0(), v3())); expectReplacement(entry(k0(), v3())); } catch (ClassCastException tolerated) { // for ClassToInstanceMap expectUnchanged(); } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplace_supportedPresentNoChange() { assertEquals(v0(), getMap().replace(k0(), v0())); expectUnchanged(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/BaseObject.java
childrenTracking.replace(delegate, newDelegate); } delegate = newDelegate; } } protected boolean replace(Object oldDelegate, Object newDelegate) { return false; } @FunctionalInterface protected interface ChildrenTracking { boolean replace(Object oldDelegate, Object newDelegate); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
tests/named_polymorphic_test.go
} if DB.Model(&hamster2).Association("OtherToy").Count() != 1 { t.Errorf("Hamster's toys count should be 1 after Append") } // Replace DB.Model(&hamster).Association("PreferredToy").Replace(&Toy{ Name: "bike 3", }) DB.Model(&hamster).Association("OtherToy").Replace(&Toy{ Name: "treadmill 3", }) hamsterToy = Toy{} DB.Model(&hamster).Association("PreferredToy").Find(&hamsterToy)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jul 08 09:59:40 UTC 2020 - 4.2K bytes - Viewed (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Sep 19 13:21:47 UTC 2024 - 5.9K bytes - Viewed (0)