Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 362 for vfprintf (0.14 sec)

  1. src/cmd/internal/obj/util.go

    			fmt.Fprintf(w, "$%d", a.Offset)
    		} else {
    			fmt.Fprintf(w, "$%d-%d", a.Offset, a.Val.(int32))
    		}
    
    	case TYPE_FCONST:
    		str := fmt.Sprintf("%.17g", a.Val.(float64))
    		// Make sure 1 prints as 1.0
    		if !strings.ContainsAny(str, ".e") {
    			str += ".0"
    		}
    		fmt.Fprintf(w, "$(%s)", str)
    
    	case TYPE_SCONST:
    		fmt.Fprintf(w, "$%q", a.Val.(string))
    
    	case TYPE_ADDR:
    		io.WriteString(w, "$")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		if err != nil {
    			return err
    		}
    
    		ns := annotateAssembly(insts, sns, s.file)
    
    		fmt.Fprintf(w, "ROUTINE ======================== %s\n", s.sym.Name[0])
    		for _, name := range s.sym.Name[1:] {
    			fmt.Fprintf(w, "    AKA ======================== %s\n", name)
    		}
    		fmt.Fprintf(w, "%10s %10s (flat, cum) %s of Total\n",
    			rpt.formatValue(flatSum), rpt.formatValue(cumSum),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. src/cmd/trace/main.go

    		divisor = 1 << 10
    	case b < 1<<30:
    		suffix = "MiB"
    		divisor = 1 << 20
    	case b < 1<<40:
    		suffix = "GiB"
    		divisor = 1 << 30
    	}
    	if divisor == 1 {
    		return fmt.Sprintf("%d %s", b, suffix)
    	}
    	return fmt.Sprintf("%.1f %s", float64(b)/float64(divisor), suffix)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/cover/cover.go

    	// Declare the coverage struct as a package-level variable.
    	fmt.Fprintf(w, "\nvar %s = struct {\n", *varVar)
    	fmt.Fprintf(w, "\tCount     [%d]uint32\n", len(f.blocks))
    	fmt.Fprintf(w, "\tPos       [3 * %d]uint32\n", len(f.blocks))
    	fmt.Fprintf(w, "\tNumStmt   [%d]uint16\n", len(f.blocks))
    	fmt.Fprintf(w, "} {\n")
    
    	// Initialize the position array field.
    	fmt.Fprintf(w, "\tPos: [3 * %d]uint32{\n", len(f.blocks))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. 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)
  8. cmd/erasure-metadata.go

    				fmt.Fprintf(h, "%v", meta.Erasure.Distribution)
    			}
    
    			if meta.IsRemote() {
    				// ILM transition fields
    				fmt.Fprint(h, meta.TransitionStatus)
    				fmt.Fprint(h, meta.TransitionTier)
    				fmt.Fprint(h, meta.TransitionedObjName)
    				fmt.Fprint(h, meta.TransitionVersionID)
    			}
    
    			// If metadata says encrypted, ask for it in quorum.
    			if etyp, ok := crypto.IsEncrypted(meta.Metadata); ok {
    				fmt.Fprint(h, etyp)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    				// they should have explicit permission to the detailed checks.
    				fmt.Fprintf(&individualCheckOutput, "[-]%s failed: reason withheld\n", check.Name())
    				// but we do want detailed information for our log
    				fmt.Fprintf(&failedVerboseLogOutput, "[-]%s failed: %v\n", check.Name(), err)
    				failedChecks = append(failedChecks, check.Name())
    			} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. src/internal/trace/event.go

    		r := e.Range()
    		fmt.Fprintf(&sb, " Name=%q Scope=%s", r.Name, r.Scope)
    		if kind == EventRangeEnd {
    			fmt.Fprintf(&sb, " Attributes=[")
    			for i, attr := range e.RangeAttributes() {
    				if i != 0 {
    					fmt.Fprintf(&sb, " ")
    				}
    				fmt.Fprintf(&sb, "%q=%s", attr.Name, valueAsString(attr.Value))
    			}
    			fmt.Fprintf(&sb, "]")
    		}
    	case EventTaskBegin, EventTaskEnd:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top