Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 203 for SplitN (6.41 sec)

  1. src/archive/zip/reader.go

    			}
    		}
    
    		sort.Slice(r.fileList, func(i, j int) bool { return fileEntryLess(r.fileList[i].name, r.fileList[j].name) })
    	})
    }
    
    func fileEntryLess(x, y string) bool {
    	xdir, xelem, _ := split(x)
    	ydir, yelem, _ := split(y)
    	return xdir < ydir || xdir == ydir && xelem < yelem
    }
    
    // Open opens the named file in the ZIP archive,
    // using the semantics of fs.FS.Open:
    // paths are always slash separated, with no
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.regex.Pattern;
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            if (StringUtil.isBlank(value)) {
                return Collections.emptyList();
            }
            return split(value, ",").get(stream -> stream.map(String::trim)//
                    .map(s -> clientRuleCache.computeIfAbsent(s, t -> {
                        final String[] values = t.split(":", 2);
                        if (values.length != 2) {
                            return null;
                        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. internal/logger/logger.go

    	// Add all possible GOPATH paths into trimStrings
    	// Split GOPATH depending on the OS type
    	if runtime.GOOS == "windows" {
    		pathSeparator = ";"
    	}
    
    	goPathList = strings.Split(goPath, pathSeparator)
    	goRootList = strings.Split(goRoot, pathSeparator)
    	defaultgoPathList = strings.Split(build.Default.GOPATH, pathSeparator)
    	defaultgoRootList = strings.Split(build.Default.GOROOT, pathSeparator)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    			if err != nil {
    				return err
    			}
    			split, err := rs.Split(mapped)
    			if err != nil {
    				return err
    			}
    			splitFilled, err := rs.Split(filled)
    			if err != nil {
    				return err
    			}
    			ok := len(splitFilled)
    			for i, sh := range splitFilled {
    				for _, v := range sh {
    					if v == 0 {
    						split[i] = nil
    						ok--
    						break
    					}
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

            if (form.token != null && form.token.split(" ").length > 1) {
                throwValidationError(messages -> {
                    messages.addErrorsInvalidKuromojiToken("token", form.token);
                }, this::asEditHtml);
            }
            if (form.segmentation != null && form.reading != null && form.segmentation.split(" ").length != form.reading.split(" ").length) {
                throwValidationError(messages -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    import java.util.regex.Pattern;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    		return nil, fmt.Errorf("pattern %s did not match", slp)
    	}
    	scopeLogLevel := strings.Split(slp, ":")
    	s := &ScopeLevelPair{
    		scope:    scopeLogLevel[0],
    		logLevel: scopeLogLevel[1],
    	}
    	return s, nil
    }
    
    func newScopeInfosFromScopeLevelPairs(scopeLevelPairs string) ([]*ScopeInfo, error) {
    	slParis := strings.Split(scopeLevelPairs, ",")
    	var scopeInfos []*ScopeInfo
    	for _, slp := range slParis {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            List<Map<String, Object>> docs = JsonPath.from(response).getList("data");
            for (Map<String, Object> doc : docs) {
                for (String keyword : query.split(" ")) {
                    assertTrue(doc.entrySet().stream()
                            .anyMatch(entry -> entry.getValue().toString().toLowerCase().contains(keyword.toLowerCase())), doc.toString());
                }
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18.6K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

                if (StringUtil.isNotBlank(getIncludedDocUrls())) {
                    final List<Pattern> urlPatterList = new ArrayList<>();
                    final String[] urls = getIncludedDocUrls().split("[\r\n]");
                    for (final String u : urls) {
                        final String v = systemHelper.normalizeConfigPath(u);
                        if (StringUtil.isNotBlank(v)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top