Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,388 for vfprintf (0.21 sec)

  1. src/cmd/cover/html.go

    	}
    	// Gradient from gray to green.
    	r := 128 - 12*(n-1)
    	g := 128 + 12*(n-1)
    	b := 128 + 3*(n-1)
    	return fmt.Sprintf("rgb(%v, %v, %v)", r, g, b)
    }
    
    // colors generates the CSS rules for coverage colors.
    func colors() template.CSS {
    	var buf strings.Builder
    	for i := 0; i < 11; i++ {
    		fmt.Fprintf(&buf, ".cov%v { color: %v }\n", i, rgb(i))
    	}
    	return template.CSS(buf.String())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  2. src/encoding/gob/decgen.go

    	}
    	var b bytes.Buffer
    	fmt.Fprintf(&b, "// Code generated by go run decgen.go -output %s; DO NOT EDIT.\n", *output)
    	fmt.Fprint(&b, header)
    	printMaps(&b, "Array")
    	fmt.Fprint(&b, "\n")
    	printMaps(&b, "Slice")
    	for _, t := range types {
    		fmt.Fprintf(&b, arrayHelper, t.lower, t.upper)
    		fmt.Fprintf(&b, sliceHelper, t.lower, t.upper, t.decoder)
    	}
    	fmt.Fprintf(&b, trailer)
    	source, err := format.Source(b.Bytes())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:15:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. build/pause/windows/pause.c

    	switch (fdwCtrlType)
    	{
    	case CTRL_C_EVENT:
    		fprintf(stderr, "Shutting down, got signal\n");
    		exit(0);
    
    	case CTRL_BREAK_EVENT:
    		fprintf(stderr, "Shutting down, got signal\n");
    		exit(0);
    
    	default:
    		return FALSE;
    	}
    }
    
    int main(int argc, char **argv)
    {
    	int i;
    	for (i = 1; i < argc; ++i)
    	{
    		if (!_stricmp(argv[i], "-v"))
    		{
    			fprintf(stdout, "pause.c %s\n", VERSION_STRING(VERSION));
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 13:09:17 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0])
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Accepts a trace at stdin.\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "Supported modes:")
    		fmt.Fprintf(flag.CommandLine.Output(), "\n")
    		fmt.Fprintf(flag.CommandLine.Output(), "* size  - dumps size stats\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/runtime/wincallback.go

    `)
    	for i := 0; i < maxCallback; i++ {
    		fmt.Fprintf(&buf, "\tMOVD\t$%d, R12\n", i)
    		buf.WriteString("\tB\truntime·callbackasm1(SB)\n")
    	}
    
    	err := os.WriteFile("zcallback_windows_arm64.s", buf.Bytes(), 0666)
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "wincallback: %s\n", err)
    		os.Exit(2)
    	}
    }
    
    func gengo() {
    	var buf bytes.Buffer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 24 19:29:51 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/godefs.go

    )
    
    // godefs returns the output for -godefs mode.
    func (p *Package) godefs(f *File, args []string) string {
    	var buf strings.Builder
    
    	fmt.Fprintf(&buf, "// Code generated by cmd/cgo -godefs; DO NOT EDIT.\n")
    	fmt.Fprintf(&buf, "// %s %s\n", filepath.Base(args[0]), strings.Join(args[1:], " "))
    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/print.go

    func (p stringFuncPrinter) header(f *Func) {
    	fmt.Fprint(p.w, f.Name)
    	fmt.Fprint(p.w, " ")
    	fmt.Fprintln(p.w, f.Type)
    }
    
    func (p stringFuncPrinter) startBlock(b *Block, reachable bool) {
    	if !p.printDead && !reachable {
    		return
    	}
    	fmt.Fprintf(p.w, "  b%d:", b.ID)
    	if len(b.Preds) > 0 {
    		io.WriteString(p.w, " <-")
    		for _, e := range b.Preds {
    			pred := e.b
    			fmt.Fprintf(p.w, " b%d", pred.ID)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. src/cmd/dist/buildgo.go

    	} else {
    		clang, gcc := "clang", "gcc"
    		if strings.HasSuffix(name, "CXX") {
    			clang, gcc = "clang++", "g++"
    		}
    		fmt.Fprintf(&buf, "\tswitch goos {\n")
    		fmt.Fprintf(&buf, "\tcase ")
    		for i, os := range clangos {
    			if i > 0 {
    				fmt.Fprintf(&buf, ", ")
    			}
    			fmt.Fprintf(&buf, "%s", quote(os))
    		}
    		fmt.Fprintf(&buf, ":\n")
    		fmt.Fprintf(&buf, "\t\treturn %s\n", quote(clang))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 20:44:00 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/syscall/exec_windows_test.go

    		// in child process
    		dumpPath := os.Getenv("GO_WANT_HELPER_PROCESS_FILE")
    		if dumpPath == "" {
    			fmt.Fprintf(os.Stderr, "Dump file path cannot be blank.")
    			os.Exit(1)
    		}
    		err := os.WriteFile(dumpPath, []byte(fmt.Sprintf("%d", os.Getppid())), 0644)
    		if err != nil {
    			fmt.Fprintf(os.Stderr, "Error writing dump file: %v", err)
    			os.Exit(2)
    		}
    		os.Exit(0)
    	}
    
    	// run parent process
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. cmd/ftp-server.go

    	if serverDebugLog {
    		fmt.Printf("%s %s\n", sessionID, message)
    	}
    }
    
    // Printf implement Logger
    func (log *minioLogger) Printf(sessionID string, format string, v ...interface{}) {
    	if serverDebugLog {
    		if sessionID != "" {
    			fmt.Printf("%s %s\n", sessionID, fmt.Sprintf(format, v...))
    		} else {
    			fmt.Printf(format+"\n", v...)
    		}
    	}
    }
    
    // PrintCommand implement Logger
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top