Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 128 for replaceUrl (0.06 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            project.setGroupId(groupId);
            project.setArtifactId(artifactId);
            return project;
        }
    
        static String stripAnsiCodes(String msg) {
            return msg.replaceAll("\u001b\\[[;\\d]*[ -/]*[@-~]", "");
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    	fmt.Printf("%s\n", bytes.Replace([]byte("oink oink oink"), []byte("oink"), []byte("moo"), -1))
    	// Output:
    	// oinky oinky oink
    	// moo moo moo
    }
    
    func ExampleReplaceAll() {
    	fmt.Printf("%s\n", bytes.ReplaceAll([]byte("oink oink oink"), []byte("oink"), []byte("moo")))
    	// Output:
    	// moo moo moo
    }
    
    func ExampleRunes() {
    	rs := bytes.Runes([]byte("go gopher"))
    	for _, r := range rs {
    		fmt.Printf("%#U\n", r)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                String line;
                while ((line = br.readLine()) != null) {
                    sb.append(line);
                }
            }
            return sb.toString().replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath);
        }
    
        /**
         * Returns the path to the suggest analyzer configuration file.
         * @return The path to the suggest analyzer configuration file.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

         * @return The trimmed value.
         */
        protected String trimSpace(final String value) {
            if (trimSpaceEnabled) {
                final Matcher matcher = SPACE_PATTERN.matcher(value);
                return matcher.replaceAll(" ").trim();
            }
            return value;
        }
    
        /**
         * Adds an attribute to the factory.
         * @param name The name of the attribute.
         * @param value The value of the attribute.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    			buf.WriteByte('\n')
    		}
    	}
    	canonicalHeaders := buf.String()
    
    	// Get signed headers.
    	signedHeaders := strings.Join(headers, ";")
    
    	// Get canonical query string.
    	req.URL.RawQuery = strings.ReplaceAll(req.URL.Query().Encode(), "+", "%20")
    
    	// Get canonical URI.
    	canonicalURI := s3utils.EncodePath(req.URL.Path)
    
    	// Get canonical request.
    	// canonicalRequest =
    	//  <HTTPMethod>\n
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    		partDataToVerID := make(map[string][2]string)
    		var baseName string
    		// versionID ->
    		combineFiles := make(map[string][]string)
    		decode := func(r io.Reader, file string) ([]byte, error) {
    			file = strings.ReplaceAll(file, ":", "_")
    			b, err := io.ReadAll(r)
    			if err != nil {
    				return nil, err
    			}
    			b, _, minor, err := checkXL2V1(b)
    			if err != nil {
    				return nil, err
    			}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                dictionaryPath = dictionaryPath + "/";
            }
            source = source.replaceAll(Pattern.quote("${fess.dictionary.path}"), dictionaryPath)//
                    .replaceAll(Pattern.quote("${fess.index.codec}"), fessConfig.getIndexCodec())//
                    .replaceAll(Pattern.quote("${fess.index.number_of_shards}"), numberOfShards)//
                    .replaceAll(Pattern.quote("${fess.index.auto_expand_replicas}"), autoExpandReplicas);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 122.4K bytes
    - Viewed (1)
  8. src/bytes/bytes.go

    		}
    	}
    	w += copy(t[w:], s[start:])
    	return t[0:w]
    }
    
    // ReplaceAll returns a copy of the slice s with all
    // non-overlapping instances of old replaced by new.
    // If old is empty, it matches at the beginning of the slice
    // and after each UTF-8 sequence, yielding up to k+1 replacements
    // for a k-rune slice.
    func ReplaceAll(s, old, new []byte) []byte {
    	return Replace(s, old, new, -1)
    }
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Sep 16 16:42:15 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            String oldUrl = null;
            while (url.indexOf("/../") >= 0 && !url.equals(oldUrl)) {
                oldUrl = url;
                url = url.replaceFirst("/[^/]+/\\.\\./", "/");
            }
    
            return url.replaceAll("([^:])/+", "$1/");
        }
    
        /**
         * Checks if a path is valid for crawling (not a JavaScript, mailto, or other invalid URL).
         *
         * @param path the path to validate
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

        assertThrows(UnsupportedOperationException.class, () -> unmod.putAll(singletonMap(4, "four")));
        assertThrows(UnsupportedOperationException.class, () -> unmod.replaceAll((k, v) -> v));
        assertThrows(UnsupportedOperationException.class, () -> unmod.putIfAbsent(3, "three"));
        assertThrows(UnsupportedOperationException.class, () -> unmod.replace(3, "three", "four"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top