- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for replaceAll (1.69 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java
import com.google.common.collect.testing.features.MapFeature; import java.util.ArrayList; import java.util.List; import java.util.Map.Entry; import org.junit.Ignore; /** * A generic JUnit test which tests {@code replaceAll()} operations on a map. Can't be invoked * directly; please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatibleRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
@ListFeature.Require(SUPPORTS_SET) public void testReplaceAll() { getList().replaceAll(e -> samples.e3()); expectContents(nCopies(getNumElements(), samples.e3())); } @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); E[] expected = createSamplesArray();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
@ListFeature.Require(SUPPORTS_SET) public void testReplaceAll() { getList().replaceAll(e -> samples.e3()); expectContents(Collections.nCopies(getNumElements(), samples.e3())); } @ListFeature.Require(SUPPORTS_SET) public void testReplaceAll_changesSome() { getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e); E[] expected = createSamplesArray();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle
} static List<String> toPatterns(List<String> packages) { packages.collect { it.replaceAll('\\*\\*', '###') .replaceAll('/\\*', '/[A-Z][a-z_A-Z0-9]+') .replaceAll('$', '\\$') .replaceAll('/', '[.]') .replaceAll('###', '.*?') } } static String writeFilterPreset(Project project) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 8.9K bytes - Viewed (0) -
logger/sql.go
case reflect.String: vars[idx] = escaper + strings.ReplaceAll(fmt.Sprintf("%v", v), escaper, escaper+escaper) + escaper default: if v != nil && reflectValue.IsValid() && ((reflectValue.Kind() == reflect.Ptr && !reflectValue.IsNil()) || reflectValue.Kind() != reflect.Ptr) { vars[idx] = escaper + strings.ReplaceAll(fmt.Sprintf("%v", v), escaper, escaper+escaper) + escaper } else { vars[idx] = nullStr
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
protected String getFilePath(final String url) { return url.replaceAll("/+", "/") .replace("./", "") .replace("../", "") .replaceAll("/$", "/index.html") .replaceAll("\\?", questionStr) .replaceAll(":", colonStr) .replaceAll(";", semicolonStr) .replaceAll("&", ampersandStr); } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
final String contentType = MimeTypeUtil.guessContentType(path); assertEquals("text/html", contentType); } /** * @throws Exception */ @Test public void testGetFromStream_gif() throws Exception { final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/ccc.gif";
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
internal/lock/lock_windows_test.go
{`\\?\c:\long\foo.txt`, `\\?\c:\long\foo.txt`}, {`\\?\c:\long/foo.txt`, `\\?\c:\long/foo.txt`}, } { in := strings.ReplaceAll(test.in, "long", veryLong) want := strings.ReplaceAll(test.want, "long", veryLong) if got := fixLongPath(in); got != want { got = strings.ReplaceAll(got, veryLong, "long") t.Errorf("fixLongPath(%q) = %q; want %q", test.in, got, test.want) } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/JdkPattern.java
return matcher.find(); } @Override public boolean find(int index) { return matcher.find(index); } @Override public String replaceAll(String replacement) { return matcher.replaceAll(replacement); } @Override public int end() { return matcher.end(); } @Override public int start() { return matcher.start(); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 2.2K bytes - Viewed (0) -
build-logic-settings/UpdateDevelocityPluginVersion.java
if (f.exists()) { String content = new String(Files.readAllBytes(f.toPath())); content = content.replaceAll("com.gradle:develocity-gradle-plugin:[^\\\"]*\"", "com.gradle:develocity-gradle-plugin:" + newVersion + '"'); content = content.replaceAll("com.gradle.develocity\"\\).version\\(\"[^\\\"]*\"", "com.gradle.develocity\"\\).version\\(\"" + newVersion + '"');
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Jan 23 17:40:08 UTC 2025 - 1.4K bytes - Viewed (0)