Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 357 for rsplit (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/bufio/example_test.go

    	// Set the split function for the scanning operation.
    	scanner.Split(bufio.ScanWords)
    	// Count the words.
    	count := 0
    	for scanner.Scan() {
    		count++
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading input:", err)
    	}
    	fmt.Printf("%d\n", count)
    	// Output: 15
    }
    
    // Use a Scanner with a custom split function (built by wrapping ScanWords) to validate
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                final String[] parts = ipv6Address.split("::");
                final String leftPart = parts.length > 0 && !parts[0].isEmpty() ? parts[0] : "";
                final String rightPart = parts.length > 1 && !parts[1].isEmpty() ? parts[1] : "";
                final int leftCount = leftPart.isEmpty() ? 0 : leftPart.split(":").length;
                final int rightCount = rightPart.isEmpty() ? 0 : rightPart.split(":").length;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. build-logic-commons/code-quality-rules/src/main/resources/classycle/classycle_report_resources.zip

    { text += "<table border=\"1\" cellpadding=\"5\" cellspacing=\"0\">"; if (headers.length > 0) { text += "<tr>"; headerArray = headers.split(","); for (i = 0; i < headerArray.length; i++) { text += "<th>" + headerArray[i] + "</th>"; } text += "</tr>"; } rows = content.split(";"); for (i = 0; i < rows.length; i++) { if (rows[i].length > 0) { columns = rows[i].split(","); text += "<tr>"; for (j = 0; j < columns.length; j++) { text += "<td" + (number.test(columns[j]) ? " align=\"right\">" : ">") + columns[j]...
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 23.4K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/model/BucketExtensions.kt

     */
    
    package model
    
    import java.util.LinkedList
    
    /**
     * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces;
     * if some elements are too small, they will be aggregated by smallElementAggregateFunction.
     *
     * @param list the list to split, must be ordered by size desc
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. src/bufio/scan_test.go

    	// This splitter will fail on last entry, after s.err==EOF.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = ScanWords(data, atEOF)
    		if len(token) > 1 {
    			if s.ErrOrEOF() != io.EOF {
    				t.Fatal("not testing EOF")
    			}
    			err = testError
    		}
    		return
    	}
    	s.Split(split)
    	for s.Scan() {
    	}
    	if s.Err() != testError {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  6. tensorflow/c/c_test_util.cc

      TF_OperationDescription* desc = TF_NewOperation(graph, "Split", name);
      TF_AddInput(desc, {zero, 0});
      TF_AddInput(desc, {input, 0});
      TF_SetAttrInt(desc, "num_split", 3);
      TF_SetAttrType(desc, "T", TF_INT32);
      // Set device to CPU since there is no version of split for int32 on GPU
      // TODO(iga): Convert all these helpers and tests to use floats because
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 17.8K bytes
    - Click Count (1)
  7. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

                    }
                }
                return query;
            }
    
            /**
             * Splits a field name into its components.
             *
             * @param defaultField the default field name
             * @param field the field name to split
             * @return a Pair containing the field name and extension key
             */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            }
            fessConfig = ComponentUtil.getFessConfig();
            split(fessConfig.getSuggestFieldContents(), ",")
                    .of(stream -> stream.filter(StringUtil::isNotBlank).forEach(contentFieldNameSet::add));
            split(fessConfig.getSuggestFieldTags(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(tagFieldNameSet::add));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                    final List<String> sides = split(line, "=>");
                    if (sides.size() > 1) { // explicit mapping
                        if (sides.size() != 2) {
                            throw new DictionaryException("more than one explicit mapping specified on the same line");
                        }
                        final List<String> inputStrings = split(sides.get(0), ",");
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. schema/index.go

    	for _, value := range strings.Split(field.Tag.Get("gorm"), ";") {
    		if value != "" {
    			v := strings.Split(value, ":")
    			k := strings.TrimSpace(strings.ToUpper(v[0]))
    			if k == "INDEX" || k == "UNIQUEINDEX" {
    				var (
    					name       string
    					tag        = strings.Join(v[1:], ":")
    					idx        = strings.IndexByte(tag, ',')
    					tagSetting = strings.Join(strings.Split(tag, ",")[1:], ",")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed May 21 02:35:56 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top