- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 350 for fmtX (0.04 sec)
-
src/math/big/floatexample_test.go
// +Inf +Inf 0 } func ExampleRoundingMode() { operands := []float64{2.6, 2.5, 2.1, -2.1, -2.5, -2.6} fmt.Print(" x") for mode := big.ToNearestEven; mode <= big.ToPositiveInf; mode++ { fmt.Printf(" %s", mode) } fmt.Println() for _, f64 := range operands { fmt.Printf("%4g", f64) for mode := big.ToNearestEven; mode <= big.ToPositiveInf; mode++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
fmt.Println("Remapped", partName, "to", fn) } delete(partDataToVerID, partName) err := os.WriteFile(fn, data, os.ModePerm) if err != nil { fmt.Println("WriteFile:", err) } } } if len(partDataToVerID) > 0 { fmt.Println("MISSING PART FILES:") for k := range partDataToVerID { fmt.Println(k) } fmt.Println("END MISSING PART FILES") } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:49:23 UTC 2024 - 38.5K bytes - Viewed (0) -
pkg/config/validation/validation.go
if k == "" { errs = appendErrors(errs, fmt.Errorf("empty key is not supported in selector: %q", fmt.Sprintf("%s=%s", k, v))) } if strings.Contains(k, "*") || strings.Contains(v, "*") { errs = appendErrors(errs, fmt.Errorf("wildcard is not supported in selector: %q", fmt.Sprintf("%s=%s", k, v))) } } if len(selector.Labels) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K 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) -
pkg/test/framework/components/environment/kube/settings.go
} // String implements fmt.Stringer func (s *Settings) String() string { result := "" result += fmt.Sprintf("Kubeconfigs: %s\n", s.KubeConfig) result += fmt.Sprintf("LoadBalancerSupported: %v\n", s.LoadBalancerSupported) result += fmt.Sprintf("MCSControllerEnabled: %v\n", s.MCSControllerEnabled) result += fmt.Sprintf("ControlPlaneTopology: %v\n", s.controlPlaneTopology)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.3K bytes - Viewed (0) -
security/pkg/pki/util/crypto.go
if cb == nil { return nil, nil, fmt.Errorf("invalid PEM encoded certificate") } cert, err := x509.ParseCertificate(cb.Bytes) if err != nil { return nil, nil, fmt.Errorf("failed to parse X.509 certificate") } certs = append(certs, cert) if len(certBytes) == 0 { break } } if len(certs) == 0 { return nil, nil, fmt.Errorf("no PEM encoded X.509 certificates parsed") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/test/framework/components/cluster/topology.go
buf := &bytes.Buffer{} _, _ = fmt.Fprintf(buf, "Name: %s\n", c.Name()) _, _ = fmt.Fprintf(buf, "StableName: %s\n", c.StableName()) _, _ = fmt.Fprintf(buf, "PrimaryCluster: %s\n", c.Primary().Name()) _, _ = fmt.Fprintf(buf, "ConfigCluster: %s\n", c.Config().Name()) _, _ = fmt.Fprintf(buf, "Network: %s\n", c.NetworkName()) _, _ = fmt.Fprintf(buf, "HTTPProxy: %s\n", c.HTTPProxy())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/wait.go
portScheduler = "10259" } urlFormat := "https://127.0.0.1:%s/healthz" return []controlPlaneComponent{ {name: "kube-apiserver", url: fmt.Sprintf(urlFormat, portAPIServer)}, {name: "kube-controller-manager", url: fmt.Sprintf(urlFormat, portKCM)}, {name: "kube-scheduler", url: fmt.Sprintf(urlFormat, portScheduler)}, } } // WaitForControlPlaneComponents waits for all control plane components to report "ok" on /healthz
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 13.3K bytes - Viewed (0) -
internal/grid/connection.go
var r connectResp err = c.receive(conn, &r) if err != nil { if debugPrint { fmt.Println(c.Local, "receive err:", err, "side:", c.side) } retry(err) continue } if debugPrint { fmt.Println(c.Local, "Got connectResp:", r) } if !r.Accepted { retry(fmt.Errorf("connection rejected: %s", r.RejectedReason)) continue } c.reconnectMu.Lock()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 44.8K bytes - Viewed (0) -
internal/grid/manager.go
defer func() { if debugPrint { fmt.Printf("grid: Handler returning from: %v %v\n", req.Method, req.URL) } if r := recover(); r != nil { debug.PrintStack() err := fmt.Errorf("grid: panic: %v\n", r) gridLogIf(context.Background(), err, err.Error()) w.WriteHeader(http.StatusInternalServerError) } }() if debugPrint { fmt.Printf("grid: Got a %s request for: %v\n", req.Method, req.URL)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 9.8K bytes - Viewed (0)