Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 148 for Split (0.02 sec)

  1. .github/workflows/extract-unit-test-split.jq

    Stefan Wolf <******@****.***> 1633938695 +0200
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 11 08:08:26 UTC 2021
    - 171 bytes
    - Viewed (0)
  2. 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
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. 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;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (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
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. .teamcity/src/test/kotlin/SplitBucketTest.kt

                splitIntoBuckets(
                    list = subprojects,
                    toIntFunction = { it: Subproject -> it.size },
                    largeElementSplitFunction = { subproject, split ->
                        List(split) { LargeSubprojectSplit(subproject, split) }
                    },
                    smallElementAggregateFunction = { SmallSubprojectCombination(it) },
                    expectedBucketNumber = 5,
                    maxNumberInBucket = 3,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser.go

    	signedHdrFields := strings.Split(strings.TrimSpace(signedHdrElement), "=")
    	if len(signedHdrFields) != 2 {
    		return nil, ErrMissingFields
    	}
    	if signedHdrFields[0] != "SignedHeaders" {
    		return nil, ErrMissingSignHeadersTag
    	}
    	if signedHdrFields[1] == "" {
    		return nil, ErrMissingFields
    	}
    	signedHeaders := strings.Split(signedHdrFields[1], ";")
    	return signedHeaders, ErrNone
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:35 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/JvmUtil.java

            int version = 8;
            if (javaVersion != null) {
                final String[] split = javaVersion.split("[\\._]");
                if (split.length > 0) {
                    version = Integer.parseInt(split[0]);
                    if (version == 1 && split.length > 1) {
                        version = Integer.parseInt(split[1]);
                    }
                }
            }
            return version;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. 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:], ",")
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 21 02:35:56 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/bytes/iter.go

    // The iterator yields the same subslices that would be returned by [Split](s, sep),
    // but without constructing a new slice containing the subslices.
    // It returns a single-use iterator.
    func SplitSeq(s, sep []byte) iter.Seq[[]byte] {
    	return splitSeq(s, sep, 0)
    }
    
    // SplitAfterSeq returns an iterator over subslices of s split after each instance of sep.
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.base.login;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.entity.FessUser;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top