Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,373 for split3 (0.13 sec)

  1. pkg/test/echo/parse.go

    	}
    
    	for _, l := range strings.Split(output, "\n") {
    		prefixSplit := strings.Split(l, "body] ")
    		if len(prefixSplit) != 2 {
    			continue
    		}
    		kv := strings.SplitN(prefixSplit[1], "=", 2)
    		if len(kv) != 2 {
    			continue
    		}
    		out.rawBody[kv[0]] = kv[1]
    	}
    
    	return out
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 23 22:25:46 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/pathelement.go

    func NewPathElement(s string) (fieldpath.PathElement, error) {
    	split := strings.SplitN(s, Separator, 2)
    	if len(split) < 2 {
    		return fieldpath.PathElement{}, fmt.Errorf("missing colon: %v", s)
    	}
    	switch split[0] {
    	case Field:
    		return fieldpath.PathElement{
    			FieldName: &split[1],
    		}, nil
    	case Value:
    		val, err := value.FromJSON([]byte(split[1]))
    		if err != nil {
    			return fieldpath.PathElement{}, err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. src/cmd/internal/quoted/quoted.go

    func isSpaceByte(c byte) bool {
    	return c == ' ' || c == '\t' || c == '\n' || c == '\r'
    }
    
    // Split splits s into a list of fields,
    // allowing single or double quotes around elements.
    // There is no unescaping or other processing within
    // quoted fields.
    //
    // Keep in sync with cmd/dist/quoted.go
    func Split(s string) ([]string, error) {
    	// Split fields allowing '' or "" around elements.
    	// Quotes further inside the string do not count.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:04:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. src/strings/strings.go

    	return genSplit(s, sep, len(sep), n)
    }
    
    // Split slices s into all substrings separated by sep and returns a slice of
    // the substrings between those separators.
    //
    // If s does not contain sep and sep is not empty, Split returns a
    // slice of length 1 whose only element is s.
    //
    // If sep is empty, Split splits after each UTF-8 sequence. If both s
    // and sep are empty, Split returns an empty slice.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/NMToolFixture.groovy

                // Looks like on Linux:
                // _main t 0 0
                //
                // Looks like on Windows (MinGW):
                // main T 0000000000401550
                def splits = line.split(' ')
                String name = splits[0]
                char type = splits[1].getChars()[0]
                return new BinaryInfo.Symbol(name, type, Character.isUpperCase(type))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. .github/workflows/extract-unit-test-split.jq

    Stefan Wolf <******@****.***> 1633938695 +0200
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 11 08:08:26 UTC 2021
    - 171 bytes
    - Viewed (0)
  7. pkg/util/procfs/procfs_linux.go

    )
    
    // ProcFS provides a helper for getting container name via pid.
    type ProcFS struct{}
    
    func containerNameFromProcCgroup(content string) (string, error) {
    	lines := strings.Split(content, "\n")
    	for _, line := range lines {
    		entries := strings.SplitN(line, ":", 3)
    		if len(entries) == 3 && entries[1] == "devices" {
    			return strings.TrimSpace(entries[2]), nil
    		}
    	}
    	return "", fmt.Errorf("could not find devices cgroup location")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/rbac/rbac_test.go

    			Name:     roleName,
    		},
    	}
    
    	r.Subjects = make([]rbacv1.Subject, len(subjects))
    	for i, subject := range subjects {
    		split := strings.SplitN(subject, ":", 2)
    		r.Subjects[i].Kind, r.Subjects[i].Name = split[0], split[1]
    
    		switch r.Subjects[i].Kind {
    		case rbacv1.ServiceAccountKind:
    			r.Subjects[i].APIGroup = ""
    		case rbacv1.UserKind, rbacv1.GroupKind:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 21.1K bytes
    - Viewed (0)
  10. src/math/fma.go

    	// x and y are finite, but z is infinite, should always result in z.
    	if bz&uvinf == uvinf {
    		return z
    	}
    
    	// Inputs are (sub)normal.
    	// Split x, y, z into sign, exponent, mantissa.
    	xs, xe, xm := split(bx)
    	ys, ye, ym := split(by)
    	zs, ze, zm := split(bz)
    
    	// Compute product p = x*y as sign, exponent, two-word mantissa.
    	// Start with exponent. "is normal" bit isn't subtracted yet.
    	pe := xe + ye - bias + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 05 22:05:30 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top