- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,182 for SplitV (0.2 sec)
-
src/runtime/lockrank_on.go
return l.rank } // lockWithRank is like lock(l), but allows the caller to specify a lock rank // when acquiring a non-static lock. // // Note that we need to be careful about stack splits: // // This function is not nosplit, thus it may split at function entry. This may // introduce a new edge in the lock order, but it is no different from any // other (nosplit) call before this call (including the call to lock() itself). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 10.6K bytes - Viewed (0) -
pilot/cmd/pilot-agent/options/agent.go
func extractXDSHeadersFromEnv(o *istioagent.AgentOptions) { envs := os.Environ() for _, e := range envs { if strings.HasPrefix(e, xdsHeaderPrefix) { parts := strings.SplitN(e, "=", 2) if len(parts) != 2 { continue } o.XDSHeaders[parts[0][len(xdsHeaderPrefix):]] = parts[1] } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 3.4K bytes - Viewed (0) -
src/runtime/testdata/testprog/syscalls_linux.go
return false, false, fmt.Errorf("unexpected status file format: %s:\n%s", statusFile, status) } stateLine := bytes.SplitN(lines[stateLineIdx], []byte{':'}, 2) if len(stateLine) != 2 { // Malformed status file? return false, false, fmt.Errorf("unexpected status file format: %s:\n%s", statusFile, status) } // Check if it's a zombie thread. return !bytes.Contains(stateLine[1], []byte{'Z'}), true, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:00:09 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/signature-v4-parser.go
creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2) if len(creds) != 2 { return ch, ErrMissingFields } if creds[0] != "Credential" { return ch, ErrMissingCredTag } credElements := strings.Split(strings.TrimSpace(creds[1]), SlashSeparator) if len(credElements) < 5 { return ch, ErrCredMalformed }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/leak-detect_test.go
buf := debug.Stack() // runtime stack of go routines will be listed with 2 blank spaces between each of them, so split on "\n\n" . for _, g := range strings.Split(string(buf), "\n\n") { // Again split on a new line, the first line of the second half contains the info about the go routine. sl := strings.SplitN(g, "\n", 2) if len(sl) != 2 { continue } stack := strings.TrimSpace(sl[1])
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0) -
src/go/types/eval_test.go
str, typ := split(s[2:len(s)-2], ", ") str, val := split(str, "=>") testEval(t, fset, pkg, comment.Pos(), str, nil, typ, val) } } } } } // gotypesalias controls the use of Alias types. var gotypesalias = godebug.New("#gotypesalias") // split splits string s at the first occurrence of s, trimming spaces. func split(s, sep string) (string, string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 19:56:15 UTC 2024 - 8.3K bytes - Viewed (0) -
internal/arn/arn.go
// the ARN would not match any configured ARNs in the server. if ps[4] != "" { err = errors.New("invalid ARN - unsupported account-id field") return } res := strings.SplitN(ps[5], "/", 2) if len(res) != 2 { err = errors.New("invalid ARN - resource does not contain a \"/\"") return } if res[0] != string(arnResourceTypeRole) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 3.5K bytes - Viewed (0) -
src/path/filepath/path.go
return filepathlite.FromSlash(path) } // SplitList splits a list of paths joined by the OS-specific [ListSeparator], // usually found in PATH or GOPATH environment variables. // Unlike strings.Split, SplitList returns an empty slice when passed an empty // string. func SplitList(path string) []string { return splitList(path) } // Split splits path immediately following the final [Separator],
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
val csvLines = scenarios.map { "${it.className};${it.scenario}" } val action = "include" val fileNamePostfix = "$testProject-performance-scenarios.csv" val performanceTestSplitDirectoryName = "performance-test-splits" val unixScript = """ mkdir -p $performanceTestSplitDirectoryName rm -rf $performanceTestSplitDirectoryName/*-$fileNamePostfix cat > $performanceTestSplitDirectoryName/$action-$fileNamePostfix << EOL
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 19 11:22:56 UTC 2024 - 15.3K bytes - Viewed (0) -
src/embed/embed.go
// the relevant sequence of entries. files *[]file } // split splits the name into dir and elem as described in the // comment in the FS struct above. isDir reports whether the // final trailing slash was present, indicating that name is a directory. func split(name string) (dir, elem string, isDir bool) { name, isDir = stringslite.CutSuffix(name, "/")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:42:51 UTC 2024 - 13.5K bytes - Viewed (0)