- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 996 for replace (0.19 sec)
-
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")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
android/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));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
return stripInvalidXMLCharacters(// value// .replace("&", "&") // .replace("<", "<")// .replace(">", ">")// .replace("\"", """)// .replace("\'", "'")// ); } public static String stripInvalidXMLCharacters(final String in) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartBodyTest.kt
} } @Test fun singlePart() { val expected = """ |--123 | |Hello, World! |--123-- | """.trimMargin().replace("\n", "\r\n") val body = MultipartBody.Builder("123") .addPart("Hello, World!".toRequestBody(null)) .build() assertThat(body.boundary).isEqualTo("123")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.4K bytes - Viewed (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/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) -
compat/maven-model/src/main/java/org/apache/maven/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 - 2.1K bytes - Viewed (0) -
tests/associations_has_one_test.go
} user.Account = account CheckUser(t, user2, user) AssertAssociationCount(t, user, "Account", 1, "AfterAppend") // Replace account2 := Account{Number: "account-has-one-replace"} if err := DB.Model(&user2).Association("Account").Replace(&account2); err != nil { t.Fatalf("Error happened when append Account, got %v", err) } if account2.ID == 0 { t.Fatalf("account2's ID should be created")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K 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")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/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 - 2.1K bytes - Viewed (0) -
schema/naming.go
UniqueName(table, column string) string } // Replacer replacer interface like strings.Replacer type Replacer interface { Replace(name string) string } var _ Namer = (*NamingStrategy)(nil) // NamingStrategy tables, columns naming strategy type NamingStrategy struct { TablePrefix string SingularTable bool NameReplacer Replacer NoLowerCase bool IdentifierMaxLength int }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 5.3K bytes - Viewed (0)