- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for stringList (0.69 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/DefaultTypeMetadataStore.java
return Collectors.collectingAndThen(Collectors.toList(), stringList -> { if (stringList.isEmpty()) { return ""; } if (stringList.size() == 1) { return stringList.get(0); } int bound = stringList.size() - 1; return String.join(", ", stringList.subList(0, bound)) + " or " + stringList.get(bound); }); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 14.9K bytes - Viewed (0) -
pkg/model/proxy.go
"istio.io/istio/pkg/network" "istio.io/istio/pkg/util/protomarshal" ) // StringList is a list that will be marshaled to a comma separate string in Json type StringList []string func (l StringList) MarshalJSON() ([]byte, error) { if l == nil { return nil, nil } return json.Marshal(strings.Join(l, ",")) } func (l *StringList) UnmarshalJSON(data []byte) error { var inner string err := json.Unmarshal(data, &inner)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 17:18:17 UTC 2024 - 18.7K bytes - Viewed (0) -
src/cmd/go/internal/load/test.go
// but we insert at the beginning there too just for consistency. ptest.Imports = str.StringList(p.TestImports, p.Imports) ptest.Internal.Imports = append(imports, p.Internal.Imports...) ptest.Internal.RawImports = str.StringList(rawTestImports, p.Internal.RawImports) ptest.Internal.ForceLibrary = true ptest.Internal.BuildInfo = nil ptest.Internal.Build = new(build.Package)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
src/cmd/go/internal/work/gc.go
if err != nil { return err } if !bytes.Equal(data1, data2) { return fmt.Errorf("%s and %s produced different output files:\n%s\n%s", filepath.Base(args[1].(string)), newTool, strings.Join(str.StringList(args...), " "), strings.Join(str.StringList(newArgs...), " ")) } os.Remove(ofile + ".new") return nil } func (gcToolchain) pack(b *Builder, a *Action, afile string, ofiles []string) error { var absOfiles []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 15:37:44 UTC 2024 - 23K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
Int(name string, def int, usage string) *int Float64(name string, def float64, usage string) *float64 String(name string, def string, usage string) *string // StringList is similar to String but allows multiple values for a // single flag StringList(name string, def string, usage string) *[]*string // ExtraUsage returns any additional text that should be printed after the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 7.9K bytes - Viewed (0) -
src/cmd/go/internal/work/buildid.go
// for testing vet or supplying an alternative analysis tool. if name == "vet" && VetTool != "" { path = VetTool desc = VetTool } cmdline := str.StringList(cfg.BuildToolexec, path, "-V=full") cmd := exec.Command(cmdline[0], cmdline[1:]...) var stdout, stderr strings.Builder cmd.Stdout = &stdout cmd.Stderr = &stderr if err := cmd.Run(); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:31:25 UTC 2024 - 26.2K bytes - Viewed (0) -
src/cmd/go/internal/work/gccgo.go
gcargs = append(gcargs, "-fgo-pkgpath="+pkgpath) } if p.Internal.LocalPrefix != "" { gcargs = append(gcargs, "-fgo-relative-import-path="+p.Internal.LocalPrefix) } args := str.StringList(tools.compiler(), "-c", gcargs, "-o", ofile, forcedGccgoflags) if importcfg != nil { if b.gccSupportsFlag(args[:1], "-fgo-importcfg=/dev/null") { if err := sh.writeFile(objdir+"importcfg", importcfg); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:18:34 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/driver/driver.go
Int(name string, def int, usage string) *int Float64(name string, def float64, usage string) *float64 String(name string, def string, usage string) *string // StringList is similar to String but allows multiple values for a // single flag StringList(name string, def string, usage string) *[]*string // ExtraUsage returns any additional text that should be printed after the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 9.8K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
if dir != "" { if err := sh.Mkdir(dir); err != nil { return err } } gofiles := str.StringList(p.GoFiles) cgofiles := str.StringList(p.CgoFiles) cfiles := str.StringList(p.CFiles) sfiles := str.StringList(p.SFiles) cxxfiles := str.StringList(p.CXXFiles) var objects, cgoObjects, pcCFLAGS, pcLDFLAGS []string if p.UsesCgo() || p.UsesSwig() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/go/internal/base/base.go
} // Run runs the command, with stdout and stderr // connected to the go command's own stdout and stderr. // If the command fails, Run reports the error using Errorf. func Run(cmdargs ...any) { cmdline := str.StringList(cmdargs...) if cfg.BuildN || cfg.BuildX { fmt.Printf("%s\n", strings.Join(cmdline, " ")) if cfg.BuildN { return } } cmd := exec.Command(cmdline[0], cmdline[1:]...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 5.3K bytes - Viewed (0)