Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 119 for ReplaceAll (0.09 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                for (final RequestData requestData : urlList) {
                    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));
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  5. cmd/utils.go

    func dumpRequest(r *http.Request) string {
    	header := r.Header.Clone()
    	header.Set("Host", r.Host)
    	// Replace all '%' to '%%' so that printer format parser
    	// to ignore URL encoded values.
    	rawURI := strings.ReplaceAll(r.RequestURI, "%", "%%")
    	req := struct {
    		Method     string      `json:"method"`
    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}{r.Method, rawURI, header}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  6. 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableList.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void replaceAll(UnaryOperator<E> operator) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the list unmodified.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    if (v1.length == 2) {
                        final String[] v2 = v1[0].split(":", 2);
                        if (v2.length == 2) {
                            return new Tuple3<>(v2[0].trim(), v2[1].trim(), v1[1].replaceAll("[^a-zA-Z0-9_]", StringUtil.EMPTY).trim());
                        }
                    }
                    return null;
                }).filter(v -> {
                    if (v == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    			t.Errorf("Replace(%q, %q, %q, %d) didn't copy", tt.in, tt.old, tt.new, tt.n)
    		}
    		if tt.n == -1 {
    			out := ReplaceAll(in, []byte(tt.old), []byte(tt.new))
    			if s := string(out); s != tt.out {
    				t.Errorf("ReplaceAll(%q, %q, %q) = %q, want %q", tt.in, tt.old, tt.new, s, tt.out)
    			}
    		}
    	}
    }
    
    type TitleTest struct {
    	in, out string
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                return replaceWithUnderscores(value);
            }
            return value;
        }
    
        protected String replaceWithUnderscores(final String value) {
            return value.replaceAll("[/\\\\\\[\\]:;|=,+\\*?<>]", "_");
        }
    
        protected void setAttributeValue(final List<SearchResult> result, final String name, final Consumer<Object> consumer) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top