Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 530 for vfprintf (0.35 sec)

  1. src/internal/coverage/pods/pods.go

    	}
    	slices.SortFunc(pods, func(a, b Pod) int {
    		return strings.Compare(a.MetaFile, b.MetaFile)
    	})
    	return pods
    }
    
    func warning(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "warning: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    	fmt.Fprintf(os.Stderr, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/go/types/format.go

    			}
    			buf.WriteByte(']')
    			arg = buf.String()
    		}
    		args[i] = arg
    	}
    	return fmt.Sprintf(format, args...)
    }
    
    // check may be nil.
    func (check *Checker) sprintf(format string, args ...any) string {
    	var fset *token.FileSet
    	var qf Qualifier
    	if check != nil {
    		fset = check.fset
    		qf = check.qualifier
    	}
    	return sprintf(fset, qf, false, format, args...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/format.go

    		}
    		args[i] = arg
    	}
    	return fmt.Sprintf(format, args...)
    }
    
    // check may be nil.
    func (check *Checker) sprintf(format string, args ...any) string {
    	var qf Qualifier
    	if check != nil {
    		qf = check.qualifier
    	}
    	return sprintf(qf, false, format, args...)
    }
    
    func (check *Checker) trace(pos syntax.Pos, format string, args ...any) {
    	fmt.Printf("%s:\t%s%s\n",
    		pos,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/buildid/buildid.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"log"
    	"os"
    	"strings"
    
    	"cmd/internal/buildid"
    	"cmd/internal/telemetry"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool buildid [-w] file\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    var wflag = flag.Bool("w", false, "write build ID")
    
    func main() {
    	log.SetPrefix("buildid: ")
    	log.SetFlags(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/tool/tool.go

    		if e, ok := err.(*exec.ExitError); !ok || !e.Exited() || cfg.BuildX {
    			fmt.Fprintf(os.Stderr, "go tool %s: %s\n", toolName, err)
    		}
    		base.SetExitStatus(1)
    		return
    	}
    }
    
    // listTools prints a list of the available tools in the tools directory.
    func listTools() {
    	f, err := os.Open(build.ToolDir)
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "go: no tool directory: %s\n", err)
    		base.SetExitStatus(2)
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/base/base.go

    func (c *Command) Name() string {
    	name := c.LongName()
    	if i := strings.LastIndex(name, " "); i >= 0 {
    		name = name[i+1:]
    	}
    	return name
    }
    
    func (c *Command) Usage() {
    	fmt.Fprintf(os.Stderr, "usage: %s\n", c.UsageLine)
    	fmt.Fprintf(os.Stderr, "Run 'go help %s' for details.\n", c.LongName())
    	SetExitStatus(2)
    	Exit()
    }
    
    // Runnable reports whether the command can be run; otherwise
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/runtime/trace_cgo_test.go

    // dumpStack returns e.Stack() as a string.
    func dumpStackV2(e *trace.Event) string {
    	var buf bytes.Buffer
    	e.Stack().Frames(func(f trace.StackFrame) bool {
    		file := strings.TrimPrefix(f.File, runtime.GOROOT())
    		fmt.Fprintf(&buf, "%s\n\t%s:%d\n", f.Func, file, f.Line)
    		return true
    	})
    	return buf.String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. internal/grid/muxserver.go

    	if seq != m.RecvSeq {
    		if debugPrint {
    			fmt.Printf("expected sequence %d, got %d\n", m.RecvSeq, seq)
    		}
    		m.disconnect(fmt.Sprintf("receive sequence number mismatch. want %d, got %d", m.RecvSeq, seq), false)
    		return false
    	}
    	m.RecvSeq++
    	return true
    }
    
    func (m *muxServer) message(msg message) {
    	if debugPrint {
    		fmt.Printf("muxServer: received message %d, length %d\n", msg.Seq, len(msg.Payload))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. pkg/webhooks/validation/server/server.go

    	Mux *http.ServeMux
    }
    
    // String produces a stringified version of the arguments for debugging.
    func (o Options) String() string {
    	buf := &bytes.Buffer{}
    
    	_, _ = fmt.Fprintf(buf, "DomainSuffix: %s\n", o.DomainSuffix)
    	_, _ = fmt.Fprintf(buf, "Port: %d\n", o.Port)
    
    	return buf.String()
    }
    
    // DefaultArgs allocates an Options struct initialized with Webhook's default configuration.
    func DefaultArgs() Options {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 04 06:13:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/cmd/pack/pack.go

    		action(e)
    	}
    }
    
    // listEntry prints to standard output a line describing the entry.
    func listEntry(e *archive.Entry, verbose bool) {
    	if verbose {
    		fmt.Fprintf(stdout, "%s\n", e.String())
    	} else {
    		fmt.Fprintf(stdout, "%s\n", e.Name)
    	}
    }
    
    // output copies the entry to the specified writer.
    func (ar *Archive) output(e *archive.Entry, w io.Writer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top