Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for replaceable (0.18 sec)

  1. 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)
  2. 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)
  3. src/regexp/example_test.go

    	re := regexp.MustCompile(`a(x*)b`)
    	fmt.Printf("%s\n", re.ReplaceAll([]byte("-ab-axxb-"), []byte("T")))
    	fmt.Printf("%s\n", re.ReplaceAll([]byte("-ab-axxb-"), []byte("$1")))
    	fmt.Printf("%s\n", re.ReplaceAll([]byte("-ab-axxb-"), []byte("$1W")))
    	fmt.Printf("%s\n", re.ReplaceAll([]byte("-ab-axxb-"), []byte("${1}W")))
    
    	re2 := regexp.MustCompile(`a(?P<1W>x*)b`)
    	fmt.Printf("%s\n", re2.ReplaceAll([]byte("-ab-axxb-"), []byte("$1W")))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:22:53 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            "keys()"                                  | call(p -> p.keys())
            "elements()"                              | call(p -> p.elements())
            "replaceAll(BiFunction)"                  | call(p -> p.replaceAll((k, v) -> v))
            "save(OutputStream, String)"              | call(p -> p.save(ByteStreams.nullOutputStream(), ""))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/ResourceVersionLister.java

            }
            namePattern = namePattern.replaceAll("\\.", "\\\\.");
            String acceptNamePattern = namePattern.replaceAll("\\[revision]", "(.+)");
            return Pattern.compile(acceptNamePattern);
        }
    
        private Pattern toControlRegexPattern(String pattern) {
            pattern = pattern.replaceAll("\\.", "\\\\.");
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

                .replaceAll(/Calculating task graph as no cached configuration is available for tasks: ${task}.*\n/, '')
                .replaceAll(/Configuration cache entry stored.\n/, '')
    
            when:
            configurationCacheRun(task, *options)
            def secondRunOutput = removeVfsLogOutput(result.normalizedOutput)
                .replaceAll(/Reusing configuration cache.\n/, '')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/mime/multipart/formdata_test.go

    package multipart
    
    import (
    	"bytes"
    	"fmt"
    	"io"
    	"math"
    	"net/textproto"
    	"os"
    	"strings"
    	"testing"
    )
    
    func TestReadForm(t *testing.T) {
    	b := strings.NewReader(strings.ReplaceAll(message, "\n", "\r\n"))
    	r := NewReader(b, boundary)
    	f, err := r.ReadForm(25)
    	if err != nil {
    		t.Fatal("ReadForm:", err)
    	}
    	defer f.RemoveAll()
    	if g, e := f.Value["texta"][0], textaValue; g != e {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

            'keyWithNonStringValue' | NON_STRING_VALUE      | null             | false
        }
    
        def "replaceAll() uses equals for primitive wrappers and Strings"() {
            def map = getMapUnderTestToWrite(intValue: 100500, stringValue: "value")
            when:
            map.replaceAll { k, v ->
                switch (k) {
                    case "intValue": return Integer.valueOf((int) v)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/shell.go

    }
    
    // replacePrefix is like strings.ReplaceAll, but only replaces instances of old
    // that are preceded by ' ', '\t', or appear at the beginning of a line.
    func replacePrefix(s, old, new string) string {
    	n := strings.Count(s, old)
    	if n == 0 {
    		return s
    	}
    
    	s = strings.ReplaceAll(s, " "+old, " "+new)
    	s = strings.ReplaceAll(s, "\n"+old, "\n"+new)
    	s = strings.ReplaceAll(s, "\n\t"+old, "\n\t"+new)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/catalog/problems/VersionCatalogErrorMessages.groovy

            String actual = normaliseLineSeparators(rawActual).replaceAll("(?m)^( +)\n", "\n").trim()
            String expected = normaliseLineSeparators(rawExpected).replaceAll("(?m)^( +)\n", "\n").trim()
            assert actual == expected
        }
    
        void verifyContains(String rawActual, String rawExpected) {
            String actual = normaliseLineSeparators(rawActual).replaceAll("(?m)^( +)\n", "\n").trim()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 14:11:31 UTC 2023
    - 17.8K bytes
    - Viewed (0)
Back to top