Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 125 for replaceAll (1.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava/src/com/google/common/collect/Maps.java

          checkArgument(apply(key, value));
          return unfiltered().forcePut(key, value);
        }
    
        @Override
        public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
          unfiltered()
              .replaceAll(
                  (key, value) ->
                      predicate.apply(Maps.<K, V>immutableEntry(key, value))
                          ? function.apply(key, value)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    			return cmdLine
    		}
    
    		if !globalIsDistErasure {
    			// FS mode - single server - hard code to `server1`
    			anonCmdLine := strings.ReplaceAll(cmdLine, globalLocalNodeName, "server1")
    			if len(globalMinioConsoleHost) > 0 {
    				anonCmdLine = strings.ReplaceAll(anonCmdLine, globalMinioConsoleHost, "server1")
    			}
    			return anonCmdLine
    		}
    
    		// Server start command regex groups:
    		// 1 - minio server
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 99.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    String url = requestData.getUrl();
                    for (final Map.Entry<String, String> entry : convertUrlMap.entrySet()) {
                        url = url.replaceAll(entry.getKey(), entry.getValue());
                    }
                    url = pathMappingHelper.replaceUrl(url);
                    requestData.setUrl(replaceDuplicateHost(url));
                }
            }
            return urlList;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  10. src/archive/zip/reader.go

    func (f *fileListEntry) String() string {
    	return fs.FormatDirEntry(f)
    }
    
    // toValidName coerces name to be a valid name for fs.FS.Open.
    func toValidName(name string) string {
    	name = strings.ReplaceAll(name, `\`, `/`)
    	p := path.Clean(name)
    
    	p = strings.TrimPrefix(p, "/")
    
    	for strings.HasPrefix(p, "../") {
    		p = p[len("../"):]
    	}
    
    	return p
    }
    
    func (r *Reader) initFileList() {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
Back to top