- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for _Colon (0.11 sec)
-
src/cmd/compile/internal/syntax/parser.go
} // x[i:... // For better error message, don't simply use p.want(_Colon) here (go.dev/issue/47704). if !p.got(_Colon) { p.syntaxError("expected comma, : or ]") p.advance(_Comma, _Colon, _Rbrack) } p.xnest++ t := new(SliceExpr) t.pos = pos t.X = x t.Index[0] = i if p.tok != _Colon && p.tok != _Rbrack { // x[i:j... t.Index[1] = p.expr() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/net/url/url_test.go
{"http://[::1]/", false}, {"http://[::1]a", true}, {"http://[::1]%23", true}, {"http://[::1%25en0]", false}, // valid zone id {"http://[::1]:", false}, // colon, but no port OK {"http://x:", false}, // colon, but no port OK {"http://[::1]:%38%30", true}, // not allowed: % encoding only for non-ASCII {"http://[::1%25%41]", false}, // RFC 6874 allows over-escaping in zone
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:52:38 UTC 2024 - 52.1K bytes - Viewed (0) -
src/net/netip/netip_test.go
// IPv6 with invalid embedded IPv4. "::ffff:192.168.140.bad", // IPv6 with multiple ellipsis ::. "fe80::1::1", // IPv6 with invalid non hex/colon character. "fe80:1?:1", // IPv6 with truncated bytes after single colon. "fe80:", // IPv6 with 5 zeros in last group "0:0:0:0:0:ffff:0:00000", // IPv6 with 5 zeros in one group and embedded IPv4 "0:0:0:0:00000:ffff:127.1.2.3", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K 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) -
hack/local-up-cluster.sh
warning_log "etcd terminated unexpectedly" ETCD_PID= fi } function print_color { message=$1 prefix=${2:+$2: } # add colon only if defined color=${3:-1} # default is red echo -n "$(tput bold)$(tput setaf "${color}")" echo "${prefix}${message}" echo -n "$(tput sgr0)" } function warning_log {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 25 02:33:52 UTC 2024 - 53.3K bytes - Viewed (0) -
src/reflect/type.go
// optionally space-separated key:"value" pairs. // Each key is a non-empty string consisting of non-control // characters other than space (U+0020 ' '), quote (U+0022 '"'), // and colon (U+003A ':'). Each value is quoted using U+0022 '"' // characters and Go string literal syntax. type StructTag string // Get returns the value associated with key in the tag string.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/net/http/request.go
// // With HTTP Basic Authentication the provided username and password // are not encrypted. It should generally only be used in an HTTPS // request. // // The username may not contain a colon. Some protocols may impose // additional requirements on pre-escaping the username and // password. For instance, when used with OAuth2, both arguments must // be URL encoded first with [url.QueryEscape].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0) -
src/go/build/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.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/os/os_test.go
if err := WriteFile(filepath.Join(d, "control.txt"), []byte(string("Hello, world!")), 0644); err != nil { t.Fatal(err) } if err := WriteFile(filepath.Join(d, `e:xperi\ment.txt`), []byte(string("Hello, colon and backslash!")), 0644); err != nil { t.Fatal(err) } fsys := DirFS(d) err := fs.WalkDir(fsys, ".", func(path string, e fs.DirEntry, err error) error { if fs.ValidPath(e.Name()) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0)