- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,122 for stringy (0.09 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go
Run: run, } // describe returns a string describing the type typ contained within the type // set of inType. If non-empty, inName is used as the name of inType (this is // necessary so that we can use alias type names that may not be reachable from // inType itself). func describe(typ, inType types.Type, inName string) string { name := inName if typ != inType { name = typeName(typ) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/proginfo.go
// special characters. func ProgramInfo(info *debug.BuildInfo) (goVers, progPath, progVers string) { goVers = info.GoVersion if strings.Contains(goVers, "devel") || strings.Contains(goVers, "-") { goVers = "devel" } progPath = info.Path if progPath == "" { progPath = strings.TrimSuffix(filepath.Base(os.Args[0]), ".exe") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:09:33 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go
// string constants or anything else (this might // not even be a Go program). So stop. break } } } func (check *checker) comment(pos token.Pos, line string) { if !strings.HasPrefix(line, "//go:") { return } // testing hack: stop at // ERROR if i := strings.Index(line, " // ERROR "); i >= 0 { line = line[:i] } verb := line
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.4K bytes - Viewed (0) -
src/runtime/traceback_system_test.go
// there is no possibility of strings from the crash report (which may // contain PII) leaking into the telemetry system. // // (Copied from golang.org/x/telemetry/crashmonitor.parseStackPCs.) func parseStackPCs(crash string) ([]uintptr, error) { // getPC parses the PC out of a line of the form: // \tFILE:LINE +0xRELPC sp=... fp=... pc=... getPC := func(line string) (uint64, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/fix/main.go
os.Exit(exitCode) } sort.Sort(byDate(fixes)) if *allowedRewrites != "" { allowed = make(map[string]bool) for _, f := range strings.Split(*allowedRewrites, ",") { allowed[f] = true } } if *forceRewrites != "" { force = make(map[string]bool) for _, f := range strings.Split(*forceRewrites, ",") { force[f] = true } } if flag.NArg() == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.4K bytes - Viewed (0) -
src/runtime/coro_test.go
}) } } func checkCoroTestProgOutput(t *testing.T, output string) { t.Helper() c := strings.SplitN(output, "\n", 2) if len(c) == 1 { t.Fatalf("expected at least one complete line in the output, got:\n%s", output) } expect, ok := strings.CutPrefix(c[0], "expect: ") if !ok { t.Fatalf("expected first line of output to start with \"expect: \", got: %q", c[0]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 21:36:37 UTC 2024 - 1.9K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke_test.go
vals[fields[0]] = fields[1] } return vals } func parseVectorEncryptions(vector string) []map[string]string { vals := []map[string]string{} for _, section := range strings.Split(vector, "\n\n") { e := map[string]string{} for _, l := range strings.Split(section, "\n") { fields := strings.Split(l, ": ") e[fields[0]] = fields[1] } vals = append(vals, e) } return vals }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/util/tail/tail_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
pilot/cmd/pilot-agent/options/agent.go
var insecureRegistries []string if wasmInsecureRegistries != "" { insecureRegistries = strings.Split(wasmInsecureRegistries, ",") } o := &istioagent.AgentOptions{ XDSRootCerts: xdsRootCA, CARootCerts: caRootCA, XDSHeaders: map[string]string{}, XdsUdsPath: filepath.Join(cfg.ConfigPath, "XDS"),
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/cmd/compile/internal/syntax/issues_test.go
} for _, src := range tests { // identify column position of @ and remove it from src i := strings.Index(src, "@") if i < 0 { t.Errorf("%s: invalid test case (missing @)", src) continue } src = src[:i] + src[i+1:] want := colbase + uint(i) f, err := Parse(nil, strings.NewReader(src), nil, nil, 0) if err != nil { t.Errorf("%s: %v", src, err) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 17:49:19 UTC 2024 - 1.2K bytes - Viewed (0)