Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 908 for fmtE (0.04 sec)

  1. 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/ftp-server.go

    	if serverDebugLog {
    		fmt.Printf("%s %s\n", sessionID, message)
    	}
    }
    
    // Printf implement Logger
    func (log *minioLogger) Printf(sessionID string, format string, v ...interface{}) {
    	if serverDebugLog {
    		if sessionID != "" {
    			fmt.Printf("%s %s\n", sessionID, fmt.Sprintf(format, v...))
    		} else {
    			fmt.Printf(format+"\n", v...)
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/internal/types/testdata/check/importdecl0/importdecl0a.go

    type Value /* ERROR "Value already declared through dot-import of package reflect" */ struct{}
    
    var _ = fmt.Println // use "fmt"
    
    func _() {
    	f1.Println() // use "fmt"
    }
    
    func _() {
    	_ = func() {
    		f2.Println() // use "fmt"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/bug/bug.go

    `
    
    func printGoVersion(w io.Writer) {
    	fmt.Fprintf(w, "### What version of Go are you using (`go version`)?\n\n")
    	fmt.Fprintf(w, "<pre>\n")
    	fmt.Fprintf(w, "$ go version\n")
    	fmt.Fprintf(w, "go version %s %s/%s\n", runtime.Version(), runtime.GOOS, runtime.GOARCH)
    	fmt.Fprintf(w, "</pre>\n")
    	fmt.Fprintf(w, "\n")
    }
    
    func printEnvDetails(w io.Writer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. internal/logger/console.go

    	if msg == "" {
    		fmt.Fprintln(Output, args...)
    	} else {
    		fmt.Fprintf(Output, msg, args...)
    	}
    }
    
    type errorMsg struct{}
    
    var errorMessage errorMsg
    
    func (i errorMsg) json(msg string, args ...interface{}) {
    	var message string
    	if msg != "" {
    		message = fmt.Sprintf(msg, args...)
    	} else {
    		message = fmt.Sprint(args...)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/go/doc/comment/testdata_test.go

    func dumpTo(out *bytes.Buffer, indent int, x any) {
    	switch x := x.(type) {
    	default:
    		fmt.Fprintf(out, "?%T", x)
    
    	case *Doc:
    		fmt.Fprintf(out, "Doc")
    		dumpTo(out, indent+1, x.Content)
    		if len(x.Links) > 0 {
    			dumpNL(out, indent+1)
    			fmt.Fprintf(out, "Links")
    			dumpTo(out, indent+2, x.Links)
    		}
    		fmt.Fprintf(out, "\n")
    
    	case []*LinkDef:
    		for _, def := range x {
    			dumpNL(out, indent)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer_test.go

    						reason:   "test reason beta",
    						error:    fmt.Errorf("test error beta"),
    					},
    				},
    			},
    			backend: []result{
    				{
    					decision: authorizer.DecisionAllow,
    					reason:   "test reason alpha",
    					error:    fmt.Errorf("test error alpha"),
    				},
    				{
    					decision: authorizer.DecisionDeny,
    					reason:   "test reason beta",
    					error:    fmt.Errorf("test error beta"),
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    package main
    
    import (
    	"cmp"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"slices"
    	"text/tabwriter"
    
    	"internal/trace/event"
    	"internal/trace/raw"
    )
    
    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0])
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Accepts a trace at stdin.\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. istioctl/pkg/install/k8sversion/version_test.go

    		},
    		{
    			version: versionInvalid1,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid1.GitVersion),
    			isValid: false,
    		},
    		{
    			version: versionInvalid2,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid2.GitVersion),
    			isValid: false,
    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.version), func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 19 02:46:48 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. pkg/url/url.go

    	DocsVersion = fmt.Sprintf("%s%s", "v", baseVersion)
    
    	// DocsURL is a base docs URL for istio.io
    	DocsURL = fmt.Sprintf("%s%s%s", BaseURL, DocsVersion, "/docs/")
    
    	// #####################################
    	// Operations related URLs for istio.io
    	// #####################################
    
    	// OpsURL is a base URL for operations related docs
    	OpsURL = fmt.Sprintf("%s%s", DocsURL, "ops/")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 11:12:37 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top