Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for replaceAll (0.27 sec)

  1. src/main/java/org/codelibs/fess/es/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);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

        }
    
        @Override
        protected FormatType detectFormatType(final HttpServletRequest request) {
            final String servletPath = request.getServletPath();
            final String[] values = servletPath.replaceAll("/+", "/").split("/");
            final String value = values.length > 3 ? values[3] : null;
            if (value == null) {
                return FormatType.SEARCH;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/MapsTest.java

        try {
          unmod.putAll(Collections.singletonMap(4, "four"));
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.replaceAll((k, v) -> v);
          fail("UnsupportedOperationException expected");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          unmod.putIfAbsent(3, "three");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  5. 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) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  6. 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
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  7. cmd/bucket-handlers.go

    	if fileName != "" && strings.Contains(formValues.Get("Key"), "${filename}") {
    		// S3 feature to replace ${filename} found in Key form field
    		// by the filename attribute passed in multipart
    		formValues.Set("Key", strings.ReplaceAll(formValues.Get("Key"), "${filename}", fileName))
    	}
    	object := trimLeadingSlash(formValues.Get("Key"))
    
    	successRedirect := formValues.Get("success_action_redirect")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                    if (name.charAt(i) != ' ') {
                        break;
                    }
                    suffix.append("%20");
                }
                name = name.replaceAll(" +$", suffix.toString());
            }
            return "URL:" + name.replace("?", "%3f");
        }
    
    
        /**
         * @return
         */
        private static boolean isWorkgroup ( SmbResource r ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  9. 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) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 85K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(
                    32 * 1024,
                    pom.getValue("properties/prop2")
                            .toString()
                            .trim()
                            .replaceAll("[\n\r]", "")
                            .length());
        }
    
        @Test
        void testFullInterpolationOfNestedExpressions() throws Exception {
            PomTestWrapper pom = buildPom("full-interpolation");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
Back to top