- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for splitQuoted (0.15 sec)
-
src/cmd/go/internal/modindex/build.go
ok := false for _, c := range cond { if ctxt.matchAuto(c, nil) { ok = true break } } if !ok { continue } } args, err := splitQuoted(argstr) if err != nil { return fmt.Errorf("%s: invalid #cgo line: %s", filename, orig) } for i, arg := range args { if arg, ok = expandSrcDir(arg, di.Dir); !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 17:39:23 UTC 2023 - 26.8K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
if ok, why := shouldTest(header, goos, goarch); !ok { t.Skip(why) } var args, flags, runenv []string var tim int wantError := false wantAuto := false singlefilepkgs := false f, err := splitQuoted(action) if err != nil { t.Fatal("invalid test recipe:", err) } if len(f) > 0 { action = f[0] args = f[1:] } // TODO: Clean up/simplify this switch statement. switch action {
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/go/build/build.go
ok := false for _, c := range cond { if ctxt.matchAuto(c, nil) { ok = true break } } if !ok { continue } } args, err := splitQuoted(argstr) if err != nil { return fmt.Errorf("%s: invalid #cgo line: %s", filename, orig) } for i, arg := range args { if arg, ok = expandSrcDir(arg, di.Dir); !ok {
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/cmd/cgo/gcc.go
if !strings.HasPrefix(arg, "-g") { p.GccOptions = append(p.GccOptions, arg) } } } if flag == "LDFLAGS" { p.LdFlags = append(p.LdFlags, args...) } } // splitQuoted splits the string s around each instance of one or more consecutive // white space characters while taking into account quotes and escaping, and // returns an array of substrings of s or an empty list if s contains only white space.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0)