Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,586 for vfprintf (0.34 sec)

  1. 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)
  2. src/internal/trace/testdata/mktests.go

    		skip, err := ctx.register(name)
    		if err != nil {
    			return err
    		}
    		if skip {
    			continue
    		}
    
    		fmt.Fprintf(os.Stderr, "generating %s... ", name)
    
    		// Get the test path.
    		testPath := filepath.Join(genroot, fmt.Sprintf("%s.test", name))
    
    		// Run generator.
    		cmd := exec.Command("go", "run", path, testPath)
    		if out, err := cmd.CombinedOutput(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. internal/logger/target/testlogger/testlogger.go

    		case errorMessage:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stderr, format+"\n", args...)
    			}
    		case fatalMessage:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stderr, format+"\n", args...)
    			}
    			defer os.Exit(1)
    		default:
    			logf = func(format string, args ...any) {
    				fmt.Fprintf(os.Stdout, format+"\n", args...)
    			}
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. 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)
  5. src/go/types/errors.go

    func (err *error_) msg() string {
    	if err.empty() {
    		return "no error"
    	}
    
    	var buf strings.Builder
    	for i := range err.desc {
    		p := &err.desc[i]
    		if i > 0 {
    			fmt.Fprint(&buf, "\n\t")
    			if p.posn.Pos().IsValid() {
    				fmt.Fprintf(&buf, "%s: ", err.check.fset.Position(p.posn.Pos()))
    			}
    		}
    		buf.WriteString(p.msg)
    	}
    	return buf.String()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/math/rand/v2/regress_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var buf bytes.Buffer
    	fmt.Fprintf(&buf, "\t// Output:\n")
    	for _, line := range strings.Split(string(out), "\n") {
    		if line != "" {
    			fmt.Fprintf(&buf, "\t// %s\n", line)
    		}
    	}
    
    	replace(t, "example_test.go", buf.Bytes())
    
    	// Exit so that Example_rand cannot fail.
    	fmt.Printf("UPDATED; ignore non-zero exit status\n")
    	os.Exit(1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. istioctl/pkg/checkinject/checkinject.go

    		if nsMatched && podMatched {
    			if nsLabel != "" && podLabel != "" {
    				return fmt.Sprintf("Namespace label %s matches, and pod label %s matches", nsLabel, podLabel), true
    			} else if nsLabel != "" {
    				outMsg := fmt.Sprintf("Namespace label %s matches", nsLabel)
    				if strings.Contains(nsLabel, "kubernetes.io/metadata.name") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    	var buf bytes.Buffer
    	for _, b := range g.Blocks {
    		fmt.Fprintf(&buf, ".%d: # %s\n", b.Index, b.comment(fset))
    		for _, n := range b.Nodes {
    			fmt.Fprintf(&buf, "\t%s\n", formatNode(fset, n))
    		}
    		if len(b.Succs) > 0 {
    			fmt.Fprintf(&buf, "\tsuccs:")
    			for _, succ := range b.Succs {
    				fmt.Fprintf(&buf, " %d", succ.Index)
    			}
    			buf.WriteByte('\n')
    		}
    		buf.WriteByte('\n')
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/cmd/covdata/tool_test.go

    	if !*preserveTmp {
    		defer os.RemoveAll(topTmpdir)
    	} else {
    		fmt.Fprintf(os.Stderr, "debug: preserving tmpdir %s\n", topTmpdir)
    	}
    	os.Setenv("CMDCOVDATA_TEST_RUN_MAIN", "true")
    	os.Exit(m.Run())
    }
    
    var tdmu sync.Mutex
    var tdcount int
    
    func tempDir(t *testing.T) string {
    	tdmu.Lock()
    	dir := filepath.Join(testTempDir, fmt.Sprintf("%03d", tdcount))
    	tdcount++
    	if err := os.Mkdir(dir, 0777); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top