- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 314 for replace (0.21 sec)
-
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING); } else if ("css".equals(names[0])) { names[0] = themeName; final Path path = ResourceUtil.getCssPath(names); Files.createDirectories(path.getParent()); Files.copy(zis, path, StandardCopyOption.REPLACE_EXISTING); } else if ("js".equals(names[0])) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.7K 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)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Wed Jul 08 09:59:40 GMT 2020 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
assertEquals(Integer.valueOf(1), map.replace("foo", 2)); assertNull(map.replace("bar", 3)); assertEquals(Integer.valueOf(2), map.get("foo")); assertFalse(map.containsKey("bar")); } public void testReplaceConditional() { TestMap map = new TestMap(); map.put("foo", 1); assertFalse(map.replace("foo", 2, 3)); assertFalse(map.replace("bar", 1, 2));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.4K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
val mainFiles = mainFiles() return mainFiles.map { val suffix = it.path.replace("${prefix}samples/guide/src/main/java/", "") suffix.replace("(.*)\\.java".toRegex()) { mr -> mr.groupValues[1].replace('/', '.') }.replace("(.*)\\.kt".toRegex()) { mr -> mr.groupValues[1].replace('/', '.') + "Kt" } }.sorted() } } @Disabled("Don't run by default") @Tag("Slow")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K 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:(...
JavaScript - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 2.7K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
AssertAssociationCount(t, user2, "Manager", 1, "AfterAppend") // Replace company2 := Company{Name: "company-belongs-to-replace"} manager2 := GetUser("manager-belongs-to-replace", Config{}) if err := DB.Model(&user2).Association("Company").Replace(&company2); err != nil { t.Fatalf("Error happened when replace Company, got %v", err) } if company2.ID == 0 { t.Fatalf("Company's ID should be created")
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingConcurrentMap.java
return delegate().remove(key, value); } @CanIgnoreReturnValue @Override @CheckForNull public V replace(K key, V value) { return delegate().replace(key, value); } @CanIgnoreReturnValue @Override public boolean replace(K key, V oldValue, V newValue) { return delegate().replace(key, oldValue, newValue); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
} @Override public boolean replace(final K key, final V oldValue, final V newValue) { if (parent.replace(key, oldValue, newValue)) { return true; } return parent.replace(key, oldValue, newValue); } @Override public V replace(final K key, final V value) { // use original key return parent.replace(key, value); } @Override
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.3K bytes - Viewed (0) -
schema/naming_test.go
} func (r CustomReplacer) Replace(name string) string { return r.f(name) } func TestCustomReplacer(t *testing.T) { ns := NamingStrategy{ TablePrefix: "public.", SingularTable: true, NameReplacer: CustomReplacer{ func(name string) string { replaced := "REPLACED_" + strings.ToUpper(name) return strings.NewReplacer("CID", "_Cid").Replace(replaced) }, }, NoLowerCase: false,
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue May 30 02:00:48 GMT 2023 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
public void testReplaceEntry_supportedPresent() { assertTrue(getMap().replace(k0(), v0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testReplaceEntry_supportedPresentUnchanged() { assertTrue(getMap().replace(k0(), v0(), v0())); expectUnchanged(); } @MapFeature.Require(SUPPORTS_PUT)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 5.3K bytes - Viewed (0)