Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,333 for vfprintf (0.16 sec)

  1. src/cmd/compile/internal/test/testdata/gen/constFoldGen.go

    					fmt.Fprintf(w, "\ty = %d\n", d)
    					fmt.Fprintf(w, "\tr = x %s y\n", o.symbol)
    					want := ansS(c, d, s.name, o.symbol)
    					fmt.Fprintf(w, "\tif r != %s {\n", want)
    					fmt.Fprintf(w, "\t\tt.Errorf(\"%d %%s %d = %%d, want %s\", %q, r)\n", c, d, want, o.symbol)
    					fmt.Fprintf(w, "\t}\n")
    				}
    			}
    			fmt.Fprintf(w, "}\n")
    		}
    	}
    
    	// Special signed/unsigned cases for shifts
    	for _, ls := range szs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser_test.go

    	if !bytes.Equal(bytes1, bytes2) {
    		fmt.Printf("--- %s ---\n", filename)
    		fmt.Printf("%s\n", bytes1)
    		fmt.Println()
    
    		fmt.Printf("--- %s ---\n", filename)
    		fmt.Printf("%s\n", bytes2)
    		fmt.Println()
    
    		t.Error("printed syntax trees do not match")
    	}
    }
    
    func TestIssue17697(t *testing.T) {
    	_, err := Parse(nil, bytes.NewReader(nil), nil, nil, 0) // return with parser error, don't panic
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K 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. istioctl/pkg/analyze/analyze.go

    	for _, aName := range analyzerNames {
    		b.WriteString(fmt.Sprintf("* %s:\n", aName))
    		a := nameToAnalyzer[aName]
    		if a.Metadata().Description != "" {
    			b.WriteString(fmt.Sprintf("    %s\n", a.Metadata().Description))
    		}
    	}
    	return b.String()
    }
    
    func analyzeTargetAsString() string {
    	if allNamespaces {
    		return "all namespaces"
    	}
    	return fmt.Sprintf("namespace: %s", selectedNamespace)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/go/testdata/addmod.go

    		if err != nil {
    			log.Printf("%s: %v", arg, err)
    			exitCode = 1
    			continue
    		}
    
    		a := new(txtar.Archive)
    		title := arg
    		if !strings.Contains(arg, "@") {
    			title += "@" + vers
    		}
    		a.Comment = []byte(fmt.Sprintf("module %s\n\n", title))
    		a.Files = []txtar.File{
    			{Name: ".mod", Data: mod},
    			{Name: ".info", Data: info},
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. src/syscall/mkasm.go

    		if !trampolines[fn] {
    			trampolines[fn] = true
    			fmt.Fprintf(&out, "TEXT ยท%s_trampoline(SB),NOSPLIT,$0-0\n", fn)
    			if goos == "openbsd" && arch == "ppc64" {
    				fmt.Fprintf(&out, "\tCALL\t%s(SB)\n", fn)
    				fmt.Fprintf(&out, "\tRET\n")
    			} else {
    				fmt.Fprintf(&out, "\tJMP\t%s(SB)\n", fn)
    			}
    		}
    	}
    	err = os.WriteFile(fmt.Sprintf("zsyscall_%s_%s.s", goos, arch), out.Bytes(), 0644)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. src/net/http/cgi/cgi_main.go

    		panic(err)
    	}
    
    	params := req.Form
    	if params.Get("loc") != "" {
    		fmt.Printf("Location: %s\r\n\r\n", params.Get("loc"))
    		return
    	}
    
    	fmt.Printf("Content-Type: text/html\r\n")
    	fmt.Printf("X-CGI-Pid: %d\r\n", os.Getpid())
    	fmt.Printf("X-Test-Header: X-Test-Value\r\n")
    	fmt.Printf("\r\n")
    
    	if params.Get("writestderr") != "" {
    		fmt.Fprintf(os.Stderr, "Hello, stderr!\n")
    	}
    
    	if params.Get("bigresponse") != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/allocators.go

    		fmt.Fprintf(w, "s = *sp\n")
    		fmt.Fprintf(w, "*sp = nil\n")
    		fmt.Fprintf(w, "c.hdr%s = append(c.hdr%s, sp)\n", a.name, a.name)
    	}
    	fmt.Fprintf(w, "}\n")
    	if a.resize != "" {
    		fmt.Fprintf(w, "s = %s\n", fmt.Sprintf(a.resize, "s", "n"))
    	}
    	fmt.Fprintf(w, "return s\n")
    	fmt.Fprintf(w, "}\n")
    	fmt.Fprintf(w, "func (c *Cache) free%s(s %s) {\n", a.name, a.typ)
    	fmt.Fprintf(w, "%s\n", fmt.Sprintf(a.clear, "s"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    		die("sigaddset");
    	}
    	i = pthread_sigmask(SIG_BLOCK, &mask, NULL);
    	if (i != 0) {
    		fprintf(stderr, "pthread_sigmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		printf("calling kill\n");
    	}
    
    	if (kill(0, SIGIO) < 0) {
    		die("kill");
    	}
    
    	if (verbose) {
    		printf("waiting for sigioSeen\n");
    	}
    
    	// Wait until the signal has been delivered.
    	i = 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top