Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,834 for _printf (0.19 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateMixedSameBaseNamesTestApp.groovy

            movl    \$0, %eax
            movl    %eax, -4(%ebp)
            movl    -4(%ebp), %eax
            movl    \$LC0, (%esp)
            call    ${(OperatingSystem.current().isMacOsX() || OperatingSystem.current().isWindows()) ? '_printf' : 'printf'}
            movl    \$0, %eax
            leave
            ret
            """
            }
        }
    
        @Override
        public List<SourceFile> getHeaderFiles() {
            [sourceFile("headers", "hello.h", """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    // to learn whether a function behaves like fmt.Print or fmt.Printf.
    type Result struct {
    	funcs map[*types.Func]Kind
    }
    
    // Kind reports whether fn behaves like fmt.Print or fmt.Printf.
    func (r *Result) Kind(fn *types.Func) Kind {
    	_, ok := isPrint[fn.FullName()]
    	if !ok {
    		// Next look up just "printf", for use with -printf.funcs.
    		_, ok = isPrint[strings.ToLower(fn.Name())]
    	}
    	if ok {
    		if strings.HasSuffix(fn.Name(), "f") {
    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/vet/testdata/print/print.go

    	fmt.Printf("%v", &stringerv)
    	fmt.Printf("%T", &stringerv)
    	fmt.Printf("%s", &embeddedStringerv)
    	fmt.Printf("%v", &embeddedStringerv)
    	fmt.Printf("%T", &embeddedStringerv)
    	fmt.Printf("%v", notstringerv)
    	fmt.Printf("%T", notstringerv)
    	fmt.Printf("%q", stringerarrayv)
    	fmt.Printf("%v", stringerarrayv)
    	fmt.Printf("%s", stringerarrayv)
    	fmt.Printf("%v", notstringerarrayv)
    	fmt.Printf("%T", notstringerarrayv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    }
    
    // newline ends the current line, flushing end-of-line comments.
    func (p *printer) newline() {
    	if len(p.comment) > 0 {
    		p.printf(" ")
    		for i, com := range p.comment {
    			if i > 0 {
    				p.trim()
    				p.printf("\n")
    				for i := 0; i < p.margin; i++ {
    					p.printf("\t")
    				}
    			}
    			p.printf("%s", strings.TrimSpace(com.Token))
    		}
    		p.comment = p.comment[:0]
    	}
    
    	p.trim()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. src/go/ast/print.go

    		}
    
    	case reflect.Array:
    		p.printf("%s {", x.Type())
    		if x.Len() > 0 {
    			p.indent++
    			p.printf("\n")
    			for i, n := 0, x.Len(); i < n; i++ {
    				p.printf("%d: ", i)
    				p.print(x.Index(i))
    				p.printf("\n")
    			}
    			p.indent--
    		}
    		p.printf("}")
    
    	case reflect.Slice:
    		if s, ok := x.Interface().([]byte); ok {
    			p.printf("%#q", s)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/print.go

    		linenumber = fmt.Sprintf("(%s%d) ", pfx, p.Line())
    	}
    	return linenumber
    }
    
    func (p stringFuncPrinter) value(v *Value, live bool) {
    	if !p.printDead && !live {
    		return
    	}
    	fmt.Fprintf(p.w, "    %s", StmtString(v.Pos))
    	fmt.Fprint(p.w, v.LongString())
    	if !live {
    		fmt.Fprint(p.w, " DEAD")
    	}
    	fmt.Fprintln(p.w)
    }
    
    func (p stringFuncPrinter) startDepCycle() {
    	fmt.Fprintln(p.w, "dependency cycle!")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. test/rotate.go

    func gentest(b *bufio.Writer, bits uint, unsigned, inverted bool) {
    	fmt.Fprintf(b, "func init() {\n")
    	defer fmt.Fprintf(b, "}\n")
    	n := 0
    
    	// Generate tests for left/right and right/left.
    	for l := uint(0); l <= bits; l++ {
    		for r := uint(0); r <= bits; r++ {
    			for o, op := range cop {
    				typ := fmt.Sprintf("int%d", bits)
    				v := fmt.Sprintf("i%d", bits)
    				if unsigned {
    					typ = "u" + typ
    					v = "u" + v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  8. src/fmt/print.go

    // It returns the number of bytes written and any write error encountered.
    func Printf(format string, a ...any) (n int, err error) {
    	return Fprintf(os.Stdout, format, a...)
    }
    
    // Sprintf formats according to a format specifier and returns the resulting string.
    func Sprintf(format string, a ...any) string {
    	p := newPrinter()
    	p.doPrintf(format, a)
    	s := string(p.buf)
    	p.free()
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/build/relnote/dump.go

    		switch in := in.(type) {
    		case *md.Plain:
    			dprintf(depth, "Plain(%q)\n", in.Text)
    		case *md.Code:
    			dprintf(depth, "Code(%q)\n", in.Text)
    		case *md.Link:
    			dprintf(depth, "Link:\n")
    			dumpInlines(in.Inner, depth+1)
    			dprintf(depth+1, "URL: %q\n", in.URL)
    		case *md.Strong:
    			dprintf(depth, "Strong(%q):\n", in.Marker)
    			dumpInlines(in.Inner, depth+1)
    		case *md.Emph:
    			dprintf(depth, "Emph(%q):\n", in.Marker)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. 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)
Back to top