- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 509 for replaceable (0.34 sec)
-
platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java
stat.setTryStatement(replace(stat.getTryStatement())); replaceAll(stat.getCatchStatements()); stat.setFinallyStatement(replace(stat.getFinallyStatement())); } @Override @SuppressWarnings("unchecked") public void visitSwitch(SwitchStatement stat) { stat.setExpression(replaceExpr(stat.getExpression())); replaceAll(stat.getCaseStatements());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 16.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterTestFrameworkIntegrationTest.groovy
} @Override void renameTests() { def newTest = file("src/test/java/NewTest.java") file('src/test/java/SomeOtherTest.java').renameTo(newTest) newTest.text = newTest.text.replaceAll("SomeOtherTest", "NewTest") } @Override String getTestTaskName() { return "test" } @Override String getPassingTestCaseName() { return "pass()" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
QueryContext context) { assertEquals(query, context.getQueryBuilder().toString().replaceAll("\\s", "")); assertFieldLogs(fieldLogMap); assertHighlightedQueries(highlightedQuerySet); if (sorts != null) { assertEquals(sorts, context.sortBuilders().stream().map(s -> s.toString().replaceAll("\\s", "")).collect(Collectors.joining())); } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 37.3K bytes - Viewed (0) -
src/testing/panic_test.go
t.Errorf("output:\ngot:\n%s\nwant:\n%s", got, want) } }) } } func makeRegexp(s string) string { s = regexp.QuoteMeta(s) s = strings.ReplaceAll(s, ":NNN:", `:\d+:`) s = strings.ReplaceAll(s, "N\\.NNs", `\d*\.\d*s`) return s } func TestPanicHelper(t *testing.T) { if os.Getenv("GO_WANT_HELPER_PROCESS") != "1" { return } t.Log(t.Name())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 16:49:24 UTC 2023 - 7.4K bytes - Viewed (0) -
src/cmd/go/main.go
base.SetExitStatus(2) base.Exit() } if args[used] == "help" { // Accept 'go mod help' and 'go mod help foo' for 'go help mod' and 'go help mod foo'. telemetry.Inc("go/subcommand:" + strings.ReplaceAll(cfg.CmdName, " ", "-") + "-" + strings.Join(args[used:], "-")) help.Help(os.Stdout, append(slices.Clip(args[:used]), args[used+1:]...)) base.Exit() } helpArg := "" if used > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
public static String replace(final Object input, final String regex, final String replacement) { if (input == null) { return StringUtil.EMPTY; } return input.toString().replaceAll(regex, replacement); } public static String formatCode(final String prefix, final String style, final String mimetype, final String input) { if (input == null) { return StringUtil.EMPTY;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/HelloWorldApp.java
} public List<String> getPluginList() { return Collections.singletonList(getNormalizedPluginName()); } private String getNormalizedPluginName() { return getSourceType().replaceAll("([a-z])([A-Z])", "$1-$2").toLowerCase(); } public String getPluginScript() { StringBuilder builder = new StringBuilder(); for (String plugin : getPluginList()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.7K bytes - Viewed (0) -
tools/bug-report/pkg/util/path/path.go
path = strings.TrimSuffix(path, pathSeparator) pv := splitEscaped(path, []rune(pathSeparator)[0]) var r []string for _, str := range pv { if str != "" { str = strings.ReplaceAll(str, escapedPathSeparator, pathSeparator) // Is str of the form node[expr], convert to "node", "[expr]"? nBracket := strings.IndexRune(str, '[') if nBracket > 0 { r = append(r, str[:nBracket], str[nBracket:])
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Sep 01 20:55:53 UTC 2020 - 2.2K bytes - Viewed (0) -
src/cmd/go/internal/modload/import_test.go
RootMode = oldRootMode }() allowMissingModuleImports = true RootMode = NoRoot ctx := context.Background() rs := LoadModFile(ctx) for _, tt := range importTests { t.Run(strings.ReplaceAll(tt.path, "/", "_"), func(t *testing.T) { // Note that there is no build list, so Import should always fail. m, err := queryImport(ctx, tt.path, rs) if tt.err == "" { if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 20 15:29:06 UTC 2022 - 2.2K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_cd_gopath_different.txt
import ( "fmt" "os" "os/exec" "strings" ) func main() { dir := os.Args[1] gopath := os.Args[2] switch os.Args[3] { case "IDENTITY": case "REPLACE_SLASH": gopath = strings.ReplaceAll(gopath, `\`, `/`) case "UPPER": gopath = strings.ToUpper(gopath) case "LOWER": gopath = strings.ToLower(gopath) default: fmt.Fprintln(os.Stderr, "bad op"); os.Exit(1) } cmd := exec.Command("go", os.Args[4:]...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 1.8K bytes - Viewed (0)