- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 3,760 for sfprintf (0.23 sec)
-
src/testing/benchmark.go
sub.hasSub.Store(true) } if b.chatty != nil { labelsOnce.Do(func() { fmt.Printf("goos: %s\n", runtime.GOOS) fmt.Printf("goarch: %s\n", runtime.GOARCH) if b.importPath != "" { fmt.Printf("pkg: %s\n", b.importPath) } if cpu := sysinfo.CPUName(); cpu != "" { fmt.Printf("cpu: %s\n", cpu) } }) if !hideStdoutForTesting { if b.chatty.json {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0) -
src/fmt/doc.go
Printf("hi", "guys"): hi%!(EXTRA string=guys) Too few arguments: %!verb(MISSING) Printf("hi%d"): hi%!d(MISSING) Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC) Printf("%*s", 4.5, "hi"): %!(BADWIDTH)hi Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi Invalid or invalid use of argument index: %!(BADINDEX) Printf("%*[2]d", 7): %!d(BADINDEX) Printf("%.[2]d", 7): %!d(BADINDEX)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 14.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm/armasm/inst.go
X += fmt.Sprintf(", %s #%d", m.Shift, m.Count) } } else { X = fmt.Sprintf("#%d", m.Offset) } switch m.Mode { case AddrOffset: if X == "#0" { return fmt.Sprintf("[%s]", R) } return fmt.Sprintf("[%s, %s]", R, X) case AddrPreIndex: return fmt.Sprintf("[%s, %s]!", R, X) case AddrPostIndex: return fmt.Sprintf("[%s], %s", R, X) case AddrLDM:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 22:23:32 UTC 2017 - 7.5K bytes - Viewed (0) -
src/math/rand/v2/regress_test.go
// 32-bit machine cannot print 64-bit results val = "truncated" } else if reflect.TypeOf(out).Kind() == reflect.Slice { val = fmt.Sprintf("%#v", out) } else { val = fmt.Sprintf("%T(%v)", out, out) } fmt.Fprintf(&buf, "\t%s, // %s(%s)\n", val, m.Name, argstr) } else if p >= len(regressGolden) { t.Errorf("r.%s(%s) = %v, missing golden value", m.Name, argstr, out) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:03:11 UTC 2024 - 20.3K bytes - Viewed (0) -
src/net/http/cgi/cgi_main.go
panic(err) } params := req.Form if params.Get("loc") != "" { fmt.Printf("Location: %s\r\n\r\n", params.Get("loc")) return } fmt.Printf("Content-Type: text/html\r\n") fmt.Printf("X-CGI-Pid: %d\r\n", os.Getpid()) fmt.Printf("X-Test-Header: X-Test-Value\r\n") fmt.Printf("\r\n") if params.Get("writestderr") != "" { fmt.Fprintf(os.Stderr, "Hello, stderr!\n") } if params.Get("bigresponse") != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3.1K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
break } if time.Since(startTime) > waitTimeout { errorMsg := fmt.Sprintf("timed out while waiting for waypoint %v/%v", gw.Namespace, gw.Name) if err != nil { errorMsg += fmt.Sprintf(": %s", err) } return fmt.Errorf(errorMsg) } } } fmt.Fprintf(cmd.OutOrStdout(), "waypoint %v/%v applied\n", gw.Namespace, gw.Name)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/c/c_test.c
if (!TF_StringStreamNext(s, &path)) { fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n"); return 1; } char file_name[100]; time_t t = time(NULL); snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t); size_t length = 2 + strlen(path) + strlen(file_name); char* full_path = malloc(length); snprintf(full_path, length, "%s/%s", path, file_name);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:50:35 UTC 2024 - 2.8K bytes - Viewed (0) -
src/go/types/example_test.go
fmt.Printf("InitOrder: %v\n\n", info.InitOrder) // For each named object, print the line and // column of its definition and each of its uses. fmt.Println("Defs and Uses of each named object:") usesByObj := make(map[types.Object][]string) for id, obj := range info.Uses { posn := fset.Position(id.Pos()) lineCol := fmt.Sprintf("%d:%d", posn.Line, posn.Column)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go
var inner bytes.Buffer if len(v.inner) > 0 { fmt.Fprintf(&inner, " containing") for i, vi := range v.inner { if i > 0 && len(v.inner) > 2 { fmt.Fprintf(&inner, ",") } fmt.Fprintf(&inner, " ") if i > 0 && i == len(v.inner)-1 { fmt.Fprintf(&inner, "and ") } fmt.Fprintf(&inner, "%s+%d(FP)", vi.name, vi.off) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 22.8K bytes - Viewed (0) -
internal/color/color.go
} return fmt.Sprintf }() Blue = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgBlue).SprintfFunc() } return fmt.Sprintf }() Yellow = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.FgYellow).SprintfFunc() } return fmt.Sprintf }()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 3.8K bytes - Viewed (0)