- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 362 for Fprintf (0.23 sec)
-
istioctl/pkg/metrics/metrics.go
_, _ = fmt.Fprintf(w, "%40s\tTOTAL RPS\tERROR RPS\tP50 LATENCY\tP90 LATENCY\tP99 LATENCY\t\n", "WORKLOAD") _ = w.Flush() } func printMetrics(writer io.Writer, wm workloadMetrics) { w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight) _, _ = fmt.Fprintf(w, "%40s\t", wm.workload) _, _ = fmt.Fprintf(w, "%.3f\t", wm.totalRPS) _, _ = fmt.Fprintf(w, "%.3f\t", wm.errorRPS)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
if includeConfigType { s.Name = fmt.Sprintf("secret/%s", s.Name) } // If all secrets have a trust domain, we are probably dealing with trust domain federation, so print trust domains. // Otherwise, do not do that, because we do not know how to determine that information from the certificate, // so the output would be confusing. if !hasUnknownTrustDomain { fmt.Fprintf(tw, "%s\t%s\t%s\t%t\t%s\t%s\t%s\t%s\n",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 4.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump.go
sb strings.Builder ) fmt.Fprintf(&sb, "%d.%d.%d", version.GetMajorNumber(), version.GetMinorNumber(), version.GetPatch()) if label, ok := md[buildLabelKey]; ok { fmt.Fprintf(&sb, "-%s", label.GetStringValue()) } if status, ok := md[statusKey]; ok { fmt.Fprintf(&sb, "/%s", status.GetStringValue()) } if typ, ok := md[buildTypeKey]; ok { fmt.Fprintf(&sb, "/%s", typ.GetStringValue()) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 29 20:46:41 UTC 2024 - 7.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
} for _, route := range routes { if filter.Verify(route) { if includeConfigType { route.Name = fmt.Sprintf("route/%s", route.Name) } if filter.Verbose { for _, vhosts := range route.GetVirtualHosts() { for _, r := range vhosts.Routes { if !isPassthrough(r.GetAction()) { fmt.Fprintf(w, "%v\t%s\t%s\t%s\t%s\n", route.Name, vhosts.Name, describeRouteDomains(vhosts.GetDomains()),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 08 20:44:50 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/addr2line/main.go
"strconv" "strings" "cmd/internal/objfile" "cmd/internal/telemetry/counter" ) func printUsage(w *os.File) { fmt.Fprintf(w, "usage: addr2line binary\n") fmt.Fprintf(w, "reads addresses from standard input and writes two lines for each:\n") fmt.Fprintf(w, "\tfunction name\n") fmt.Fprintf(w, "\tfile:line\n") } func usage() { printUsage(os.Stderr) os.Exit(2) } func main() { log.SetFlags(0)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 2.4K bytes - Viewed (0) -
internal/logger/console.go
if len(line) == 0 { // No more text to print, just quit. break } for { // Save the attributes of the current cursor helps // us save the text color of the passed error message ansiSaveAttributes() // Print banner with or without the log tag if !tagPrinted { fmt.Fprint(Output, logBanner) tagPrinted = true } else { fmt.Fprint(Output, emptyBanner) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/c/c_test.c
TF_NewWritableFile(full_path, &h, status); if (TF_GetCode(status) != TF_OK) { fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status)); return 1; } fprintf(stderr, "wrote %s\n", full_path); free(full_path); TF_CloseWritableFile(h, status); if (TF_GetCode(status) != TF_OK) { fprintf(stderr, "TF_CloseWritableFile failed: %s\n", TF_Message(status)); } TF_StringStreamDone(s);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Apr 24 20:50:35 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/asm/internal/flags/flags.go
type MultiFlag []string func (m *MultiFlag) String() string { if len(*m) == 0 { return "" } return fmt.Sprint(*m) } func (m *MultiFlag) Set(val string) error { (*m) = append(*m, val) return nil } func Usage() { fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n") fmt.Fprintf(os.Stderr, "Flags:\n") flag.PrintDefaults() os.Exit(2) } func Parse() { objabi.Flagparse(Usage)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 22 19:18:23 UTC 2023 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
if subset == "" { subset = "-" } if includeConfigType { c.Name = fmt.Sprintf("cluster/%s", c.Name) _, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%s\t%s\n", c.Name, fqdn, port, subset, direction, c.GetType(), describeManagement(c.GetMetadata())) } else { _, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%s\t%s\n", fqdn, port, subset, direction, c.GetType(), describeManagement(c.GetMetadata()))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu May 11 05:38:17 UTC 2023 - 5.9K bytes - Viewed (0) -
istioctl/pkg/writer/compare/route.go
if err != nil { loc, _ = time.LoadLocation("UTC") } lastUpdatedStr = fmt.Sprintf(" (RDS last loaded at %s)", lastUpdated.In(loc).Format(time.RFC1123)) } if text != "" { fmt.Fprintf(c.w, "Routes Don't Match%s\n", lastUpdatedStr) fmt.Fprintln(c.w, text) } else { fmt.Fprintf(c.w, "Routes Match%s\n", lastUpdatedStr) } return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 2.3K bytes - Viewed (0)