Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,342 for vfprintf (0.37 sec)

  1. src/runtime/cgo/gcc_fatalf.c

    #include <stdarg.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include "libcgo.h"
    
    void
    fatalf(const char* format, ...)
    {
    	va_list ap;
    
    	fprintf(stderr, "runtime/cgo: ");
    	va_start(ap, format);
    	vfprintf(stderr, format, ap);
    	va_end(ap);
    	fprintf(stderr, "\n");
    	abort();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 14:57:16 UTC 2023
    - 526 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    // example, fmt.Printf forwards to fmt.Fprintf. We avoid relying on the
    // driver applying analyzers to standard packages because "go vet" does
    // not do so with gccgo, and nor do some other build systems.
    var isPrint = stringSet{
    	"fmt.Appendf":  true,
    	"fmt.Append":   true,
    	"fmt.Appendln": true,
    	"fmt.Errorf":   true,
    	"fmt.Fprint":   true,
    	"fmt.Fprintf":  true,
    	"fmt.Fprintln": true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/gen/arithConstGen.go

    	case "int16":
    		ans = int64(int16(ans))
    	case "int8":
    		ans = int64(int8(ans))
    	}
    	return fmt.Sprintf("%d", ans)
    }
    
    func main() {
    	w := new(bytes.Buffer)
    	fmt.Fprintf(w, "// Code generated by gen/arithConstGen.go. DO NOT EDIT.\n\n")
    	fmt.Fprintf(w, "package main;\n")
    	fmt.Fprintf(w, "import \"testing\"\n")
    
    	fncCnst1 := template.Must(template.New("fnc").Parse(
    		`//go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  4. src/math/bits/make_examples.go

    				} else {
    					fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d))\n", size, f, e.in)
    				}
    				fmt.Fprintf(w, "\t// Output:\n")
    				fmt.Fprintf(w, "\t// %0*b\n", size, e.in)
    				fmt.Fprintf(w, "\t// %0*b\n", size, e.out[i])
    				if e.name == "RotateLeft" && e.out2[i] != nil {
    					fmt.Fprintf(w, "\t// %0*b\n", size, e.out2[i])
    				}
    			default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/output/output.go

    func (tp *TextPrinter) PrintObj(obj runtime.Object, writer io.Writer) error {
    	_, err := fmt.Fprintf(writer, "%+v\n", obj)
    	return err
    }
    
    // Fprintf is a wrapper around fmt.Fprintf
    func (tp *TextPrinter) Fprintf(writer io.Writer, format string, args ...interface{}) (n int, err error) {
    	return fmt.Fprintf(writer, format, args...)
    }
    
    // Fprintln is a wrapper around fmt.Fprintln
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. src/cmd/cgo/out.go

    			fmt.Fprintf(fgcc, "(void*)")
    		}
    	}
    	if n.Kind == "macro" {
    		fmt.Fprintf(fgcc, "%s;\n", n.C)
    	} else {
    		fmt.Fprintf(fgcc, "%s(", n.C)
    		for i := range n.FuncType.Params {
    			if i > 0 {
    				fmt.Fprintf(fgcc, ", ")
    			}
    			fmt.Fprintf(fgcc, "p%d", i)
    		}
    		fmt.Fprintf(fgcc, ");\n")
    	}
    	fmt.Fprintf(fgcc, "\t_cgo_tsan_release();\n")
    	if t := n.FuncType.Result; t != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/fmt/fmt_test.go

    	{1, `Sprintf("%g")`, func() { _ = Sprintf("%g", float32(3.14159)) }},
    	{0, `Fprintf(buf, "%s")`, func() { mallocBuf.Reset(); Fprintf(&mallocBuf, "%s", "hello") }},
    	{0, `Fprintf(buf, "%x")`, func() { mallocBuf.Reset(); Fprintf(&mallocBuf, "%x", 7) }},
    	{0, `Fprintf(buf, "%x")`, func() { mallocBuf.Reset(); Fprintf(&mallocBuf, "%x", 1<<16) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go

    func main() {
    	w := new(bytes.Buffer)
    	fmt.Fprintf(w, "// Code generated by gen/arithBoundaryGen.go. DO NOT EDIT.\n\n")
    	fmt.Fprintf(w, "package main;\n")
    	fmt.Fprintf(w, "import \"testing\"\n")
    
    	for _, sz := range []int{64, 32, 16, 8} {
    		fmt.Fprintf(w, "type utd%d struct {\n", sz)
    		fmt.Fprintf(w, "  a,b uint%d\n", sz)
    		fmt.Fprintf(w, "  add,sub,mul,div,mod uint%d\n", sz)
    		fmt.Fprintf(w, "}\n")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. src/os/exec/read3.go

    		}
    
    		if !fdtest.Exists(fd) {
    			continue
    		}
    
    		fmt.Printf("leaked parent file. fdtest.Exists(%d) got true want false\n", fd)
    
    		fdfile := fmt.Sprintf("/proc/self/fd/%d", fd)
    		link, err := os.Readlink(fdfile)
    		fmt.Printf("readlink(%q) = %q, %v\n", fdfile, link, err)
    
    		var args []string
    		switch runtime.GOOS {
    		case "plan9":
    			args = []string{fmt.Sprintf("/proc/%d/fd", os.Getpid())}
    		case "aix", "solaris", "illumos":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 26 14:49:07 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/covdata/dump.go

    		fmt.Fprintf(os.Stderr, "  \tand emits percentage of statements covered\n\n")
    	case funcMode:
    		fmt.Fprintf(os.Stderr, "  go tool covdata func -i=dir1,dir2\n\n")
    		fmt.Fprintf(os.Stderr, "  \treads coverage data files from dir1+dirs2\n")
    		fmt.Fprintf(os.Stderr, "  \tand writes out coverage profile data for\n")
    		fmt.Fprintf(os.Stderr, "  \teach function.\n")
    	case debugDumpMode:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top