- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 155 for _Colon (0.11 sec)
-
src/cmd/go/internal/script/engine.go
// (which can change based on its registration). type CondUsage struct { Summary string // a single-line summary of when the condition is true // If Prefix is true, the condition is a prefix and requires a // colon-separated suffix (like "[GOOS:linux]" for the "GOOS" condition). // The suffix may be the empty string (like "[prefix:]"). Prefix bool } // Execute reads and executes script, writing the output to log. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 01:16:19 UTC 2023 - 22.2K bytes - Viewed (0) -
src/testing/testing.go
// under the management of go test. if runtime.GOOS == "windows" && len(path) >= 2 { letter, colon := path[0], path[1] if ('a' <= letter && letter <= 'z' || 'A' <= letter && letter <= 'Z') && colon == ':' { // If path starts with a drive letter we're stuck with it regardless. return path } } if os.IsPathSeparator(path[0]) { return path }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/go/scanner/scanner.go
case '\'': insertSemi = true tok = token.CHAR lit = s.scanRune() case '`': insertSemi = true tok = token.STRING lit = s.scanRawString() case ':': tok = s.switch2(token.COLON, token.DEFINE) case '.': // fractions starting with a '.' are handled by outer switch tok = token.PERIOD if s.ch == '.' && s.peek() == '.' { s.next() s.next() // consume last '.'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 24.3K bytes - Viewed (0) -
src/cmd/go/internal/modindex/build.go
} // #cgo (nocallback|noescape) <function name> if fields := strings.Fields(line); len(fields) == 3 && (fields[1] == "nocallback" || fields[1] == "noescape") { continue } // Split at colon. line, argstr, ok := strings.Cut(strings.TrimSpace(line[4:]), ":") if !ok { return fmt.Errorf("%s: invalid #cgo line: %s", filename, orig) } // Parse GOOS/GOARCH stuff. f := strings.Fields(line)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K bytes - Viewed (0) -
pkg/config/validation/agent/validation_test.go
{"middle dash", "f-oo.bar.com", ""}, {"trailing dot", "foo.bar.com.", ""}, {"prefix dash", "-foo.bar.com", "invalid"}, {"forward slash separated", "foo/bar/com", "invalid"}, {"colon separated", "foo:bar:com", "invalid"}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { err := ValidateTrustDomain(tt.in) if err == nil && tt.err != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 39.1K bytes - Viewed (0) -
src/net/mail/message_test.go
"Feedback-Type": []string{"abuse"}, "User-Agent": []string{"SomeGenerator/1.0"}, "Version": []string{"1"}, }, body: "", }, { // RFC 5322 permits any printable ASCII character, // except colon, in a header key. Issue #58862. in: `From: ******@****.*** Custom/Header: v Body `, header: Header{ "From": []string{"******@****.***"}, "Custom/Header": []string{"v"}, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:31:03 UTC 2024 - 30.4K bytes - Viewed (0) -
pkg/volume/util/util.go
func MakeAbsolutePath(goos, path string) string { if goos != "windows" { return filepath.Clean("/" + path) } // These are all for windows // If there is a colon, give up. if strings.Contains(path, ":") { return path } // If there is a slash, but no drive, add 'c:' if strings.HasPrefix(path, "/") || strings.HasPrefix(path, "\\") { return "c:" + path }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.8K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
rxAsmComment = regexp.MustCompile(`^\s*(.*?)\s*(?://\s*(.+)\s*)?$`) // Regexp to extract an architecture check: architecture name (or triplet), // followed by semi-colon, followed by a comma-separated list of opcode checks. // Extraneous spaces are ignored. // // An example: arm64/v8.1 : -`ADD` , `SUB` // "(\w+)" matches "arm64" (architecture name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stmt.go
// has the type of the expression in the TypeSwitchGuard." if len(cases) != 1 || T == nil { T = x.typ } obj := NewVar(lhs.Pos(), check.pkg, lhs.Value, T) // TODO(mdempsky): Just use clause.Colon? Why did I even suggest // "at the end of the TypeSwitchCase" in go.dev/issue/16794 instead? scopePos := clause.Pos() // for default clause (len(List) == 0) if n := len(cases); n > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git.go
os.RemoveAll(r.dir) return nil, err } } } r.remoteURL = r.remote r.remote = "origin" } else { // Local path. // Disallow colon (not in ://) because sometimes // that's rcp-style host:path syntax and sometimes it's not (c:\work). // The go command has always insisted on URL syntax for ssh. if strings.Contains(remote, ":") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 22:10:38 UTC 2024 - 27.4K bytes - Viewed (0)