- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 2,159 for fprint (0.15 sec)
-
src/net/http/pprof/pprof.go
if pc != 0 { f := runtime.FuncForPC(uintptr(pc)) if f != nil { fmt.Fprintf(&buf, "%#x %s\n", pc, f.Name()) } } // Wait until here to check for err; the last // symbol will have an err because it doesn't end in +. if err != nil { if err != io.EOF { fmt.Fprintf(&buf, "reading request: %v\n", err) } break } } w.Write(buf.Bytes()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 17:34:05 UTC 2024 - 14.1K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
if len(result.SkippedAnalyzers) > 0 { fmt.Fprintln(cmd.ErrOrStderr(), "Skipped analyzers:") for _, a := range result.SkippedAnalyzers { fmt.Fprintln(cmd.ErrOrStderr(), "\t", a) } } if len(result.ExecutedAnalyzers) > 0 { fmt.Fprintln(cmd.ErrOrStderr(), "Executed analyzers:") for _, a := range result.ExecutedAnalyzers { fmt.Fprintln(cmd.ErrOrStderr(), "\t", a) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 17K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go
return } title := labels[0] fmt.Fprintf(b, `subgraph cluster_L { "%s" [shape=box fontsize=16`, escapeForDot(title)) fmt.Fprintf(b, ` label="%s\l"`, strings.Join(escapeAllForDot(labels), `\l`)) if b.config.LegendURL != "" { fmt.Fprintf(b, ` URL="%s" target="_blank"`, b.config.LegendURL) } if b.config.Title != "" { fmt.Fprintf(b, ` tooltip="%s"`, b.config.Title) } fmt.Fprintf(b, "] }\n") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 20:51:42 UTC 2022 - 14.8K bytes - Viewed (0) -
pkg/probe/http/http_test.go
os.Unsetenv(key) } } func TestHTTPProbeProxy(t *testing.T) { res := "welcome to http probe proxy" server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, res) })) defer server.Close() localProxy := server.URL t.Setenv("http_proxy", localProxy) t.Setenv("HTTP_PROXY", localProxy) unsetEnv(t, "no_proxy") unsetEnv(t, "NO_PROXY")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:40:08 UTC 2023 - 15.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/transport_test.go
} // Send response. if item.redirect != "" { http.Redirect(w, r, item.redirect, http.StatusMovedPermanently) return } w.Header().Set("Content-Type", item.contentType) fmt.Fprint(w, item.input) })) defer server.Close() // Replace source URL with our test server address. sourceURL := parseURLOrDie(item.sourceURL) serverURL := parseURLOrDie(server.URL)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 13.8K 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) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
// to learn whether a function behaves like fmt.Print or fmt.Printf. type Result struct { funcs map[*types.Func]Kind } // Kind reports whether fn behaves like fmt.Print or fmt.Printf. func (r *Result) Kind(fn *types.Func) Kind { _, ok := isPrint[fn.FullName()] if !ok { // Next look up just "printf", for use with -printf.funcs. _, ok = isPrint[strings.ToLower(fn.Name())] } if ok { if strings.HasSuffix(fn.Name(), "f") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/lookup.go
return buf[i] >= val }) if r := fromM49[int(m49Index[idx])+i]; r&^regionMask == val { return Region(r & regionMask), nil } } var e ValueError fmt.Fprint(bytes.NewBuffer([]byte(e.v[:])), n) return 0, e } // normRegion returns a region if r is deprecated or 0 otherwise. // TODO: consider supporting BYS (-> BLR), CSK (-> 200 or CZ), PHI (-> PHL) and AFI (-> DJ).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 12.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go
// Write the request headers if _, err := fmt.Fprint(conn, "POST / HTTP/1.1\r\n"); err != nil { t.Fatalf("%s unexpected error %v", k, err) } for header, values := range item.reqHeaders { for _, value := range values { if _, err := fmt.Fprintf(conn, "%s: %s\r\n", header, value); err != nil { t.Fatalf("%s: unexpected error %v", k, err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 10 07:29:34 UTC 2023 - 39.4K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
// convert the json output to yaml case yamlOutput: var out []byte if out, err = yaml.JSONToYAML([]byte(stats)); err != nil { return err } _, _ = fmt.Fprint(c.OutOrStdout(), string(out)) default: _, _ = fmt.Fprint(c.OutOrStdout(), stats) } return nil }, ValidArgsFunction: completion.ValidPodsNameArgs(ctx), }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 03:28:36 UTC 2024 - 48K bytes - Viewed (0)