Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 478 for replaceable (0.21 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/SampleOutputNormalizer.groovy

            commandOutput = commandOutput.replaceAll(escapedFilePath, NORMALIZED_SAMPLES_PATH)
    
            // Replace sample project dir clickable file:/// URLs
            String escapedFileUrl = Pattern.quote(new ConsoleRenderer().asClickableFileUrl(executionMetadata.tempSampleProjectDir))
            commandOutput = commandOutput.replaceAll(escapedFileUrl, NORMALIZED_SAMPLES_FILE_URL)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskRelocationIntegrationTest.groovy

            def contents = normaliseLineSeparators(projectDir.file("build/reports/tests/test/index.html").text)
            contents = contents.replaceAll(/(<a href=".*">Gradle .*?<\/a>) at [^<]+/, '$1 at [DATE]' )
            contents = contents.replaceAll(/\b\d+(\.\d+)?s\b/, "[TIME]")
            return contents
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/PlatformInOutputNormalizer.groovy

                return archProperty
            }
        }
    
        @Override
        String normalize(String commandOutput, ExecutionMetadata executionMetadata) {
            return commandOutput
                .replaceAll(arch, "%ARCH%")
                .replaceAll(os.name(), "%OS%")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/OutputDirSelectorUtil.java

     */
    public class OutputDirSelectorUtil {
    
        public static String fileSafeNameFor(String name) {
            String fileSafeName = name.trim().replaceAll("[^a-zA-Z0-9.-]", "-").replaceAll("-+", "-");
            return (fileSafeName.endsWith("-"))
                ? fileSafeName.substring(0, fileSafeName.length() - 1)
                : fileSafeName;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    buf.append('\t').append("action:begin");
                    buf.append('\t').append("error:").append(escapeValue(e.getLocalizedMessage()).replaceAll("\\s", " "));
                    log(buf);
                }
            });
        }
    
        public void record(final Object keyObj, final StatsAction action) {
            record(keyObj, action.name().toLowerCase(Locale.ENGLISH));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

            return replaceAll(Pattern.compile(regex), inString, byString);
        }
    
        private static String replaceAll(Pattern pattern, CharSequence inString, String byString) {
            return pattern.matcher(inString).replaceAll(byString);
        }
    
        /**
         * Converts all line separators in the specified string to the platform's line separator.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/VersionCatalogDependencyRegistry.java

            return "libs." + libraryEntry.alias.replaceAll("-", ".");
        }
    
        public String registerPlugin(String pluginId, String version) {
            String alias = fullyQualifiedAliases ? coordinatesToAlias(pluginId) : pluginIdToAlias(pluginId);
            PluginEntry pluginEntry = findOrCreatePluginEntry(alias, pluginId, version);
            return "libs.plugins." + pluginEntry.alias.replaceAll("-", ".");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs-asciidoctor-extensions-base/src/main/java/org/gradle/docs/asciidoctor/IdGenerator.java

            String result = source.toLowerCase();
    
            // replace invalid characters
            result = ID_PATTERN.matcher(result).replaceAll("");
    
            // normalize separators
            result = SEPARATOR_PATTERN.matcher(result).replaceAll(PART_SEPARATOR);
    
            // strip separator from the end
            if (result.endsWith(PART_SEPARATOR)) {
                result = result.substring(0, result.length() - 1);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top