Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for split (0.05 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. 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)
  4. 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)
  5. .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)
  6. .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)
  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. src/main/java/org/codelibs/core/stream/StreamUtil.java

         */
        public static StreamOf<String> split(final String value, final String regex) {
            return stream(value == null ? null : value.split(regex));
        }
    
        /**
         * Creates a stream of map entries from the given map.
         *
         * @param <K> the type of keys in the map
         * @param <V> the type of values in the map
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. cmd/admin-server-info.go

    	}
    	for _, v := range os.Environ() {
    		if !strings.HasPrefix(v, "MINIO") && !strings.HasPrefix(v, "_MINIO") {
    			continue
    		}
    		split := strings.SplitN(v, "=", 2)
    		key := split[0]
    		value := ""
    		if len(split) > 1 {
    			value = split[1]
    		}
    
    		// Do not send sensitive creds.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (1)
  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:], ",")
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 21 02:35:56 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top